Protocol-based vlan configuration, Introduction to protocol-based vlan, Configuring a protocol-based vlan – H3C Technologies H3C WX3000E Series Wireless Switches User Manual
Page 110

101
2.
MAC-based VLAN is usually configured on the downlink ports of access layer devices, and cannot
be configured together with the link aggregation function.
Protocol-based VLAN configuration
Introduction to protocol-based VLAN
You use the protocol-based VLAN feature to assign packets to VLANs by their application type.
The protocol-based VLAN 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
AppleTalk (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, and is uniquely identified by
the combination of a VLAN ID and a protocol index. 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.
Configuring a protocol-based VLAN
Follow these steps to configure a protocol-based VLAN:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter VLAN view
vlan vlan-id
Required
If the specified VLAN does not exist,
this command creates the VLAN first.
Create a protocol template for the
VLAN
protocol-vlan [ protocol-index ]
{ at | ipv4 | ipv6 | ipx
{ ethernetii | llc | raw | snap } |
mode { ethernetii etype etype-id
| llc { dsap dsap-id [ ssap
ssap-id ] | ssap ssap-id } | snap
etype etype-id } }
Required
Exit VLAN view
quit
Required