3.17.1.2 IGMP Snooping VLAN Configuration

Use this command to enable and configure the IGMP Snooping parameters for VLAN.

Command Syntax:

ip igmp snooping 
ip igmp snooping querier { election | address <ipv4> }
ip igmp snooping compatibility { auto | v1 | v2 | v3 }
ip igmp snooping priority <pcp>
ip igmp snooping robustness-variable <rv>
ip igmp snooping query-interval <qi>
ip igmp snooping query-max-response-time <qri>
ip igmp snooping last-member-query-interval <lmqi>
ip igmp snooping unsolicited-report-interval <uri>
Table 3-78. Command Description

Argument

Description

Parameter

<ipv4>

A valid IPv4 unicast address

auto | v1 | v2 | v3

Auto compatible with IGMPv1/IGMPv2/IGMPv3 or forced one of the IGMP versions.

<pcp>

Priority ranges from 0 to 7

<rv>

Packet loss tolerance count from 1 to 255

<qi>

Query Interval ranges from 1 to 31744 seconds

<qri>

Query Response Interval: 0 to 31744 tenths of seconds.

<lmqi>

Last Member Query Interval: 0 to 31744 tenths of seconds.

<uri>

Unsolicited Report Interval: 1 to 31744 seconds.

Default

N.A

Mode

VLAN Interface mode

Usage

Enable IGMP Snooping for VLAN and settings. To disable, use the ‘no’ version of the command.

Example

Example 1:

Enable IGMP Snooping on VLAN2.

# configure terminal
(config)# interface vlan 2
(config-if-vlan)# ip igmp snooping

Example 2:

Set the IGMP Snooping compatibility to IGMPv3 and set priority to 7.

# configure terminal
(config)# interface vlan 2
(conf-if-vlan)# ip igmp snooping compatibility v3
(conf-if)# ip igmp snooping priority 7