User's Manual

Table Of Contents
206
Users Manual of CS-6306R
17.4.3 Monitoring and Maintenance of GVRP
Perform the following operations in EXEC mode:
Command Description
show gvrp statistics [interface
port_list]
Displays GVRP statistics.
show gvrp status Displays GVRP global state information.
[ no ] debug gvrp [ packet | event ] Enables/disables GVRP data packet and
event debug switches. All debug
switches will be enabled/disabled if not
specified the concrete switch.
Display GVRP statistics:
switch#show gvrp statistics interface Tthernet0/1
GVRP statistics on port Ethernet0/1
GVRP Status: Enabled
GVRP Failed Registrations: 0
GVRP Last Pdu Origin: 0000.0000.0000
GVRP Registration Type: Normal
Display GVRP global state information:
switch#show gvrp status
gvrp is enabled!
Configuration Example 17.5
The network connection is as follows. In order to make the VLAN configuration information of Switch A and
Switch B identical, you can enable GVRP on Switch A and Switch B. The configuration is as follows:
(1) Configure the interface 8 that Switch A connects to Switch B to trunk:
Switch_config_g0/8# switchport mode trunk
(2) Enable global GVRP of switch A:
Switch_config#gvrp
(3) Enable GVRP of interface 8 of Switch A:
Switch_config_g0/8#gvrp
(4) Configure VLAN 10, Vlan 20 and Vlan30 on Switch A
Switch_config#vlan 10
Switch_config#vlan 20
Switch_config#vlan 30
(5) Configure the interface 9 that Switch A connects to Switch B to trunk: