display garp statistics

Syntax

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

View

Any view

Default level

1: Monitor level

Parameters

interface interface-list: Displays the GARP statistics of one or multiple ports. You can specify up to 10 port lists.

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

This command displays the statistics about GVRP PDUs received, transmitted, and dropped on GVRP-enabled ports. When the system is restarted or after you perform the reset garp statistics command, the existing packet statistics are cleared and the system starts to collect new GARP statistics. With the statistics, you can judge whether a GVRP-enabled port is operating properly.

Related commands: reset garp statistics.

Examples

# Display GARP statistics on ports Ethernet 1/0/1 and Ethernet 1/0/2.

<Sysname> display garp statistics interface ethernet 1/0/1 to ethernet 1/0/2

         GARP statistics on port Ethernet1/0/1

         Number of GVRP Frames Received          : 5
         Number of GVRP Frames Transmitted       : 2
         Number of Frames Discarded              : 1

         GARP statistics on port Ethernet1/0/2

         Number of GVRP Frames Received          : 3
         Number of GVRP Frames Transmitted       : 4
         Number of Frames Discarded              : 2