beautypg.com

Network diagram, Configuration procedure – H3C Technologies H3C S3600 Series Switches User Manual

Page 120

background image

2-10

Network diagram

Figure 2-2 Network diagram for protocol-based VLAN configuration

Configuration procedure

# Create VLAN 100 and VLAN 200, and add Ethernet 1/0/11 and Ethernet 1/0/12 to VLAN 100 and

VLAN 200 respectively.

system-view

[Switch] vlan 100

[Switch-vlan100] port Ethernet 1/0/11

[Switch-vlan100] quit

[Switch] vlan 200

[Switch-vlan200] port Ethernet 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

0 ip

1 ethernetii etype 0x0806

VLAN ID: 200

This manual is related to the following products: