beautypg.com

H3C Technologies H3C S3600 Series Switches User Manual

Page 121

background image

2-11

VLAN Type: Protocol-based VLAN

Protocol Index Protocol Type

0 at

# Configure Ethernet 1/0/10 as a hybrid port, which removes the VLAN tag of the packets of VLAN 100

and VLAN 200 before forwarding the packets.

[Switch-vlan100] quit

[Switch] interface Ethernet 1/0/10

[Switch-Ethernet1/0/10] port link-type hybrid

[Switch-Ethernet1/0/10] port hybrid vlan 100 200 untagged

# Associate Ethernet 1/0/10 with protocol template 0 and 1 of VLAN 100, and protocol template 0 of

VLAN 200.

[Switch-Ethernet1/0/10] port hybrid protocol-vlan vlan 100 0 to 1

[Switch-Ethernet1/0/10] port hybrid protocol-vlan vlan 200 0

# Display the associations between Ethernet 1/0/10 and the VLAN protocol templates to verify your

configuration.

[Switch-Ethernet1/0/10] display protocol-vlan interface Ethernet 1/0/10

Interface:Ethernet1/0/10

VLAN ID Protocol-Index Protocol-Type

100 0 ip

100 1 ethernetii etype 0x0806

200 0 at

The above output information indicates that Ethernet 1/0/10 has already been associated with the

corresponding protocol templates of VLAN 100 and VLAN 200. Thus, packets from the IP and

AppleTalk workstations can be automatically assigned to VLAN 100 and VLAN 200 respectively for

transmission by matching the corresponding protocol templates, so as to realize the normal

communication between workstations and servers.

This manual is related to the following products: