display gvrp statistics

Syntax

display gvrp statistics [ interface interface-list ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

interface interface-list: Displays the GVRP statistics of one or multiple Ethernet ports.

You can provide up to 10 Ethernet port lists, specified in the following ways:

|: 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 statistics to display the GVRP statistics of the specified trunk ports. If no ports are specified, this command displays the GVRP statistics for all trunk ports.

Examples

# Display GVRP statistics for trunk port Ethernet 1/0/1.

<Sysname> display gvrp statistics interface ethernet 1/0/1
         GVRP statistics on port Ethernet1/0/1

                 GVRP Status                     : Enabled
                 GVRP Running                    : YES
                 GVRP Failed Registrations       : 0
                 GVRP Last Pdu Origin            : 0000-0000-0000
                 GVRP Registration Type          : Normal

Table 41: Command output

Field

Description

GVRP Status

Indicates whether GVRP is enabled or disabled.

GVRP Running

Indicates whether GVRP is running.

GVRP Failed Registrations

Indicates the number of GVRP registration failures.

GVRP Last Pdu Origin

Indicates the source MAC address in the last GVRP PDU.

GVRP Registration Type

Indicates the GVRP registration mode (fixed, forbidden, or normal) on the port.