gvrp registration

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.

Description

Use gvrp registration to configure the GVRP registration mode.

Use undo gvrp registration 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.

Examples

# Set the GVRP registration mode to fixed on port Ethernet 1/0/1.

<Sysname> system-view
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] port link-type trunk
[Sysname-Ethernet1/0/1] gvrp registration fixed