< Home

display protocol-vlan interface

Function

The display protocol-vlan interface command displays the protocol-based VLAN configuration on a specified interface or all interfaces.

Format

display protocol-vlan interface { all | interface-type interface-number }

Parameters

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.
  • interface-type specifies the type of an interface.
  • interface-number specifies the number of an interface.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

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.

Example

# 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   
Table 1 Description of the display protocol-vlan interface command output

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.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >