Displaying and maintaining gvrp, Gvrp configuration examples, Network requirements – H3C Technologies H3C S12500 Series Switches User Manual
Page 191: Configuration procedure

178
Displaying and maintaining GVRP
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
maintained by GVRP 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
GVRP normal registration mode configuration example
Network requirements
As shown in
, enable GVRP and configure the normal registration mode on ports to enable the
registration of dynamic and static VLAN information between the two switches.
Figure 62 Network diagram
Configuration procedure
1.
Configure Device A:
# Enable GVRP globally.