gvrp registration
Syntax
View
Parameter
Description
Related command:
Example
gvrp registration { fixed | forbidden | normal }
undo gvrp registration
Ethernet interface view, port group view
fixed: Sets the registration type to fixed.
forbidden: Sets the registration type to forbidden.
normal: Sets the registration type to normal.
Use the
gvrp registration
a port.
Use the
undo gvrp registration
The default GVRP registration type is normal.
Configured in Ethernet interface view, the setting is effective on the current port
only; configured in port group view, the setting is effective on all ports in the port
group.
GVRP provides the following three registration types on a port:
Normal -- Enables the port to dynamically register/deregister VLANs, and to
■
propagate both dynamic and static VLAN information.
Fixed -- Disables the port to dynamically register and deregister VLANs or
■
propagate information about dynamic VLANs, but allows the port to propagate
information about static VLANs. A trunk port with fixed registration type thus
allows only manually configured VLANs to pass through even though it is
configured to carry all VLANs.
Forbidden -- Disables the port to dynamically register and deregister VLANs,
■
and to propagate VLAN information except information about VLAN 1. A trunk
port with forbidden registration type thus allows only VLAN 1 to pass through
even though it is configured to carry all VLANs.
Note that this command is only available on trunk ports.
display garp statistics.
# Set the GVRP registration type to fixed on port Ethernet 1/0.
<Sysname> system-view
[Sysname] interface ethernet 1/0
[Sysname-Ethernet1/0] port link-type trunk
[Sysname-Ethernet1/0] gvrp registration fixed
command to configure the GVRP registration type on
command to restore the default.
417