1-7 
Displaying and Maintaining GVRP 
To do …  Use the command …  Remarks 
Display GARP statistics 
display garp statistics 
[ interface interface-list ] 
Display the settings of the 
GARP timers 
display garp timer [ interface 
interface-list ] 
Display GVRP statistics 
display gvrp statistics 
[ interface interface-list ] 
Display the global GVRP status 
display gvrp status 
Clear GARP statistics 
reset garp statistics 
[ interface interface-list ] 
Available in any view 
 
GVRP Configuration Example 
GVRP Configuration Example 
Network requirements 
z  Enable GVRP on all the switches in the network so that the VLAN configurations on Switch C and 
Switch E can be applied to all switches in the network, thus implementing dynamic VLAN 
information registration and refresh.  
z  By configuring the GVRP registration modes of specific Ethernet ports, you can enable the 
corresponding VLANs in the switched network to communicate with each other.  
Network diagram 
Figure 1-2 Network diagram for GVRP configuration 
 
 
Configuration procedure 
1)  Configure Switch A 
# Enable GVRP globally.  
<SwitchA> system-view 
[SwitchA] gvrp 
# Configure GigabitEthernet1/0/1 to be a trunk port and to permit the packets of all the VLANs.  
[SwitchA] interface GigabitEthernet 1/0/1 
[SwitchA-GigabitEthernet1/0/1] port link-type trunk