R3303-HP HSR6800 Routers Layer 2 - LAN Switching Configuration Guide

134
Task Command
Remarks
Display statistics about GARP on ports.
display garp statistics [ interface
interface-list ] [ | { begin | exclude |
include } regular-expression ]
Available in any view.
Display GARP timers on ports.
display garp timer [ interface
interface-list ] [ | { begin | exclude |
include } regular-expression ]
Available in any view.
Display the local VLAN information
that GVRP maintains on ports.
display gvrp local-vlan interface
interface-type interface-number [ | { begin
| exclude | include } regular-expression ]
Available in any view.
Display the current GVRP state in the
specified VLANs on ports.
display gvrp state interface interface-type
interface-number vlan vlan-id [ | { begin |
exclude | include } regular-expression ]
Available in any view.
Display GVRP statistics on ports.
display gvrp statistics [ interface
interface-list ] [ | { begin | exclude |
include } regular-expression ]
Available in any view.
Display the global GVRP state.
display gvrp status [ | { begin | exclude |
include } regular-expression ]
Available in any view.
Display the information about
dynamic VLAN operations on ports.
display gvrp vlan-operation interface
interface-type interface-number [ | { begin
| exclude | include } regular-expression ]
Available in any view.
Clear the GARP statistics on ports.
reset garp statistics [ interface
interface-list ]
Available in user view.
GVRP configuration examples
The following sections give examples of how to configure GVRP in various modes.
GVRP normal registration mode configuration example
Network requirements
As shown in Figure 48, enable GVRP and configure the normal registration mode on ports to enable
registration and deregistration of dynamic and static VLAN information between the two routers.
Figure 48 Network diagram
Configuration procedure
1. Configure Router A:
# Enable GVRP globally.
<RouterA> system-view
[RouterA] gvrp
# Configure port GigabitEthernet 3/0/1 as a trunk port, and assign it to all VLANs.