< Home

(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

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The interface view is displayed.

  3. 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.

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