R3303-HP HSR6800 Routers Layer 2 - LAN Switching Command Reference
136
GVRP configuration commands
The commands in this chapter are supported on SAP modules that are operating in bridge mode.
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 judge 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 GigabitEthernet 4/0/1 and GigabitEthernet 4/0/2.