2-8Configuration procedure# Create VLAN 100 and VLAN 200, and add GigabitEthernet 1/0/11 and GigabitEthernet 1/0/12 toVLAN 100 and VLAN 200 respectively. system-view[device] vlan 100[device-vlan100] port GigabitEthernet 1/0/11[device-vlan100] quit[device] vlan 200[device-vlan200] port GigabitEthernet 1/0/12# Configure protocol templates for VLAN 200 and VLAN 100, matching AppleTalk protocol and IPprotocol respectively.[device-vlan200] protocol-vlan at[device-vlan200] quit[device] vlan 100[device-vlan100] protocol-vlan ip# To ensure the normal operation of IP network, you need to configure a user-defined protocol templatefor VLAN 100 to match the ARP protocol (assume Ethernet II encapsulation is adopted here).[device-vlan100] protocol-vlan mode ethernetii etype 0806# Display the created protocol-based VLANs and the protocol templates.[device-vlan100] display protocol-vlan vlan allVLAN ID: 100VLAN Type: Protocol-based VLANProtocol Index Protocol Type0 ip1 ethernetii etype 0x0806VLAN ID: 200VLAN Type: Protocol-based VLANProtocol Index Protocol Type0 at# Configure GigabitEthernet 1/0/10 as a hybrid port, which removes the VLAN tag of the packets ofVLAN 100 and VLAN 200 before forwarding the packets.[device-vlan100] quit[device] interface GigabitEthernet 1/0/10[device-GigabitEthernet1/0/10] port link-type hybrid[device-GigabitEthernet1/0/10] port hybrid vlan 100 200 untagged# Associate GigabitEthernet 1/0/10 with protocol template 0 and 1 of VLAN 100, and protocol template0 of VLAN 200.[device-GigabitEthernet1/0/10] port hybrid protocol-vlan vlan 100 0 to 1[device-GigabitEthernet1/0/10] port hybrid protocol-vlan vlan 200 0# Display the associations between GigabitEthernet 1/0/10 and the VLAN protocol templates to verifyyour configuration.[device-GigabitEthernet1/0/10] display protocol-vlan interface GigabitEthernet 1/0/10Interface:GigabitEthernet1/0/10