White Papers

Table Of Contents
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
Dell(conf-if-gi-1/21)#switchport
Dell(conf-if-gi-1/21)#gvrp enable
Dell(conf-if-gi-1/21)#no shutdown
Dell(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 three GVRP registration modes:
Normal Registration Allows dynamic creation, registration, and de-registration of VLANs (if you enabled dynamic VLAN
creation). By default, the registration mode is set to Normal when you enable GVRP on a port. This default mode enables the
port to dynamically register and de-register VLANs, and to propagate both dynamic and static VLAN information.
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 1/21 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
Dell(conf-if-gi-1/21)#gvrp registration fixed 34,35
Dell(conf-if-gi-1/21)#gvrp registration forbidden 45,46
Dell(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
no shutdown
Dell(conf-if-gi-1/21)#
308
GARP VLAN Registration Protocol (GVRP)