IGMP snooping querier commands

Use these M4500 CLI commands to configure the IGMP snooping querier address, version, intervals, and VLAN election, and display querier status.

This section describes the commands which are used to configure IGMP Snooping querier.

Note: If you configure the specific IP address as the IGMP snooping querier address, the querier IP address assigned for a VLAN takes precedence over the global querier IP address. If the VLAN is a routing interface with an IP address, this IP address takes precedence over the querier IP address assigned for that VLAN.

ip igmp snooping querier

Use this command to enable IGMP snooping querier admin mode.

Default Disable
Format ip igmp snooping querier
Mode Global Config

no ip igmp snooping querier

Use this command to disable IGMP snooping querier admin mode.

Format no ip igmp snooping querier
Mode Global Config

ip igmp snooping querier address

Use this command to configure IGMP snooping querier address.

Default 0.0.0.0
Format ip igmp snooping querier address <ip-address>
Mode Global Config

no ip igmp snooping querier address

Use this command to restore IGMP snooping querier address to default value.

Format no ip igmp snooping querier address
Mode Global Config

ip igmp snooping querier query-interval

Use this command to configure IGMP snooping querier query interval.

Default 60
Format ip igmp snooping querier query-interval <1-1800>
Mode Global Config

no ip igmp snooping querier query-interval

Use this command to restore IGMP snooping querier query interval to default value.

Format no ip igmp snooping querier query-interval
Mode Global Config

ip igmp snooping querier querier-expiry-interval

Use this command to configure IGMP snooping querier querier expiry interval.

Default 180
Format ip igmp snooping querier querier-expiry-interval <60-300>
Mode Global Config

no ip igmp snooping querier querier-expiry-interval

Use this command to restore IGMP snooping querier querier expiry interval to default value.

Format no ip igmp snooping querier querier-expiry-interval
Mode Global Config

ip igmp snooping querier version

Use this command to configure IGMP snooping querier version.

Default 2
Format ip igmp snooping querier version <1-2>
Mode Global Config

no ip igmp snooping querier version

Use this command to restore IGMP snooping querier version to default value.

Format no ip igmp snooping querier version
Mode Global Config

ip igmp snooping querier vlan

Use this command to enable IGMP snooping querier vlan admin mode.

Default Disable
Format ip igmp snooping querier vlan <vlan-id>
Mode Global Config

no ip igmp snooping querier vlan <vlan-id>

Use this command to disable IGMP snooping querier vlan admin mode.

Format no ip igmp snooping querier vlan <vlan-id>
Mode Global Config
Parameter Description
<vlan-id> The VLAN ID. (Range: 1-4093)

ip igmp snooping querier vlan address

Use this command to configure IGMP snooping querier vlan address.

Default 0.0.0.0
Format ip igmp snooping querier vlan <vlan-id> address <ip-address>
Mode Global Config

no ip igmp snooping querier vlan address

Use this command to restore IGMP snooping querier vlan address to default value.

Format no ip igmp snooping querier vlan <vlan-id> address
Mode Global Config
Parameter Description
<vlan-id> The VLAN ID. (Range: 1-4093)

ip igmp snooping querier vlan election participate

Use this command to enable IGMP snooping querier vlan election participate mode.

Default Disable
Format ip igmp snooping querier vlan election participate <vlan-id>
Mode Global Config

no ip igmp snooping querier vlan election participate

Use this command to disable IGMP snooping querier vlan election participate mode.

Format no ip igmp snooping querier vlan election participate <vlan-id>
Mode Global Config
Parameter Description
<vlan-id> The VLAN ID. (Range: 1-4093)

ip igmp snooping querier ip-order

Use this command to set the precedence order of the IP address used as the source IP in IGMP snooping querier packets.

Default ip igmp snooping querier ip-order vlan-routing vlan-querier global
Format ip igmp snooping querier ip-order [ global | vlan-routing | vlan-querier ]
Mode Global Config

no ip igmp snooping querier ip-order

Use this command to reset the IGMP snooping querier IP precedence order to the default.

Format no ip igmp snooping querier ip-order
Mode Global Config

show ip igmp snooping querier

Use this command to display IGMP snooping querier global information.

Format show ip igmp snooping querier

Display Message

Term Definition
IGMP Snooping Querier Mode Administrative mode for IGMP Snooping. The default is disable.
Querier Address Specify the Snooping Querier Address to be used as source address in periodic IGMP queries. This address is used when no address is configured on the VLAN on which query is being sent.
IGMP Version Specify the IGMP protocol version used in periodic IGMP queries.
Querier Query Interval Specify the time interval in seconds between periodic queries sent by the snooping querier. The Query Interval must be a value in the range of 1 and 1800. The default value is 60.
Querier Expiry Interval Specify the time interval in seconds after which the last querier information is removed. The Querier Expiry Interval must be a value in the range of 60 and 300. The default value is 120.
Querier IP Order Displays the configured IP address precedence order used to select the querier source IP. The default order is vlan-routing vlan-querier global.
Mode Privilege Exec

show ip igmp snooping querier vlan

Use this command to display IGMP snooping querier vlan information.

Format show ip igmp snooping querier vlan <vlan-id>
Mode Privilege Exec
Parameter Description
<vlan-id> The VLAN ID. (Range: 1-4093)

Display Message

Term Definition
IGMP Snooping Querier Vlan Mode Display the administrative mode for IGMP Snooping for the switch.
Querier Election Participation Mode Displays the querier election participate mode on the VLAN. When this mode is disabled, up on seeing a query of the same version in the vlan, the snooping querier move to non querier state. Only when this mode is enabled, the snooping querier will participate in querier election where in the least ip address will win the querier election and operates as the querier in that VLAN. The other querier moves to non-querier state.
Querier Vlan Address Displays the Snooping Querier Address to be used as source address in periodic IGMP queries sent on the specified VLAN.
Operational State Displays the operational state of the IGMP Snooping Querier on a VLAN.
Operational Version Displays the operational IGMP protocol version of the querier.
Operational Max Resp Time Displays the operational IGMP maximum response time of the querier.

show ip igmp snooping querier detail

Use this command to display all of the IGMP snooping querier information.

Format show ip igmp snooping querier detail

Display Message

Last Querier

Term Definition
VLAN ID Indicate the VLAN on which the Querier exists.
Address Indicate the IP address of the most recent Querier from which a Query was received on this VLAN.
IGMP Version Indicate the IGMP protocol version of the most recent Querier from which a Query was received on this VLAN.

Global IGMP Snooping querier status

Term Definition
IGMP Snooping Querier Mode Administrative mode for IGMP Snooping. The default is disable.
Querier Address Specify the Snooping Querier Address to be used as source address in periodic IGMP queries. This address is used when no address is configured on the VLAN on which query is being sent.
IGMP Version Specify the IGMP protocol version used in periodic IGMP queries.
Querier Query Interval Specify the time interval in seconds between periodic queries sent by the snooping querier. The Query Interval must be a value in the range of 1 and 1800. The default value is 60.
Querier Expiry Interval Specify the time interval in seconds after which the last querier information is removed. The Querier Expiry Interval must be a value in the range of 60 and 300. The default value is 120.
Querier IP Order Displays the configured IP address precedence order used to select the querier source IP. The default order is vlan-routing vlan-querier global.
Mode Privilege Exec