1-7
Parameters
None
Description
Use the gvrp command to enable GVRP globally (in system view) or for a port (in Ethernet port view).
Use the undo gvrp command to disable GVRP globally (in system view) or on a port (in Ethernet port
view).
By default, GVRP is disabled both globally and on ports.
Note that:
z To enable GVRP for a port, you need to enable GVRP globally first.
z You can enable/disable GVRP only on trunk ports.
z After you enable GVRP on a trunk port, you cannot change the port to other types.
Related commands: display gvrp status.
Examples
# Enable GVRP globally.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] gvrp
GVRP is enabled globally.
# Enable GVRP on Ethernet 1/0/1.
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] gvrp
GVRP is enabled on port Ethernet1/0/5.
gvrp registration
Syntax
gvrp registration { fixed | forbidden | normal }
undo gvrp registration
View
Ethernet port view
Parameters
fixed: Specifies the fixed GVRP registration mode. A port operating in this mode cannot register or
deregister VLAN information dynamically. It only propagates static VLAN information. Besides, the port
permits only static VLANs, that is, it propagates only static VLAN information to the other GARP
members.
forbidden: Specifies the forbidden GVRP registration mode. A port operating in this mode cannot
register or deregister VLAN information dynamically. It permits only VLAN 1, that is, it propagates only
the information about VLAN 1 to the other GARP members.
normal: Specifies the normal mode. A port operating in this mode can dynamically register or deregister
VLAN information and can propagate both dynamic and static VLAN information.
Description
Use the gvrp registration command to configure the GVRP registration mode on a port.