Troubleshooting Ethernet Port Configuration 181Network diagramFigure 50 Network diagram for Ethernet port configurationConfiguration proceduren ■ Only the configuration for Switch A is listed below. The configuration forSwitch B is similar to that of Switch A.■ This example supposes that VLAN 2, VLAN 6 through VLAN 50 and VLAN 100have been created.# Enter Ethernet port view of Ethernet2/0/1. system-viewSystem View: return to User View with Ctrl+Z.[SW7750] interface ethernet2/0/1# Set Ethernet2/0/1 as a trunk port.[SW7750-Ethernet2/0/1] port link-type trunk# Allow packets of VLAN 2, VLAN 6 through VLAN 50 and VLAN 100 to passEthernet2/0/1.[SW7750-Ethernet2/0/1] port trunk permit vlan 2 6 to 50 100# Configure the default VLAN ID of Ethernet2/0/1 to 100.[SW7750-Ethernet2/0/1] port trunk pvid vlan 100TroubleshootingEthernet PortConfigurationSymptom: Fail to configure the default VLAN ID of a port.Solution: Take the following steps.■ Use the display interface or display port command to check if the port is atrunk port or a hybrid port. If not, configure it to a trunk port or a hybrid port.■ Configure the default VLAN ID.Eth2/0/1Eth2/0/1Switch A Switch B