153
GVRP configuration commands
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
: Specifies one or multiple ports to display the GARP statistics. You can provide up
to 10 port lists. By using each port list, you can specify a single port in the form of
interface-type
interface-number
, or a port range in the form of
interface-type interface-number1
to
interface-type
interface-number2
, where the end port number specified by
interface-number2
must be greater than the
start port number specified by
interface-number1
. If no ports are specified, this command displays the
GARP statistics for all ports.
|
: Filters command output by specifying a regular expression. For more information about regular
expressions, see the
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, which is a case sensitive string of 1 to 256 characters.
Description
Use the
display
garp statistics
command to display the GARP statistics of the specified port(s) or all ports
if no ports are specified.
This command displays the statistics about GVRP protocol packets 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 normally.
•
If the number of received and transmitted GVRP protocol packets on the port is the same as that on
the remote port, it indicates that the two ends are transmitting and receiving GVRP protocol packets
normally and no registration information is lost.
•
If the port drops GVRP protocol packets, check its registration mode. GVRP protocol packets are
likely to be dropped if the registration mode is fixed or forbidden, because dynamic VLANs cannot
be registered in these two modes.
Related commands:
reset garp statistics
.
Examples
# Display GARP statistics on ports GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2.