< Home

Enabling GVRP

Context

Before enabling GVRP on an interface, you must enable GVRP globally. GVRP can be enabled only on trunk interfaces. You must perform related configurations to ensure that all dynamically registered VLANs can pass the trunk interfaces.

If the VCMP role is the client or server, GVRP cannot be enabled. In this case, run the vcmp role command to configure the VCMP role as silent or transparent. If GVRP has been enabled, do not switch the VCMP role to client or server.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run gvrp

    GVRP is enabled globally.

  3. Run interface interface-type interface-number

    The interface view is displayed.

  4. Run port link-type trunk

    The link type of the interface is set to trunk.

  5. Run port trunk allow-pass vlan { { vlan-id1 [ to vlan-id2 ] }&<1-10> | all }

    The interface is added to the specified VLANs.

  6. Run gvrp

    GVRP is enabled on the interface.

    By default, GVRP is disabled globally and on each interface.

    • VLAN configuration will trigger GVRP messages. If too many VLANs are configured, you are advised to configure VLANs on devices one by one and configure the timer. Otherwise, dynamic VLANs may flap.
    • When many dynamically registered VLANs such as 4094 VLANs are configured, run the car packet-type gvrp cir cir-value command to increase the CPCAR value. To prevent a high load on the CPU, the CPCAR cannot be increased infinitely. If the CPCAR values are adjusted improperly, network services are affected. To adjust the CPCAR values, contact technical support personnel.
    • If an interface is changed to another link type, such as access, hybrid, negotiation-desirable, or negotiation-auto, the GVRP configuration on the interface is automatically deleted.
    • The blocked interface in instance 0 of STP/RSTP/MSTP can block GVRP packets. The blocked interfaces of other MSTIs and other ring network protocols such as ERPS, SEP, RRPP, Smart Link, and VBST cannot block GVRP packets. To ensure that GVRP runs normally and to prevent GVRP loops, do not enable GVRP on the blocked interface of a ring network protocol.
    • The blocked ports of LBDT cannot block GVRP packets. To ensure that GVRP runs normally and prevent GVRP loops, do not enable GVRP on the blocked port of LBDT.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >