42 CHAPTER 2: PORT CONFIGURATION
Example: Configuring the Default VLAN ID of the Trunk Port
In this example, the Ethernet Switch (Switch A) is connected to the peer (Switch B)
through the trunk port Ethernet1/0/1. This example shows the default VLAN ID for
the trunk port and verifies the port trunk pvid vlan command. As a typical
application of the port trunk pvid vlan command, the trunk port will transmit
the packets without tag to the default VLAN.
Figure 13 Configure the Default VLAN for a Trunk Port
The following configurations are used for Switch A, configure Switch B in a similar
way:
1Enter the Ethernet port view of Ethernet1/0/1.
[SW7750]interface ethernet1/0/1
2Set the Ethernet1/0/1 as a trunk port and allow VLAN 2, 6 through 50, and 100 to
pass through.
[SW7750-Ethernet1/0/1]port link-type trunk
[SW7750-Ethernet1/0/1]port trunk permit vlan 2 6 to 50 100
3Create the VLAN 100.
[SW7750]vlan 100
4Configure the default VLAN ID of Ethernet1/0/1 as 100.
[SW7750-Ethernet1/0/1]port trunk pvid vlan 100
Troubleshooting VLAN
Port Configuration
If the default VLAN ID configuration fails, take the following steps:
1Execute the display interface or display port command to check if the port
is a trunk port or a hybrid port. If it is neither of them, configure it as a trunk port
or a hybrid port.
2Configure the default VLAN ID.
Configuring Link Aggregation
Link aggregation means aggregating several ports together to implement the
outgoing/incoming payload balance among the member ports and to enhance
connection reliability.
IEEE802.3ad-based link aggregation control protocol (LACP) implements dynamic
link aggregation and disaggregation and exchanges information with the peer
through LACP data unit (LACPDU). When LACP is enabled on it, the port notifies
the peer, by sending LACPDUs with the port’s system priority, system MAC, port
priority, port number and operation key.
When the peer receives this port information, it compares the received
information with the information stored at other ports to determine which ports
can be aggregated so that the two parties can agree on adding ports to, or
deleting ports from, a dynamic aggregation group.
Switch A Switch B