Operation Manual – VLAN
H3C S9500 Series Routing Switches
Chapter 1 VLAN Configuration
1-11
1.5.2 Configuring the Protocol-Based VLAN
Note:
Protocol VLAN is only applicable to a hybrid port belonging to the VLAN to which a
protocol is to be issued.
Follow these steps to configure a protocol-based VLAN:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter VLAN view
vlan
vlan-id
Required
For a nonexistent
VLAN, this command
will create a VLAN and
enter its view.
Configure the protocol
based VLAN and
specify the protocol
template
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
} }
Required
Return to system view
quit
—
Enter
Ethernet
interface
view
interface interface-type
interface-number
Enter
Ethernet
interface
view or port
group view
Enter
port
group
view
port-group
{
manual
port-group-name
|
aggregation
agg-id
}
Use either command.
Under Ethernet
interface view, the
subsequent
configurations only
apply to the current
port; under port group
view, the subsequent
configurations apply to
all ports in the port
group.
Configure the port link
type as hybrid
port link-type
hybrid
Required
Allow specified VLANs
to pass through the
current hybrid port
port hybrid
vlan
vlan-id-list
{
tagged
|
untagged
}
Required
Configure the
association between the
hybrid port and the
protocol-based VLAN
port hybrid protocol-vlan
vlan
vlan-id
{
protocol-index
[
to
protocol-end
] |
all
}
Required