3.17.1.1 IGMP Snooping Basic Configuration

IGMP global and port related configuration.

Command Syntax:

ip igmp snooping 
ip igmp unknown-flooding 
ip igmp ssm-range <prefix_addr> <prefix_len>
ip igmp host-proxy [ leave-proxy ]
ip igmp snooping mrouter 
ip igmp snooping immediate-leave 
ip igmp snooping max-groups <grp_cnt_max>
Table 3-77. Command Description

Argument

Description

Parameter

<prefix_addr>

IPv4 multicast address

<prefix_len>

Prefix length ranges from 4 to 32

<grp_cnt_max>

Maximum number of IGMP group registrations

Default

N.A

Mode

Global Configuration mode and Port List Interface mode (for type, immediate leave, and throttling settings).

Usage

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

Example

Example 1:

Enable the IGMP Snooping and unregistered IPMCv4 Flooding.

# configure terminal
(config)# ip igmp snooping
(config)# ip igmp unknown-flooding

Example 2:

Set port 2 type as Router port and enable the immediate leave setting.

# configure terminal
(config)# interface GigabithEthernet 1/2
(conf-if)# ip igmp snooping mrouter
(conf-if)# ip igmp snooping immediate-leave