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).
(Optional) Setting the Registration Mode for a GVRP Interface
Context
A GVRP interface supports three registration modes:
- Normal: In this mode, the GVRP interface can dynamically register and deregister VLANs, as well as transmit dynamic VLAN registration information and static VLAN registration information.
- Fixed: In this mode, the GVRP interface is disabled from dynamically registering and deregistering VLANs and can only transmit the static VLAN 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 the interface is configured to allow all the VLANs to pass.
- 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 to pass even if the interface is configured to allow all the VLANs to pass.
Procedure
- Run:
system-view
The system view is displayed.
- Run:
interface interface-type interface-number
The interface view is displayed.
- Run:
gvrp registration { fixed | forbidden | normal }
The registration mode is set for the interface.
By default, the registration mode of a GVRP interface is normal.
Before setting the registration mode for an interface, enable GVRP on the interface.