display protocol-vlan interface

Use display protocol-vlan interface to display information about protocol-based VLANs for the specified ports.

Syntax

display protocol-vlan interface { interface-type interface-number1 [ to interface-type interface-number2 ] | all }

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

interface-type interface-number1: Specifies an interface by its type and number.

interface-type interface-number1 to interface-type interface-number2: Specifies an interface range.

all: Displays information about protocol-based VLANs on all ports.

Examples

# Display protocol-based VLAN information on Ten-GigabitEthernet 1/0/1.

<Sysname> display protocol-vlan interface ten-gigabitethernet 1/0/1
 Interface: Ten-GigabitEthernet1/0/1
  VLAN ID  Protocol index  Protocol type             Status
  2        0               IPv6                      Active
  2        1               N/A                       Inactive
  4094     65535           IPv4                      Inactive

Table 46: Command output

Field

Description

VLAN ID

ID of the protocol-based VLAN.

Protocol index

Protocol template index.

Protocol type

Protocol type specified by the protocol template.

If you do not specify the protocol type, this field displays N/A.

Status

Whether the protocol-based VLAN has taken effect:

  • Active—The protocol-based VLAN has taken effect.

  • Inactive—The protocol-based VLAN has not taken effect.

Related commands

display protocol-vlan vlan

port hybrid protocol-vlan

protocol-vlan