The display protocol-vlan vlan command displays the types and indexes of the protocols associated with VLANs.
Parameter |
Description |
Value |
---|---|---|
all |
Displays the protocols associated with all VLANs. |
- |
vlan-id1 [ to vlan-id2 ] |
Displays the protocols associated with specified VLANs.
|
The value of vlan-id1 is an integer that ranges from 1 to 4094. vlan-id2 is an integer that ranges from 1 to 4094. The value of vlan-id2 must be greater than or equal to the value of vlan-id1. |
After configuring protocol-based VLANs, you can use the display protocol-vlan vlan command to verify the configuration.
# Display types and indexes of protocols associated with VLANs.
<HUAWEI> display protocol-vlan vlan all
----------------------------------------------------------------
VLAN Protocol Index Protocol Type
----------------------------------------------------------------
2 2 ipv4
Item |
Description |
---|---|
VLAN |
ID of a protocol-based VLAN. To specify the parameter, run the protocol-vlan command. |
Protocol Index |
Index of a protocol. To specify the parameter, run the protocol-vlan command. |
Protocol Type |
Type of a protocol. To specify the parameter, run the protocol-vlan command. |