Configuration procedure – H3C Technologies H3C WX3000 Series Unified Switches User Manual

Page 89

Advertising
background image

11-8

Figure 11-2

Network diagram for protocol-based VLAN configuration

VLAN 100

IP Server

VLAN 200

Appletalk Server

Work room

GEth1/0/10

GEth1/0/12

GEth1 /0/11

IP Host

Appletalk Host

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.

<device> 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 IP
protocol 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 template
for 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 all

VLAN ID: 100

VLAN Type: Protocol-based VLAN

Protocol Index Protocol Type

0 ip

1 ethernetii etype 0x0806

VLAN ID: 200

VLAN Type: Protocol-based VLAN

Protocol Index Protocol Type

0 at

Advertising