199
View
System view, Ethernet interface view, Layer-2 aggregate interface view, port group view
Default level
2: System level
Parameters
None
Example
# Enable GVRP globally.
<Sysname> system-view
[Sysname] gvrp
GVRP is enabled globally.
gvrp registration
Description
Use the gvrp registration command to configure the GVRP registration mode.
Use the undo gvrp registration command to restore the default.
The default GVRP registration mode is normal.
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.
This command is only available on trunk ports.
Related commands: display garp statistics.
Syntax
gvrp registration { fixed | forbidden | normal }
undo gvrp registration
View
Ethernet interface view, Layer-2 aggregate interface view, port group view
Default level
2: System level
Parameters
fixed: Sets the GVRP registration mode to fixed.
forbidden: Sets the GVRP registration mode to forbidden.
normal: Sets the GVRP registration mode to normal.
Example
# Set the GVRP registration mode to fixed on port GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] port link-type trunk