141
Description
Use the
display protocol-vlan vlan
command to display the protocols and protocol indexes configured
on the specified VLANs.
Related commands:
display vlan
.
Examples
# Display the protocols and protocol indexes configured on all protocol-based-VLANs.
<Sysname> display protocol-vlan vlan all
VLAN ID:2
Protocol Index Protocol Type
======================================================
0 ipv4
3 ipv6
VLAN ID:3
Protocol Index Protocol Type
======================================================
0 ipv4
1 ipv6
For more information about the output fields, see
.
port hybrid protocol-vlan
Syntax
port hybrid protocol-vlan
vlan
vlan-id
{
protocol-index
[
to
protocol-end
] |
all
}
undo
port hybrid protocol-vlan
{
vlan
vlan-id
{
protocol-index
[
to
protocol-end
] |
all
} |
all
}
View
Ethernet interface view, port group view, Layer 2 aggregate interface view
Default level
2: System level
Parameters
vlan
vlan
-
id
: Specifies a VLAN ID, ranging from 1 to 4094.
protocol-index
: Specifies a protocol index. The value can be specified by the users or assigned by the
system automatically when the protocol-based VLAN is created. You can use the
display protocol-vlan
vlan all
command to display the protocol indexes. The
protocol-end
argument is in the range of 0 to 7.
to
protocol-end
: Specifies the end protocol index. The
protocol-end
argument must be greater than or
equal to the beginning protocol index. The
protocol-end
argument is in the range of 0 to 7.
all
: Specifies all protocols bound to
vlan-id
.
Description
Use the
port hybrid protocol-vlan
command to associate the hybrid ports with a protocol-based VLAN.
Use the
undo
port hybrid protocol-vlan
command to remove the association.
In port group view, this command applies to all ports in the port group. For more information about port
groups, see the
Layer 2—LAN Switching Configuration Guide
.