Administrator Guide

gvrp enable
DellEMC(conf)#protocol gvrp
DellEMC(config-gvrp)#no disable
DellEMC(config-gvrp)#show config
!
protocol gvrp
no disable
DellEMC(config-gvrp)#
To inspect the global configuration, use the show gvrp brief command.
Enabling GVRP on a Layer 2 Interface
To enable GVRP on a Layer 2 interface, use the following command.
Enable GVRP on a Layer 2 interface.
INTERFACE mode
gvrp enable
DellEMC(conf-if-gi-1/21)#switchport
DellEMC(conf-if-gi-1/21)#gvrp enable
DellEMC(conf-if-gi-1/21)#no shutdown
DellEMC(conf-if-gi-1/21)#show config
!
interface GigabitEthernet 1/21
no ip address
switchport
gvrp enable
no shutdown
To inspect the interface configuration, use the show config command from INTERFACE mode or use the show gvrp
interface command in EXEC or EXEC Privilege mode.
Configure GVRP Registration
Configure GVRP registration.
There are two GVRP registration modes:
Fixed Registration Mode figuring a port in fixed registration mode allows for manual creation and registration of VLANs,
prevents VLAN deregistration, and registers all VLANs known on other ports on the port. For example, if an interface is
statically configured via the CLI to belong to a VLAN, it should not be unconfigured when it receives a Leave PDU.
Therefore, the registration mode on that interface is FIXED.
Forbidden Mode Disables the port to dynamically register VLANs and to propagate VLAN information except information
about VLAN 1. A port with forbidden registration type thus allows only VLAN 1 to pass through even though the PDU carries
information for more VLANs. Therefore, if you do not want the interface to advertise or learn about particular VLANS, set
the interface to the registration mode of FORBIDDEN.
Based on the configuration in the following example, the interface is not removed from VLAN 34 or VLAN 35 despite receiving a
GVRP Leave message. Additionally, the interface is not dynamically added to VLAN 45 or VLAN 46, even if a GVRP Join
message is received.
Example of the gvrp registration Command
DellEMC(conf-if-gi-1/21)#gvrp registration fixed 34,35
DellEMC(conf-if-gi-1/21)#gvrp registration forbidden 45,46
DellEMC(conf-if-gi-1/21)#show conf
!
interface GigabitEthernet 1/21
no ip address
switchport
gvrp enable
gvrp registration fixed 34-35
gvrp registration forbidden 45-46
GARP VLAN Registration Protocol (GVRP)
285