You must enable GVRP globally as well as on trunk interfaces which require dynamic VLAN registration and deregistration. In addition, you must enable packets of all dynamic VLANs to pass the trunk interfaces.
The system view is displayed.
GVRP is enabled globally.
The interface view is displayed.
The interface is configured as a trunk interface.
VLANs in which packets are allowed to pass the trunk interface are specified.
GVRP is enabled on the trunk interface.
VLAN configuration will trigger GVRP messages. If a large number of VLANs require configuration, configure VLANs in batches on devices one by one and configure timers to control the sending of GVRP messages. Otherwise, dynamic VLANs may flap.
If a trunk interface is switched to an access, hybrid, or dot1q-tunnel interface, you are prompted to enable interface GVRP.
The blocked interface in instance 0 of Spanning Tree Protocol (STP)/Rapid STP (RSTP)/Multiple STP (MSTP) blocks GVRP PDUs. To ensure that GVRP runs properly and to prevent GVRP loops, do not enable GVRP on blocked interfaces of ring network protocols, such as STP, RSTP, and MSTP.
The configuration is committed.