Enabling GVRP

The Generic Attribute Registration Protocol (GARP) VLAN Registration Protocol (GVRP) is an IEEE 802.1Q-compliant method for facilitating automatic (dynamic) VLAN membership configuration. GVRP-enabled switches can exchange VLAN configuration information with other GVRP-enabled switches.

GVRP reduces the chance of errors in VLAN configuration by automatically providing VLAN ID (VID) consistency across the network. In addition, you can use GVRP to dynamically enable port membership in static VLANs configured on a switch. Once GVRP creates a dynamic VLAN, you can use the CLI to convert it to a static VLAN. GVRP can also reduce unnecessary broadcast traffic and unicast traffic.

Keep the following considerations in mind when configuring GVRP:

By default, GVRP is enabled globally and can be enabled/disabled on a per-port basis.

  1. If GVRP is disabled globally in the switch, use the CLI command set gvrp enable in the Global Configuration Mode to enable GVRP globally.
    iSCom# configure terminal
    • Enable GVRP globally.
    iSCom(config)# set gvrp enable
    • Exit from the Configuration Mode.
    iSCom(config)# exit
    When GVRP is disabled globally or on a particular port, dynamic learning of VLAN will not take place globally or on that specified port. By default, all ports in a switch are created (but only Port 1 is up) and added as member ports of default VLAN 1.
  2. To enable GVRP on a port, use the following command in the Global Configuration Mode.
    iSCom# configure terminal
    • Enable GVRP on port 0/2.
    iSCom(config)# set port gvrp gigabitethernet 0/2 enable
    • Exit from the Configuration Mode.
    iSCom(config)# exit
  3. Review the configuration.
    perform the following:
    iSCom# show vlan device info
    Vlan device configurations
    --------------------------
    Vlan Status                       : Enabled
    Vlan Oper status                  : Enabled
    Gvrp status                       : Enabled
    Gmrp status                       : Disabled
    Gvrp Oper status                  : Enabled
    Gmrp Oper status                  : Disabled
    Mac-Vlan Status                   : Disabled
    Subnet-Vlan Status                : Disabled
    Protocol-Vlan Status              : Enabled
    Base-Bridge Mode                  : Vlan Aware Bridge
    Traffic Classes                   : Enabled
    Vlan Operational Learning Mode    : Hybrid
    Hybrid Default Learning Mode      : IVL
    Version number                    : 1
    Max Vlan id                       : 4094
    Max supported vlans               : 4094
    Global mac learning status        : Enabled
    Filtering Utility Criteria        : Enabled