The display protocol-vlan interface command displays the protocol-based VLAN configuration on a specified interface or all interfaces.
Parameter |
Description |
Value |
---|---|---|
all |
Displays the protocol-based VLANs configured on all interfaces. |
- |
interface-type interface-number |
Displays the protocol-based VLAN configured on a specified interface.
|
- |
Usage Scenario
After associating an interface with a protocol-based VLAN, you can use the display protocol-vlan interface command to verify the configuration.
Precautions
If no protocol-based VLAN is configured by using the protocol-vlan vlan command, the display protocol-vlan interface command displays no information.
# Display the protocol-based VLAN associated with GE0/0/1.
<HUAWEI> display protocol-vlan interface gigabitethernet 0/0/1 ------------------------------------------------------------------------------- Interface VLAN Index Protocol Type Priority ------------------------------------------------------------------------------- GigabitEthernet0/0/1 2 2 ipv4 4
Item |
Description |
---|---|
Interface |
Interface associated with a protocol-based VLAN. To specify the parameter, run the protocol-vlan vlan command. |
VLAN |
ID of a protocol-based VLAN. To specify the parameter, run the protocol-vlan vlan command. |
Index |
Index of a protocol. To specify the parameter, run the protocol-vlan vlan command. |
Protocol Type |
Type of a protocol. To specify the parameter, run the protocol-vlan command. |
Priority |
802.1p priority of the VLAN associated with a protocol. To specify the parameter, run the protocol-vlan command. |