GVRP is enabled globally.
Step 3 Run:
interface interface-type interface-number
The interface view is displayed.
Step 4 Run:
port link-type trunk
The link type of the interface is set to trunk.
Step 5 Run:
port trunk allow-pass vlan { { vlan-id1 [ to vlan-id2 ] }&<1-10> | all }
The interface is added to the specified VLANs.
Step 6 Run:
gvrp
GVRP is enabled on the interface.
By default, GVRP is disabled globally and on each interface.
NOTE
l Before enabling GVRP on an interface, you must enable GVRP globally.
l Before enabling GVRP on an interface, you must set the link type of the interface to trunk.
----End
5.3.3 (Optional) Setting the Registration Mode for a GVRP Interface
Context
A GVRP interface supports three registration modes:
l Normal: In this mode, the GVRP interface can dynamically register and deregister VLANs,
and transmit dynamic VLAN registration information and static VLAN registration
information.
l Fixed: In this mode, the GVRP interface is disabled from dynamically registering and
deregistering VLANs and can transmit only the static registration information. If the
registration mode is set to fixed for a trunk interface, the interface allows only the manually
configured VLANs to pass even if it is configured to allow all the VLANs to pass.
l Forbidden: In this mode, the GVRP interface is disabled from dynamically registering and
deregistering VLANs and can transmit only information about VLAN 1. If the registration
mode is set to forbidden for a trunk interface, the interface allows only VLAN 1 even if it
is configured to allow all the VLANs to pass.
Perform the following steps on the AR3200 to set the registration mode for an interface.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Huawei AR3200 Series Enterprise Routers
Configuration Guide - LAN 5 GVRP Configuration
Issue 02 (2012-03-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
147