32.1.5 Configuring IGMP snooping on a stack
- Points to note
-
When IGMP snooping is used in the stack, configure settings for simultaneous use with IPv4 multicast and for operation with IPv4 multicast. To operate IPv4 multicast, use ip pim sparse-mode command. Configure IPv4 PIM on one or more interfaces. You can also use either ip pim sparse-mode command or ip igmp router command to configure VLAN that use IGMP snooping to use IGMP.
For example, to use IPv4 PIM for VLAN2 and to enable IGMP snooping in VLAN3: Set the stack operation in advance.
Command examples
-
(config)# swrt_multicast_table
Configure settings to use IPv4 multicast and IGMP snooping at the same time.
-
(config)# ip multicast-routing
Enables the use of IPv4 multicast.
-
(config)# interface vlan 2
(config-if)# ip address 172.16.1.100 255.255.255.0
Switches to VLAN interface configuration mode of VLAN2 and sets IPv4.
-
(config-if)# ip pim sparse-mode
Configure VLAN2 to use IPv4 PIM.
-
(config-if)# interface vlan 3
(config-if)# ip address 172.16.2.100 255.255.255.0
Switches to VLAN interface configuration mode of VLAN3 and sets IPv4.
-
(config-if)# ip igmp router
Configure VLAN3 to use IGMP.
-
(config-if)# ip igmp snooping
Configures VLAN3 to enable IGMP snooping.