display protocol-vlan interface

Use display protocol-vlan interface to display protocol-based VLANs that are associated with 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

mdc-admin

mdc-operator

Parameters

interface-type interface-number1 to interface-type interface-number2: Specifies an interface range. Both the interface-type interface-number1 argument and the interface-type interface-number2 argument represent the interface type and interface number. The value for the interface-number2 argument must be greater than or equal to the value for the interface-number1 argument.

all: Specifies 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 20: 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.

This field displays N/A if the protocol type is not specified.

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