R3303-HP 6600/HSR6600 Routers Layer 2 - LAN Switching Configuration Guide
138
Task Command
Remarks
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 46, 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 46 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.
[RouterA] interface GigabitEthernet 3/0/1
[RouterA-GigabitEthernet3/0/1] port link-type trunk
[RouterA-GigabitEthernet3/0/1] port trunk permit vlan all
# Enable GVRP on trunk port GigabitEthernet 3/0/1.










