gvrp

Syntax

gvrp

undo gvrp

View

System view, Ethernet interface view, Layer-2 aggregate interface view, port group view

Default level

2: System level

Parameters

None

Description

Use gvrp to enable GVRP.

Use undo gvrp to disable GVRP.

By default, GVRP is disabled.

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.

Related commands: display gvrp status.

Examples

# Enable GVRP globally.

<Sysname> system-view
[Sysname] gvrp
GVRP is enabled globally.