Troubleshooting Ethernet Port Configuration 105
Configuration procedure
n
■ Only the configuration for Switch A is listed below. The configuration for
Switch B is similar to that of Switch A.
■ This example supposes that VLAN 2, VLAN 6 through VLAN 50 and VLAN 100
have been created.
# Enter Ethernet 1/0/1 port view.
<4210> system-view
[4210] interface ethernet1/0/1
# Set Ethernet 1/0/1 as a trunk port.
[4210-Ethernet1/0/1] port link-type trunk
# Allow packets of VLAN 2, VLAN 6 through VLAN 50 and VLAN 100 to pass
Ethernet1/0/1.
[4210-Ethernet1/0/1] port trunk permit vlan 2 6 to 50 100
# Configure the default VLAN ID of Ethernet1/0/1 to 100.
[4210-Ethernet1/0/1] port trunk pvid vlan 100
Troubleshooting
Ethernet Port
Configuration
Symptom: Fail to configure the default VLAN ID of an Ethernet port.
Solution: Take the following steps.
■ Use the display interface or display port command to check if the port is a
trunk port or a hybrid port.
■ If the port is not a trunk or hybrid port, configure it to be a trunk or hybrid
port.
■ Configure the default VLAN ID of the port.