Administrator Guide

Example of Conguring GVRP
Dell(conf)#protocol gvrp
Dell(config-gvrp)#no disable
Dell(config-gvrp)#show config
!
protocol gvrp
no disable
Dell(config-gvrp)#
To inspect the global conguration, 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
Example of Enabling GVRP on an Interface
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 conguration, use the show config command from INTERFACE mode or use the show gvrp interface
command in EXEC or EXEC Privilege mode.
Congure GVRP Registration
Congure 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guring a port in xed 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 congured via
the CLI to belong to a VLAN, it should not be uncongured 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 conguration 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
!
GARP VLAN Registration Protocol (GVRP)
321