< Home

display protocol-vlan vlan

Function

The display protocol-vlan vlan command displays the types and indexes of the protocols associated with VLANs.

Format

display protocol-vlan vlan { all | vlan-id1 [ to vlan-id2 ] }

Parameters

Parameter

Description

Value

all

Displays the protocols associated with all VLANs.

-

vlan-id1 [ to vlan-id2 ]

Displays the protocols associated with specified VLANs.
  • vlan-id1 specifies the start VLAN ID.
  • vlan-id2 specifies the end VLAN ID.

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.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After configuring protocol-based VLANs, you can use the display protocol-vlan vlan command to verify the configuration.

Example

# Display types and indexes of protocols associated with VLANs.

<HUAWEI> display protocol-vlan vlan all
----------------------------------------------------------------
 VLAN           Protocol Index    Protocol Type
----------------------------------------------------------------
 2              2                 ipv4                              
Table 1 Description of the display protocol-vlan vlan command output

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.

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