display gvrp local-vlan

Syntax

display gvrp local-vlan interface interface-type interface-number [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

0: Visit level

Parameters

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

|: 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 gvrp local-vlan to display the local VLAN information maintained by GVRP on the specified port.

Examples

# Display the local VLAN information maintained by GVRP on Ethernet 1/0/1.

<Sysname> display gvrp local-vlan interface ethernet 1/0/1
 Following VLANs exist in GVRP local database:
  1(default),2-500