127
•
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
2.
Enter VLAN view.
vlan
vlan-id
N/A
3.
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
} }
By default, no protocol template is
configured for a VLAN.
4.
Exit VLAN view.
quit
N/A
5.
Enter interface view.
•
Enter Layer 2 Ethernet
interface view:
interface interface-type
interface-number
•
Enter Layer 2 aggregate
interface view:
interface
bridge-aggregation
interface-number
N/A
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
protocol-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
protocol-based VLAN.
port hybrid protocol-vlan
vlan
vlan-id
{
protocol-index
[
to
protocol-end
] |
all
}
By default, a port is not associated with
any protocol-based VLANs.
Configuring a VLAN group
A VLAN group includes a set of VLANs.
On an authentication server, a VLAN group name represents a group of authorization VLANs. When
an 802.1X user passes authentication, the authentication server assigns a VLAN group name to the
device. The device then uses the received VLAN group name to match the locally configured VLAN
group names. If a match is found, the device selects a VLAN from the group and assigns the VLAN to
the user. For more information about 802.1X authentication, see
Security Configuration Guide
.
To configure a VLAN group:
Содержание H3C S7500E-X
Страница 70: ...57 ...