Gvrp Configuration Commands; Display Garp Statistics - H3C MSR Series Command Reference Manual

Comware 5 layer 2 - lan switching
Hide thumbs Also See for MSR Series:
Table of Contents

Advertisement

GVRP configuration commands

display garp statistics

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.
Syntax
display garp statistics [ interface interface-list ] [ | { begin | exclude | include }
regular-expression ]
Views
Any view
Default command 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. 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.
|: 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.
Usage guidelines
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 determine whether a GVRP-enabled port is operating correctly.
If the number of received and transmitted GVRP PDUs on the port is the same as the remote
port, it indicates that the two ends are transmitting and receiving GVRP PDUs correctly and no
registration information is lost.
If the port drops GVRP PDUs, you should check its registration mode. GVRP PDUs are likely to
be dropped if the registration mode is fixed or forbidden, because dynamic VLANs cannot be
registered in these two modes.
Examples
# Display GARP statistics on ports Ethernet 1/1 and Ethernet 1/2.
<Sysname> display garp statistics interface ethernet 1/1 to ethernet 1/2
GARP statistics on port Ethernet1/1
Number of GVRP Frames Received
Number of GVRP Frames Transmitted
: 5
: 2
115

Advertisement

Table of Contents
loading

Table of Contents