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.


Configuration Guide - Ethernet Switching

CloudEngine 8800, 7800, 6800, and 5800 V200R003C00

This document describes the configuration of Ethernet services, including configuring MAC address table, link aggregation, VLANs, MUX VLAN, Voice VLAN, VLAN mapping, QinQ, GVRP, VCMP, STP/RSTP/MSTP, VBST, SEP, RRPP, ERPS, LBDT, and Layer 2 protocol transparent transmission.
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


To dynamically register or deregister VLAN attributes on a switching network, configure GVRP on all devices of the switching network. Before enabling GVRP on an interface, you must enable GVRP globally. GVRP can be enabled only on trunk interfaces. Ensure that the trunk interfaces allow packets from all dynamically registered VLANs.


  1. Run system-view

    The system view is displayed.

  2. Run gvrp

    GVRP is enabled globally.

    By default, GVRP is disabled 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 on an interface.

    • The VLAN configuration will trigger GVRP messages. If too many VLANs are configured, you are advised to run the vlan batch command in the system view to configure VLANs on switches one by one and configure timers. Otherwise, dynamic VLANs may flap.

    • If an interface is changed to another type, such as access, hybrid, or dot1q-tunnel, the system asks you to disable GVRP on the interface first.

    • The blocked port of STP, RSTP, MSTI 0, ERPS, or Smart Link can block GVRP messages.

    • Global GVRP and VLAN-based Spanning Tree (VBST) cannot be configured simultaneously, and GVRP and Multichassis Link Aggregation Group (M-LAG) cannot be configured on an Eth-Trunk simultaneously.

  7. (Optional) Run gvrp registration { fixed | forbidden | normal }

    The registration mode of the GVRP interface is set.

    By default, the registration mode of a GVRP interface is normal.

  8. Run commit

    The configuration is committed.

Updated: 2019-05-08

Document ID: EDOC1100004351

Views: 125076

Downloads: 295

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