Configuring GVRP
Configuration Notes and Constraints
When configuring GVRP, pay attention to the following notes:
- GVRP and MVRP are mutually exclusive and can not be configured at the same time.
- The GVRP function can only work on Trunk type interfaces.
- VLANs need to be statically configured on the access interfaces of the access devices at both ends of the network, in order to implement GVRP bidirectional VLAN registration process.
- 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.
- 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.
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 Commit the configuration.
commit
Step6 View the configuration information of GVRP.
run show gvrp interface <interface-name>
Copyright © 2024 Pica8 Inc. All Rights Reserved.