gvrp

Function

The gvrp command enables GVRP globally.

The undo gvrp command disables GVRP globally.

By default, GVRP is disabled.

Format

gvrp

undo gvrp

Parameters

None

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
gvrp write

Usage Guidelines

Usage Scenario

To enable GVRP, run the gvrp command in the system and interface views. After GVRP is enabled globally and on interfaces, a device can dynamically register or deregister VLANs on the GVRP interfaces.

Precautions

  • If the gvrp command is run in the system view, the command takes effect globally. If the gvrp command is run in an interface view, the command takes effect only on the interface.
  • All GVRP functions are disabled if the undo gvrp command is run in the system view.
  • Before enabling GVRP on an interface, you must enable GVRP globally.
  • GVRP applies only to trunk interfaces.

Example

# Enable GVRP globally.
<HUAWEI> system-view
[~HUAWEI] gvrp
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >