Enabling GMRP

GARP Multicast Registration Protocol (GMRP) is a Generic Attribute Registration Protocol (GARP) application that provides a constrained multicast flooding facility similar to IGMP snooping. GMRP and GARP are industry-standard protocols defined by the IEEE 802.1P.

GMRP provides a mechanism that allows bridges and end stations to dynamically register group membership information with the MAC bridges attached to the same LAN segment and for that information to be disseminated across all bridges in the Bridged LAN that supports extended filtering services. The operation of GMRP relies upon the services provided by the GARP.

When a host wants to join an IP multicast group, it sends an IGMP join message, which spawns a GMRP join message. Upon receipt of the GMRP join message, the switch adds the port through which the join message was received to the appropriate Multicast group. The switch propagates the GMRP join message to all other hosts in the VLAN, one of which is typically the Multicast source. When the source is multicasting to the group, the switch forwards the multicast only to the ports from which it received join messages for the group. The switch sends periodic GMRP queries. If a host wants to remain in a multicast group, it responds to the query. In this case, the switch does nothing. If a host does not want to remain in the Multicast group, it can either send a leave message or not respond to the periodic queries from the switch. If the switch receives a leave message or receives no response from the host for the duration of the leave all timer, the switch removes the host from the multicast group.

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

  1. If GMRP is disabled globally in the switch, use the CLI command set gvrp enable in the Global Configuration Mode to enable GMRP globally.
    iS5comm# configure terminal
    • Enable GVRP globally.
    iS5comm(config)# set gmrp enable
    • Exit from the Configuration Mode.
    iS5comm(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 GMRP on a port, use the following command in the Global Configuration Mode.
    iS5comm# configure terminal
    • Enable GVRP globally.
    iS5comm(config)# set port gmrp gigabitethernet 0/2 enable
    • Exit from the Configuration Mode.
    iS5comm(config)# exit
  3. Review the configuration.
    perform the following:
    iS5comm# show vlan device info
    Vlan device configurations
    --------------------------
    Vlan Status                       : Enabled
    Vlan Oper status                  : Enabled
    Gvrp status                       : Enabled
    Gmrp status                       : Enabled
    Gvrp Oper status                  : Enabled
    Gmrp Oper status                  : Enabled
    Mac-Vlan Status                   : Disabled
    Subnet-Vlan Status                : Disabled
    Protocol-Vlan Status              : Enabled
    Bridge Mode                       : Customer Bridge
    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
    Unicast mac learning limit        : 0
  4. To disable GMRP on a port, use the following command in the Global Configuration Mode.
    iS5comm# configure terminal
    • Enable GVRP globally.
    iS5comm(config)# set port gmrp gigabitethernet 0/2 disable
    • Exit from the Configuration Mode.
    iS5comm(config)# exit
  5. Review the configuration.
    perform the following:
    iS5comm# show vlan port config port gigabitethernet 0/2
    Vlan Port configuration table
    -------------------------------
    Port Gi0/2 Bridge Port Type                    : 
    Customer Bridge Port Port Vlan ID                        : 1 
    Port Acceptable Frame Type          : Admit All 
    Port Mac Learning Status            : Enabled 
    Port Ingress Filtering              : Enabled 
    Port Mode                           : Hybrid 
    Port Gvrp Status                    : Enabled 
    Port Gmrp Status                    : Disabled 
    Port Gvrp Failed Registrations      : 0 
    Gvrp last pdu origin                : 00:00:00:00:00:00 
    Port Restricted Vlan Registration   : Disabled 
    Port Restricted Group Registration  : Disabled 
    Mac Based Support                   : Disabled 
    Subnet Based Support                : Disabled 
    Port-and-Protocol Based Support     : Enabled 
    Default Priority                    : 0 
    Filtering Utility Criteria          : Default 
    Port Protected Status               : Disabled 
    Ingress EtherType                   : 0x8100 
    Egress EtherType                    : 0x8100 
    Egress TPID Type                    : Portbased
    Allowable TPID 1                    : 0x0 
    Allowable TPID 2                    : 0x0 
    Allowable TPID 3                    : 0x0 
    Reflection Status                   : Disabled