GMRP Commands
Use these commands to configure and view GARP Multicast Registration Protocol (GMRP) information.
Like IGMP snooping, GMRP helps control the flooding of multicast packets. GMRP-enabled switches dynamically register and de-register group membership information with the MAC networking devices attached to the same segment. GMRP also allows group membership information to propagate across all networking devices in the bridged LAN that support Extended Filtering Services.
set gmrp adminmode
M4250
M4350
This command enables GARP Multicast Registration Protocol (GMRP) on the system.
| Default | Disabled |
| Format | set gmrp adminmode |
| Mode | Privileged EXEC |
no set gmrp adminmode
This command disables GARP Multicast Registration Protocol (GMRP) on the system.
| Format | no set gmrp adminmode |
| Mode | Privileged EXEC |
set gmrp interfacemode
M4250
M4350
This command enables GARP Multicast Registration Protocol on a single interface (Interface Config mode), a range of interfaces, or all interfaces (Global Config mode). If an interface which has GARP enabled is enabled for routing or is enlisted as a member of a port-channel (LAG), GARP functionality is disabled on that interface. GARP functionality is subsequently re-enabled if routing is disabled and port-channel (LAG) membership is removed from an interface that has GARP enabled.
| Default | Disabled |
| Format | set gmrp interfacemode |
| Mode |
Interface Config Global Config |
no set gmrp interfacemode
This command disables GARP Multicast Registration Protocol on a single interface or all interfaces. If an interface which has GARP enabled is enabled for routing or is enlisted as a member of a port-channel (LAG), GARP functionality is disabled. GARP functionality is subsequently re-enabled if routing is disabled and port-channel (LAG) membership is removed from an interface that has GARP enabled.
| Format | no set gmrp interfacemode |
| Mode |
Interface Config Global Config |
show gmrp configuration
M4250
M4350
This command displays Generic Attributes Registration Protocol (GARP) information for one or all interfaces. To specify an actual interface or port, do the following:
- For an M4250 series switch, use the argument slot/port.
- For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
| Format | show gmrp configuration {unit/slot/port | all} |
| Mode |
Privileged EXEC User EXEC |
| Term | Definition |
|---|---|
| Interface | The unit/slot/port of the interface that this row in the table describes. |
| Join Timer | The interval between the transmission of GARP PDUs registering (or reregistering) membership for an attribute. Current attributes are a VLAN or multicast group. There is an instance of this timer on a per-port, per-GARP participant basis. Permissible values are 10 to 100 centiseconds (0.1 to 1.0 seconds). The factory default is 20 centiseconds (0.2 seconds). The finest granularity of specification is 1 centisecond (0.01 seconds). |
| Leave Timer | The period of time to wait after receiving an unregister request for an attribute before deleting the attribute. Current attributes are a VLAN or multicast group. This may be considered a buffer time for another station to assert registration for the same attribute in order to maintain uninterrupted service. There is an instance of this timer on a per-Port, per-GARP participant basis. Permissible values are 20 to 600 centiseconds (0.2 to 6.0 seconds). The factory default is 60 centiseconds (0.6 seconds). |
| LeaveAll Timer | This Leave All Time controls how frequently LeaveAll PDUs are generated. A LeaveAll PDU indicates that all registrations will shortly be deregistered. Participants will need to rejoin in order to maintain registration. There is an instance of this timer on a per-Port, per-GARP participant basis. The Leave All Period Timer is set to a random value in the range of LeaveAllTime to 1.5*LeaveAllTime. Permissible values are 200 to 6000 centiseconds (2 to 60 seconds). The factory default is 1000 centiseconds (10 seconds). |
| Port GMRP Mode | The GMRP administrative mode for the port. It may be enabled or disabled. If this parameter is disabled, Join Time, Leave Time and Leave All Time have no effect. |
show mac-address-table gmrp
M4250
M4350
This command displays the GMRP entries in the Multicast Forwarding Database (MFDB) table.
| Format | show mac-address-table gmrp |
| Mode | Privileged EXEC |
| Term | Definition |
|---|---|
| VLAN ID | The VLAN in which the MAC Address is learned. |
| MAC Address | A unicast MAC address for which the switch has forwarding and or filtering information. The format is 6 two-digit hexadecimal numbers that are separated by colons, for example 01:23:45:67:89:AB. |
| Type | The type of the entry. Static entries are those that are configured by the end user. Dynamic entries are added to the table as a result of a learning process or protocol. |
| Description | The text description of this multicast table entry. |
| Interfaces | The list of interfaces that are designated for forwarding (Fwd:) and filtering (Flt:). |