R3303-HP HSR6800 Routers Layer 2 - LAN Switching Command Reference

146
gvrp
Use gvrp to enable GVRP.
Use undo gvrp to disable GVRP.
Syntax
gvrp
undo gvrp
Default
GVRP is disabled.
Views
System view, Ethernet interface view, Layer-2 aggregate interface view, port group view
Default command level
2: System level
Usage guidelines
Settings in system view take effect globally. Settings in Ethernet view or Layer 2 aggregate interface take
effect on the current interface. Settings in port group view take effect on all ports in the port group.
To enable GVRP on a port, enable GVRP globally before you enable it on the port.
In interface view, you can use this command on trunk ports only.
You cannot change the link type of a GVRP-enabled trunk port.
Examples
# Enable GVRP globally.
<Sysname> system-view
[Sysname] gvrp
GVRP is enabled globally.
Related commands
display gvrp status
gvrp registration
Use gvrp registration to configure the GVRP registration mode.
Use undo gvrp registration to restore the default.
Syntax
gvrp registration { fixed | forbidden | normal }
undo gvrp registration
Default
The GVRP registration mode is normal.
Views
Ethernet interface view, Layer-2 aggregate interface view, port group view