Configuring GVRP


Configuration Notes and Constraints

When configuring GVRP, pay attention to the following notes:

  • GVRP and MVRP are mutually exclusive which can not be configured at the same time.
  • The GVRP function can only work on Trunk type interfaces.
  • GVRP is not allowed to be enabled on the host-side interfaces of the access devices at both ends of the network. However, users have to enable GVRP on all uplink interfaces of the access devices and all interfaces of intermediate devices.
  • GVRP function conflicts with VLAN member function. That is, the static configuration of VLAN member is not allowed on the interface that enables GVRP function.
  • On a single device, GVRP supports allocating up to 256 VLANs.
  • STP/RSTP/MSTP blocking interface does not block GVRP PDUs.
  • GVRP and Rapid PVST+ cannot be configured at the same time.
  • It is not supported to deploy GVRP in MLAG topology.
  • In the topology with loops, even if spanning tree is enabled, dynamic VLANs may not be removed by GVRP Leave/LeaveAll process.
  • GVRP cannot be enabled on the routed interface or a member port of a LAG port.
  • It is highly recommended to KEEP the default configurations of GVRP Timers to ensure the system and network stability. Modifying timers to inappropriate values might cause an imbalance in the operation of GVRP.

Configuring GVRP

Step1         Enable GVRP function globally.

         set protocols gvrp enable <true | false>

Step2         Configure the port mode to trunk.

        set interface gigabit-ethernet <interface-name> family ethernet-switching port-mode <port-mode>

Step3         Enable GVRP function on a specific interface.

NOTE:

To enable GVRP function, users need to enable GVRP function BOTH globally and at the per-interface level.

                   set protocols gvrp interface <interface-name> enable <true | false>

Step4         (Optional) Enable GVRP edge-switch function on the edge switch to prevent loops.

NOTE:

This command can be enabled only on the edge switches.

                    set protocols gvrp edge-switch <true | false>

Step5        (Optional) Configure GVRP timers.

                   set protocols gvrp join-timer <join-timer>

                   set protocols gvrp leave-timer <leave-timer>

                   set protocols gvrp leaveall-timer<leaveall-timer>

Step6        Commit the configuration.

        commit

Step7         View the configuration information of GVRP.

        run show gvrp interface <interface-name>




Copyright © 2024 Pica8 Inc. All Rights Reserved.