Internet Group Message Protocol Commands

Use these commands to view and configure Internet Group Message Protocol (IGMP) settings.

ip igmp

M4250

M4350

This command sets the administrative mode of IGMP in the system to active on an interface, range of interfaces, or on all interfaces.

Default disabled
Format ip igmp
Modes

Global Config

Interface Config

no ip igmp

This command sets the administrative mode of IGMP in the system to inactive.

Format no ip igmp
Modes

Global Config

Interface Config

ip igmp header-validation

M4250

M4350

Use this command to enable header validation for IGMP messages.

Default disabled
Format ip igmp header-validation
Mode Global Config

no ip igmp header-validation

This command disables header validation for IGMP messages.

Format no ip igmp header-validation
Mode Global Config

ip igmp version

M4250

M4350

This command configures the version of IGMP for an interface or range of interfaces. The version is either 1, 2 or 3.

Default 3
Format ip igmp version {1 | 2 | 3}
Modes Interface Config

no ip igmp version

This command resets the version of IGMP to the default value.

Format no ip igmp version
Modes Interface Config

ip igmp last-member-query-count

M4250

M4350

This command sets the number of Group-Specific Queries sent by the interface or range of interfaces before the router assumes that there are no local members on the interface. The range for count is from 1 to 20.

Format ip igmp last-member-query-count count
Modes Interface Config

no ip igmp last-member-query-count

This command resets the number of Group-Specific Queries to the default value.

Format no ip igmp last-member-query-count
Modes Interface Config

ip igmp last-member-query-interval

M4250

M4350

This command configures the Maximum Response Time inserted in Group-Specific Queries which are sent in response to Leave Group messages. The range for deciseconds is 0 to 255 tenths of a second. This value can be configured on one interface or a range of interfaces.

Default 10 tenths of a second (1 second)
Format ip igmp last-member-query-interval deciseconds
Modes Interface Config

no ip igmp last-member-query-interval

This command resets the Maximum Response Time to the default value.

Format no ip igmp last-member-query-interval
Modes Interface Config

ip igmp query-interval

M4250

M4350

This command configures the query interval for the specified interface or range of interfaces. The query interval determines how fast IGMP Host-Query packets are transmitted on this interface. The range for the seconds argument is 1 to 3600 seconds.

Default 125 seconds
Format ip igmp query-interval seconds
Modes Interface Config

no ip igmp query-interval

This command resets the query interval for the specified interface to the default value. This is the frequency at which IGMP Host-Query packets are transmitted on this interface.

Format no ip igmp query-interval
Modes Interface Config

ip igmp query-max-response-time

M4250

M4350

This command configures the maximum response time interval for the specified interface or range of interfaces, which is the maximum query response time advertised in IGMPv2 queries on this interface. The deciseconds argument is the time interval, specified in 0 to 255 tenths of a second.

Default 100
Format ip igmp query-max-response-time deciseconds
Mode Interface Config

no ip igmp query-max-response-time

This command resets the maximum response time interval for the specified interface, which is the maximum query response time advertised in IGMPv2 queries on this interface to the default value. The maximum response time interval is reset to the default time.

Format no ip igmp query-max-response-time
Mode Interface Config

ip igmp robustness

M4250

M4350

This command configures the robustness that allows tuning of the interface or range of interfaces. The robustness is the tuning for the expected packet loss on a subnet. If a subnet is expected to have a lot of loss, the Robustness variable may be increased for the interface. The number argument specifies the packet loss number in the range from 1 to 255.

Default 2
Format ip igmp robustness number
Mode Interface Config

no ip igmp robustness

This command sets the robustness value to default.

Format no ip igmp robustness
Mode Interface Config

ip igmp startup-query-count

M4250

M4350

This command sets the number of Queries sent out on startup, separated by the Startup Query Interval on the interface or range of interfaces. The range for the number argument is 1 to 20.

Default 2
Format ip igmp startup-query-count number
Mode Interface Config

no ip igmp startup-query-count

This command resets the number of Queries sent out on startup, separated by the Startup Query Interval on the interface to the default value.

Format no ip igmp startup-query-count
Mode Interface Config

ip igmp startup-query-interval

M4250

M4350

This command sets the interval between general queries sent on startup on the interface or range of interfaces. The time interval value is in seconds. The range for the seconds argument is 1 to 300 seconds.

Default 31
Format ip igmp startup-query-interval seconds
Mode Interface Config

no ip igmp startup-query-interval

This command resets the interval between general queries sent on startup on the interface to the default value.

Format no ip igmp startup-query-interval
Mode Interface Config

show ip igmp

M4250

M4350

This command displays the system-wide IGMP information.

Format show ip igmp
Modes

Privileged EXEC

User EXEC

Term Definition
IGMP Admin Mode The administrative status of IGMP. This is a configured value.
Interface The interface number.
Interface Mode Indicates whether IGMP is enabled or disabled on the interface. This is a configured value.
Protocol State The current state of IGMP on this interface. Possible values are Operational or Non-Operational.

show ip igmp groups

M4250

M4350

This command displays the registered multicast groups on the interface.

The interface corresponds to a physical routing interface or VLAN routing interface. 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.

The vlan keyword and vlan-id parameter are used to specify the VLAN ID of the routing VLAN. The vlan-id parameter is a number in the range of 1–4093.

