display protocol-vlan vlan

Use display protocol-vlan vlan to display information about protocol-based VLANs.

Syntax

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

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

vlan-id1: Specifies a protocol-based VLAN ID in the range of 1 to 4094.

vlan-id1 to vlan-id2: Specifies a protocol-based VLAN ID range. Both the vlan-id1 and the vlan-id2 arguments are in the range of 1 to 4094. The value for the vlan-id2 argument must be equal to or greater than the value for the vlan-id1 argument.

all: Specifies all protocol-based VLANs.

Examples

# Displays information about all protocol-based VLANs.

<Sysname> display protocol-vlan vlan all
 VLAN ID: 2
  Protocol index  Protocol type
  0               IPv4
  65535           IPv6

 VLAN ID: 3
  Protocol index  Protocol type
  0               IPv4
  65535           LLC DSAP 0x11 SSAP 0x22

Table 21: Command output

Field

Description

VLAN ID

ID of the protocol-based VLAN.

Protocol index

Protocol template index.

Protocol type

Protocol type or encapsulation format specified by the protocol template.

Related commands

display protocol-vlan interface

port hybrid protocol-vlan

protocol-vlan