17-7
Software Configuration Guide—Release 12.2(25)SG
OL-7659-03
Chapter 17 Configuring IGMP Snooping and Filtering
Configuring IGMP Snooping
This example shows how to configure IP IGMP snooping to learn from CGMP self-join packets:
Switch(config)# ip igmp snooping vlan 1 mrouter learn cgmp
Switch(config)# end
Switch#
Configuring a Multicast Router Port Statical
To configure a static connection to a multicast router, enter the ip igmp snooping mrouter command on
the switch.
To configure a static connection to a multicast router, perform this task:
This example shows how to configure a static connection to a multicast router:
Switch(config)# ip igmp snooping vlan 200 mrouter interface fastethernet 2/10
Switch# show ip igmp snooping mrouter vlan 200
vlan ports
-----+----------------------------------------
200 Fa2/10
Switch#
Enabling IGMP Immediate-Leave Processing
When you enable IGMP immediate-leave processing on a VLAN, a switch will remove an interface from
the multicast group when it detects an IGMPv2 leave message on that interface.
Note For IGMPv3, immediate-leave processing is enabled by default with EHT.
To enable immediate-leave processing on an IGMPv2 interface, perform this task:
Command Purpose
Step 1
Switch(config)# ip igmp snooping vlan
vlan_ID
mrouter interface
interface_num
Specifies a static connection to a multicast router for the
VLAN.
Note The interface to the router must be in the VLAN
where you are entering the command. The router
must be administratively up, and the line
protocol must be up.
Step 2
Switch(config)# end
Exits configuration mode.
Step 3
Switch# show ip igmp snooping mrouter vlan
vlan_ID
Verifies the configuration.
Command Purpose
Switch(config)# ip igmp snooping vlan
vlan_ID
immediate-leave
Enables immediate-leave processing in the
VLAN.
Note This command applies only to IGMPv2
hosts.