Configuration guidelines, Configuring protocol-based vlans, Configuration procedure – H3C Technologies H3C WX5500E Series Access Controllers User Manual

Page 138

Advertising
background image

127

Total MAC VLAN address count:2

Configuration guidelines

1.

MAC-based VLAN can be configured only on hybrid ports.

2.

MAC-based VLAN is usually configured on downlink ports of access layer devices, and cannot be
configured together with the link aggregation function.

Configuring protocol-based VLANs

The protocol-based VLAN feature assigns packets to VLANs by their application type. This feature

assigns inbound packets to different VLANs based on their protocol type and encapsulation format. The

protocols available for VLAN assignment include IP, IPX, and AT, and the encapsulation formats include
Ethernet II, 802.3 raw, 802.2 LLC, and 802.2 SNAP.
A protocol template defines a protocol type and an encapsulation format. The combination of a

protocol-based VLAN ID and a protocol index can uniquely identify a protocol template. You can assign

multiple protocol templates to a protocol-based VLAN.
Protocol-based VLAN assignment is available only on hybrid ports, and a protocol template applies only

to untagged packets.
When an untagged packet arrives, a protocol-based VLAN assignment enabled hybrid port processes

the packet by using the following workflow:

If the protocol type and encapsulation format in the packet matches a protocol template, the packet

is tagged with the VLAN tag specific to the protocol template.

If no protocol template is matched, the packet is tagged with the PVID of the port.

The port processes a tagged packet as it processes tagged packets of a port-based VLAN.

If the port is in the same VLAN as the packet, it forwards the packet.

If not, the port drops the packet.

Configuration procedure

CAUTION:

A protocol-based VLAN processes only untagged inbound packets, whereas the voice VLAN in automatic
mode processes only tagged voice traffic. Do not configure a VLAN as both a protocol-based VLAN and

a voice VLAN. For more information, see "

Configuring voice VLANs

."

To configure a protocol-based VLAN:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter VLAN view.

vlan vlan-id

If the specified VLAN does not exist, this
command creates the VLAN first.

Advertising