If detail is specified this command displays the registered multicast groups on the interface in detail.

Format show ip igmp groups {unit/slot/port | vlan vlan-id} [detail]
Mode Privileged EXEC

If you do not use the detail keyword, the following fields display.

Term Definition
IP Address The IP address of the interface participating in the multicast group.
Subnet Mask The subnet mask of the interface participating in the multicast group.
Interface Mode This displays whether IGMP is enabled or disabled on this interface.

The following fields are not displayed if the interface is not enabled.

Term Definition
Querier Status This displays whether the interface has IGMP in Querier mode or Non-Querier mode.
Groups The list of multicast groups that are registered on this interface.

If you use the detail keyword, the following fields display.

Term Definition
Multicast IP Address The IP address of the registered multicast group on this interface.
Last Reporter The IP address of the source of the last membership report received for the specified multicast group address on this interface.
Up Time The time elapsed since the entry was created for the specified multicast group address on this interface.
Expiry Time The amount of time remaining to remove this entry before it is aged out.
Version1 Host Timer The time remaining until the local router assumes that there are no longer any IGMP version 1 multicast members on the IP subnet attached to this interface. This could be an integer value or “-----” if there is no Version 1 host present.
Version2 Host Timer The time remaining until the local router assumes that there are no longer any IGMP version 2 multicast members on the IP subnet attached to this interface. This could be an integer value or “-----” if there is no Version 2 host present.
Group Compatibility Mode The group compatibility mode (v1, v2 or v3) for this group on the specified interface.

show ip igmp interface

M4250

M4350

This command displays the IGMP information for an interface or VLAN.

The interface corresponds to a physical routing interface or VLAN routing interface. 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.

The vlan keyword and vlan-id parameter are used to specify the VLAN ID of the routing VLAN. The vlan-id parameter is a number in the range of 1–4093.

Format show ip igmp interface {unit/slot/port | vlan vlan-id}
Modes

Privileged EXEC

User EXEC

Term Definition
Interface The interface number.
IGMP Admin Mode The administrative status of IGMP.
Interface Mode Indicates whether IGMP is enabled or disabled on the interface.
IGMP Version The version of IGMP running on the interface. This value can be configured to create a router capable of running either IGMP version 1 or 2.
Query Interval The frequency at which IGMP Host-Query packets are transmitted on this interface.
Query Max Response Time The maximum query response time advertised in IGMPv2 queries on this interface.
Robustness The tuning for the expected packet loss on a subnet. If a subnet is expected to have a lot of loss, the Robustness variable may be increased for that interface.
Startup Query Interval The interval between General Queries sent by a Querier on startup.
Startup Query Count The number of Queries sent out on startup, separated by the Startup Query Interval.
Last Member Query Interval The Maximum Response Time inserted into Group-Specific Queries sent in response to Leave Group messages.
Last Member Query Count The number of Group-Specific Queries sent before the router assumes that there are no local members.

show ip igmp interface membership

M4250

M4350

This command displays the list of interfaces that are registered in the multicast group. The multi-ipaddr argument specifies the IP address of the multicast group.

Format show ip igmp interface membership multi-ipaddr [detail]
Mode Privileged EXEC
Term Definition
Interface The interface number.
Interface IP The IP address of the interface participating in the multicast group.
State The interface that has IGMP in Querier mode or Non-Querier mode.
Group Compatibility Mode The group compatibility mode (v1, v2 or v3) for the specified group on this interface.
Source Filter Mode The source filter mode (Include/Exclude) for the specified group on this interface. This is “-----” for IGMPv1 and IGMPv2 Membership Reports.

If you use the detail keyword, the following fields display.

Term Definition
Interface Valid unit and port number separated by a forward slash.
Group Compatibility Mode The group compatibility mode (v1, v2 or v3) for the specified group on this interface.
Source Filter Mode The source filter mode (Include/Exclude) for the specified group on this interface. This is “-----” for IGMPv1 and IGMPv2 Membership Reports.
Source Hosts The list of unicast source IP addresses in the group record of the IGMPv3 Membership Report with the specified multicast group IP address. This is “-----” for IGMPv1 and IGMPv2 Membership Reports.
Expiry Time The amount of time remaining to remove this entry before it is aged out. This is “-----” for IGMPv1 and IGMPv2 Membership Reports.

show ip igmp interface stats

M4250

M4350

This command displays the IGMP statistical information for the interface. The statistics are only displayed when the interface is enabled for IGMP.

The interface corresponds to a physical routing interface or VLAN routing interface. 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.

The vlan keyword and vlan-id parameter are used to specify the VLAN ID of the routing VLAN. The vlan-id parameter is a number in the range of 1–4093.

Format show ip igmp interface stats [unit/slot/port | vlan vlan-id]
Modes

Privileged EXEC

User EXEC

Term Definition
Querier Status The status of the IGMP router, whether it is running in Querier mode or Non-Querier mode.
Querier IP Address The IP address of the IGMP Querier on the IP subnet to which this interface is attached.
Querier Up Time The time since the interface Querier was last changed.
Querier Expiry Time The amount of time remaining before the Other Querier Present Timer expires. If the local system is the querier, the value of this object is zero.
Wrong Version Queries The number of queries received whose IGMP version does not match the IGMP version of the interface.
Number of Joins The number of times a group membership has been added on this interface.
Number of Groups The current number of membership entries for this interface.