25 Settings and Operation for IGMP Snooping and MLD Snooping
25.1 Configuration of IGMP snooping
25.1.1 List of configuration commands
The following table describes the commands used to configure IGMP snooping.
Table 25-1 List of configuration commands
Command name
ip igmp snooping (global)
ip igmp snooping (interface)
ip igmp snooping mrouter
ip igmp snooping querier
25.1.2 Configuring IGMP snooping
Points to note
To run IGMP snooping, specify the settings below for the VLAN used in VLAN
interface configuration mode.
In the following, IGMP snooping functionality is enabled for VLAN 2.
Command examples
1.
(config)# interface vlan 2
(config-if)# ip igmp snooping
(config-if)# exit
Switches to the VLAN interface configuration mode for VLAN 2, and enables IGMP
snooping functionality.
25.1.3 Configuring the IGMP querier functionality
Points to note
When no multicast router exists within a VLAN for which IGMP snooping is set, IGMP
querier functionality needs to be run. Specify the following settings for the VLAN
interface configuration mode for the corresponding VLAN.
Command examples
1.
(config)# interface vlan 2
(config-if)# ip igmp snooping querier
(config-if)# exit
Enables IGMP querier functionality.
Notes
This setting is enabled only if an IPv4 address is set for the corresponding interface.
25.1.4 Configuring multicast router ports
Points to note
When a multicast router is connected within a VLAN for which IGMP snooping is set,
448
Description
Suppresses IGMP snooping for the Switch when
snooping
is set.
Sets IGMP snooping functionality for the specified interface.
Sets IGMP multicast router ports.
Sets IGMP querier functionality.
no ip igmp