display protocol-vlan interface

Syntax

display protocol-vlan interface { interface-type interface-number1 [ to interface-type interface-number2 ] | all } [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

2: System level

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.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

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

Examples

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

[Sysname] display protocol-vlan interface ethernet 1/0/1
 Interface: Ethernet1/0/1
   VLAN ID   Protocol Index      Protocol Type
 ======================================================
       2          0               ipv6
       3          0               ipv4

Table 35: Command output

Field

Description

VLAN ID

ID of the protocol-based VLAN bound to the port

Protocol Index

Protocol template index

Protocol Type

Protocol type specified by the protocol template