Protocol-Based Vlan Configuration; Introduction To Protocol-Based Vlan - H3C S5120-EI Series Operation Manual

Hide thumbs Also See for S5120-EI Series:
Table of Contents

Advertisement

To do...
Enter
Ethernet
Enter
interface view
Ethernet
interface
view or
Enter port
port group
group view
view
Configure the link type of
the port(s) as hybrid
Configure the current
hybrid port(s) to permit
packets of specific
MAC-based VLANs to pass
through
Enable MAC-based VLAN
Configure VLAN matching
precedence

Protocol-Based VLAN Configuration

Introduction to Protocol-Based VLAN

Protocol-based VLANs are only applicable on hybrid ports.
In this approach, inbound packets are assigned to different VLANs based on their protocol types and
encapsulation formats. The protocols that can be used for VLAN assignment include IP, IPX, and
AppleTalk (AT). The encapsulation formats include Ethernet II, 802.3 raw, 802.2 LLC, and 802.2 SNAP.
A protocol-based VLAN is defined by a protocol template comprised of encapsulation format and
protocol type. A port can be associated with multiple protocol templates. An untagged packet reaching a
port associated with protocol-based VLANs will be processed as follows.
If the packet matches a protocol template, the packet will be tagged with the VLAN tag
corresponding to the protocol template.
If the packet matches no protocol template, the packet will be tagged with the default VLAN ID of
the port.
The port processes a tagged packet as it processes tagged packets of a port-based VLAN.
If the port permits the VLAN ID of the packet to pass through, the port forwards the packet.
If the port does not permit the VLAN ID of the packet to pass through, the port drops the packet.
This feature is mainly used to assign packets of the specific service type to a specific VLAN.
Use the command...
interface interface-type
interface-number
port-group manual
port-group-name
port link-type hybrid
port hybrid vlan vlan-id-list
{ tagged | untagged }
mac-vlan enable
vlan precedence { mac-vlan |
ip-subnet-vlan }
1-11
Remarks
Use either command.
In Ethernet interface view, the
subsequent configurations
apply only to the current port;
in port group view, the
subsequent configurations
apply to all ports in the port
group.
Required
Required
By default, a hybrid port only
permits the packets of VLAN 1
to pass through.
Required
Disabled by default
Optional
By default, VLANs are
preferentially matched based
on MAC addresses.

Advertisement

Chapters

Table of Contents
loading

Table of Contents