2-6Network diagramFigure 2-1 Network diagram for VLAN configurationSwitchASwitchBPC1 PC2GE1/0/1GE1/0/2GE1/0/10GE1/0/11GE1/0/12GE1/0/13Server2 Server1Configuration procedurez Configure Switch A.# Create VLAN 100, specify its descriptive string as Dept1, and add GigabitEthernet 1/0/1 to VLAN 100. system-view[SwitchA] vlan 100[SwitchA-vlan100] description Dept1[SwitchA-vlan100] port GigabitEthernet 1/0/1[SwitchA-vlan100] quit# Create VLAN 200, and specify its descriptive string as Dept2.[SwitchA] vlan 200[SwitchA-vlan200] description Dept2[SwitchA-vlan200] quit# Create VLAN-interface 100 and VLAN-interface 200, and assign IP addresses 192.168.1.1 and192.168.2.1 to them respectively. The two VLAN-interfaces are used for forwarding packets from Host 1to Server 2 at Layer 3.[SwitchA] interface Vlan-interface 100[SwitchA-Vlan-interface100] ip address 192.168.1.1 24[SwitchA-Vlan-interface100] quit[SwitchA] interface Vlan-interface 200[SwitchA-Vlan-interface200] ip address 192.168.2.1 24z Configure Switch B.# Create VLAN 100, specify its descriptive string as Dept1, and add GigabitEthernet 1/0/13 to VLAN100. system-view[SwitchB] vlan 100[SwitchB-vlan100] description Dept1[SwitchB-vlan100] port GigabitEthernet 1/0/13[SwitchB-vlan103] quit# Create VLAN 200, specify its descriptive string as Dept2 and add GigabitEthernet 1/0/11 andGigabitEthernet 1/0/12 to VLAN 200.[SwitchB] vlan 200