Operation Manual – VLAN
H3C S5600 Series Ethernet Switches
Chapter 2 VLAN Configuration
2-11
II. Network diagram
IP Host
GE1/0/10
GE1/0/11
GE1/0/12
Workroom
AppleTalk Host
IP Server
AppleTalk Server
Figure 2-2
Network diagram for protocol-based VLAN configuration
III. Configuration procedure
# Create VLAN 100 and VLAN 200, and add GigabitEthernet 1/0/11 and
GigabitEthernet 1/0/12 to VLAN 100 and VLAN 200 respectively.
<Switch> system-view
[Switch] vlan 100
[Switch-vlan100] port GigabitEthernet 1/0/11
[Switch-vlan100] quit
[Switch] vlan 200
[Switch-vlan200] port GigabitEthernet 1/0/12
# Configure protocol templates for VLAN 200 and VLAN 100, matching AppleTalk
protocol and IP protocol respectively.
[Switch-vlan200] protocol-vlan at
[Switch-vlan200] quit
[Switch] vlan 100
[Switch-vlan100] protocol-vlan ip
# To ensure the normal operation of IP network, you need to configure a user-defined
protocol template for VLAN 100 to match the ARP protocol (assume Ethernet II
encapsulation is adopted here).
[Switch-vlan100] protocol-vlan mode ethernetii etype 0806
# Display the created protocol-based VLANs and the protocol templates.
[Switch-vlan100] display protocol-vlan vlan all
VLAN ID: 100
VLAN Type: Protocol-based VLAN
Protocol Index Protocol Type