Reference Guide

380 | GARP VLAN Registration Protocol (GVRP)
www.dell.com | support.dell.com
Figure 18-3. Enabling GVRP Globally
Enabling GVRP on a Layer 2 Interface
Enable GVRP on a Layer 2 interface using the command gvrp enable in INTERFACE mode, as shown in
the following example. Use
show config from the INTERFACE mode to inspect the interface
configuration, as shown in the following example, or use the
show gvrp interface command in EXEC or
EXEC Privilege mode.
Figure 18-4. Enabling GVRP on a Layer 2 Interface
Configuring GVRP Registration
Fixed Registration Mode: Configuring a port in fixed registration mode allows for manual creation
and registration of VLANs, prevents VLAN de-registration, 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 un-configured when it receives a Leave PDU. So, 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. So, set the
interface to the registration mode of FORBIDDEN if you do not want the interface to advertise or learn
about particular VLANS.
Based on the configuration in the example shown below, the interface 1/21 will not be removed from
VLAN 34 or VLAN 35 despite receiving a GVRP Leave message. Additionally, the interface will not be
dynamically added to VLAN 45 or VLAN 46, even if a GVRP Join message is received.
Dell(conf)#protocol gvrp
Dell(conf-gvrp)#no disable
Dell(conf-gvrp)#show config
!
protocol gvrp
no disable
Dell(conf-gvrp)#
Dell(conf-if-te-1/21)#switchport
Dell(conf-if-te-1/21)#gvrp enable
Dell(conf-if-te-1/21)#no shutdown
Dell(conf-if-te-1/21)#show config
!
interface TenGigabitEthernet 1/21
no ip address
switchport
gvrp enable
no shutdown