Displaying and maintaining gvrp, Gvrp configuration example, Network requirements – H3C Technologies H3C S3600 Series Switches User Manual
Page 156: Network diagram, Configuration procedure
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
Switch C
Switch E
Eth1/0/1
Eth1/0/1
Switch A
Switch B
Switch D
VLAN 5
VLAN 8
VLAN 5
VLAN 7
Eth1/0/1
Eth1/0/2
Eth1/0/3
Eth1/0/2
Eth1/0/1
Eth1/0/1
Configuration procedure
1) Configure Switch A
# Enable GVRP globally.
[SwitchA] gvrp
# Configure Ethernet1/0/1 to be a trunk port and to permit the packets of all the VLANs.
[SwitchA] interface Ethernet 1/0/1
[SwitchA-Ethernet1/0/1] port link-type trunk