Configuring Protocol-Based Vlans - H3C S5560S-EI Series Configuration Manual

Layer 2-lan switching configuration guide
Hide thumbs Also See for S5560S-EI Series:
Table of Contents

Advertisement

Configuring protocol-based VLANs

The protocol-based VLAN feature assigns inbound packets to different VLANs based on their
protocol types and encapsulation formats. The protocols available for VLAN assignment include IP,
IPX, and AT. The encapsulation formats include Ethernet II, 802.3 raw, 802.2 LLC, and 802.2 SNAP.
This feature is available only on hybrid ports, and it processes only untagged packets. It associates
the available network service types with VLANs and facilitates network management and
maintenance.
A protocol-based VLAN has one or multiple protocol templates. A protocol template defines a
protocol type and an encapsulation format as the match criteria to match inbound packets. Each
protocol template has a unique index in the protocol-based VLAN. All protocol templates in a
protocol-based VLAN have the same VLAN ID.
For a port to assign inbound packets to protocol-based VLANs, perform the following tasks:
Assign the port to the protocol-based VLANs.
Associate the port with the protocol templates of the protocol-based VLANs.
When an untagged packet arrives at the port, the port processes the packet as follows:
If the protocol type and encapsulation format in the packet match a protocol template, the port
tags the packet with the VLAN tag specific to the protocol template.
If no protocol templates are matched, the port tags the packet with its PVID.
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.
To configure a protocol-based VLAN:
Step
1.
Enter system view.
2.
Enter VLAN view.
3.
Associate the VLAN
with a protocol
template.
4.
Exit VLAN view.
5.
Enter interface view.
6.
Set the port link type to
hybrid.
7.
Assign the hybrid port
to the specified
protocol-based VLANs.
Command
system-view
vlan vlan-id
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 } }
quit
Enter Layer 2 Ethernet interface
view:
interface interface-type
interface-number
Enter Layer 2 aggregate interface
view:
interface bridge-aggregation
interface-number
port link-type hybrid
port hybrid vlan vlan-id-list { tagged |
untagged }
136
Remarks
N/A
N/A
By default, a VLAN is not
associated with a protocol
template.
N/A
N/A
By default, all ports are access
ports.
By default, a hybrid port is an
untagged member of the VLAN
to which the port belongs when
its link type is access.

Advertisement

Table of Contents
loading

Table of Contents