No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


S12700 V200R010C00 Configuration Guide - Ethernet Switching

This document describes the configuration of Ethernet services, including configuring link aggregation, VLANs, Voice VLAN, VLAN mapping, QinQ, GVRP, MAC table, STP/RSTP/MSTP, SEP, and so on.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Enabling GVRP

Enabling GVRP


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.


  1. Run:


    The system view is displayed.

  2. Run:


    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 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 LDT and LBDT cannot block GVRP packets. To ensure that GVRP runs normally and prevent GVRP loops, do not enable GVRP on the blocked port of LDT and LBDT.

Updated: 2019-08-21

Document ID: EDOC1000142081

Views: 254913

Downloads: 408

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next