![HP 3100 v2 Series Скачать руководство пользователя страница 165](http://html.mh-extra.com/html/hp/3100-v2-series/3100-v2-series_command-reference-manual_165751165.webp)
158
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
Table 36 Command output
Field Description
VLAN ID
ID of the protocol-based VLAN bound to the port
Protocol Index
Protocol template index
Protocol Type
Protocol type specified by the protocol template
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
Layer 2 Ethernet interface view, port group view, Layer 2 aggregate interface view
Default level
2: System level
Parameters
vlan
vlan
-
id
: Specifies a VLAN ID, in the range of 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-index
argument
ranges from 0 to 15.
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 15.
all
: Specifies all protocols bound to
vlan-id
.
Description
Use
port hybrid protocol-vlan
to associate the hybrid ports with a protocol-based VLAN.
Use
undo
port hybrid protocol-vlan
to remove the association.
The configuration made in Layer 2 Ethernet interface view applies only to the port.
The configuration made in port group view applies to all ports in the port group.