Technical data

Configuring GARP/GVRP 57
When an Ethernet port registration type is set to forbidden, all the VLANs
except VLAN1 are logged out and no other VLANs can be created or registered
on this port.
Perform the following configurations in Ethernet port view.
By default, the GVRP registration type is normal.
Displaying and Debugging GVRP
After you set the GVRP registration type, execute the display command in all
views to display the GVRP configuration and to verify the effect of the
configuration.
Execute the debugging command in user view to debug the configuration of
GVRP.
Example: GVRP
Configuration Example
Set network requirements to dynamically register and update VLAN information
among switches.
Figure 4 GVRP Configuration Example
Configure Switch A:
1 Set Ethernet1/0/1 as a trunk port and allow all the VLANs to pass through.
[SW7700] interface Ethernet 1/0/1
[SW7700-Ethernet1/0/1] port link-type trunk
[SW7700-Ethernet1/0/1] port trunk permit vlan all
2 Create VLANs.
Table 15 Setting the GVRP Registration Type
Operation Command
Set GVRP registration type gvrp registration { normal | fixed | forbidden }
Set the GVRP registration type back
to the default setting
undo gvrp registration
Table 16 Displaying and Debugging GVRP
Operation Command
Display GVRP statistics information display gvrp statistics [ interface interface-list ]
Display GVRP global status
information
display gvrp status
Enable GVRP packet or event
debugging
debugging gvrp { packet | event}
Disable GVRP packet or event
debugging
undo debugging gvrp { packet | event}
Switch A
E1/01
Switch B
E2/0/1