•
If not, it drops the packet.
This feature is mainly used to assign packets of the specific service type to a specific VLAN.
Configuring a protocol-based VLAN
Do not configure both the dsap-id and ssap-id parameters in the protocol-vlan command as 0xE0 or 0xFF
when configuring the user-defined template for llc encapsulation. Otherwise, the encapsulation format of
the matching packets is the same as that of the ipx llc or ipx raw packets, respectively. When either of the
dsap-id and ssap-id parameters is configured, the system assigns 0XAA to the other parameter.
When you use the mode parameter to configure a user-defined protocol template, do not set etype-id in
ethernetii etype etype-id to 0x0800, 0x809B, 0x8137, or 0x86DD. Otherwise, the encapsulation format
of the matching packets is the same as that of the IPv4, AppleTalk, IPX, and IPv6 packets, respectively.
A protocol-based VLAN on a hybrid port can process only untagged inbound packets, whereas the voice
VLAN in automatic mode on a hybrid port can process only tagged voice traffic. Do not configure a
VLAN as both a protocol-based VLAN and a voice VLAN. For more information, see the chapter "Voice
VLAN configuration."
To configure a protocol-based VLAN:
To do...
1.
Enter system view
2.
Enter VLAN view
3.
Create a protocol template for
the VLAN
4.
Exit VLAN view
5.
Enter
interface
view or
port group
view
6.
Configure the port link type as
hybrid
7.
Configure hybrid ports to
permit the packets of the
specified protocol-based
VLANs to pass through
Use the 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 Ethernet
interface interface-type
interface view
interface-number
Enter port
port-group manual
group view
port-group-name
port link-type hybrid
port hybrid vlan vlan-id-list
{ tagged | untagged }
Remarks
—
Required.
If the specified VLAN does not exist,
this command creates the VLAN first.
Required.
Required.
Required.
Use any command.
•
•
Required.
Required.
By default, all hybrid ports permit
packets of VLAN 1 to pass through
only.
103
The configuration made in
Ethernet interface view applies
only to the current port.
The configuration made in port
group view applies to all ports in
the port group.