129
Task Command
Remarks
configurations to the aggregate
interface, it stops applying the
configurations to the aggregation
member ports. If the system fails
to apply the configurations to an
aggregation member port, it skips
the port and moves to the next
member port.
6.
Configure the port
link type as hybrid.
port link-type
hybrid
By default, all ports are access ports.
7.
Assign the hybrid
port to the specified
IP subnet-based
VLANs.
port hybrid
vlan
vlan-id-list
{
tagged
|
untagged
}
By default, a hybrid port is an
untagged member of the VLAN to
which the port belongs when its link
type is
access
.
8.
Associate the hybrid
port with the
specified IP
subnet-based
VLAN.
port hybrid ip-subnet-vlan
vlan
vlan-id
By default, no IP subnet-based VLAN
is associated with a hybrid port.
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.
A protocol template defines a protocol type and an encapsulation format. A combination of a
protocol-based VLAN ID and a protocol index uniquely identify a protocol template. You can assign
multiple protocol templates to a protocol-based VLAN.
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 Command
Remarks
1.
Enter system view.
system-view
N/A