Operation Manual – Port Basic ConfigurationH3C S7500 Series Ethernet Switches Chapter 1 Port Basic Configuration1-81.2 Ethernet Port Configuration ExampleI. Network requirementsz Switch A and Switch B are connected to each other through two trunk ports(Ethernet 2/0/1).z Configure the default VLAN ID of both Ethernet 2/0/1 to 100.z Allow the packets of VLAN 2, VLAN 6 through VLAN 50 and VLAN 100 to passboth Ethernet 2/0/1.II. Network diagramEth2/0/1Switch BEth2/0/1Switch AFigure 1-1 Network diagram for Ethernet port configurationIII. Configuration procedureNote:z Only the configuration for Switch A is listed below. The configuration for Switch B issimilar to that of Switch A.z This example supposes that VLAN 2, VLAN 6 through VLAN 50 and VLAN 100 havebeen created.# Enter Ethernet port view of Ethernet 2/0/1. system-viewSystem View: return to User View with Ctrl+Z.[H3C] interface ethernet2/0/1# Set Ethernet 2/0/1 as a trunk port.[H3C-Ethernet2/0/1] port link-type trunk# Allow packets of VLAN 2, VLAN 6 through VLAN 50 and VLAN 100 to pass Ethernet2/0/1.[H3C-Ethernet2/0/1] port trunk permit vlan 2 6 to 50 100# Configure the default VLAN ID of Ethernet 2/0/1 to 100.[H3C-Ethernet2/0/1] port trunk pvid vlan 1001.3 Troubleshooting Ethernet Port ConfigurationSymptom: Fail to configure the default VLAN ID of a port.