This example shows how to apply IGMP profile 4 to a port:
Device(config)#
interface gigabitethernet1/0/2
Device(config-if)#
ip igmp filter 4
Device(config-if)#
end
This example shows how to limit to 25 the number of IGMP groups that a port can join:
Device(config)#
interface gigabitethernet1/0/2
Device(config-if)#
ip igmp max-groups 25
Device(config-if)#
end
Related Topics
Configuring the IGMP Throttling Action (CLI), on page 50
IGMP Filtering and Throttling Overview, on page 32
Example: Interface Configuration as a Routed Port
This example shows how to configure an interface on the device as a routed port. This configuration is required
on the interface for several IP multicast routing configuration procedures that require running the
no switchport
command.
Device
configure terminal
Device(config)#
interface GigabitEthernet1/0/9
Device(config-if)#
description interface to be use as routed port
Device(config-if)#
no switchport
Device(config-if)#
ip address 20.20.20.1 255.255.255.0
Device(config-if)#
ip pim sparse-dense-mode
Device(config-if)#
ip igmp join-group 224.1.2.3 source 15.15.15.2
Device(config-if)#
end
Device#
configure terminal
Device#
show run interface gigabitEthernet 1/0/9
Current configuration : 166 bytes
!
interface GigabitEthernet1/0/9
no switchport
ip address 20.20.20.1 255.255.255.0
ip pim sparse-dense-mode
ip igmp static-group 224.1.2.3 source 15.15.15.2
end
Example: Interface Configuration as an SVI
This example shows how to configure an interface on the device as an SVI. This configuration is required on
the interface for several IP multicast routing configuration procedures that require running the
no switchport
command.
Device(config)#
interface vlan 150
Device(config-if)#
ip address 20.20.20.1 255.255.255.0
Device(config-if)#
ip pim sparse-dense-mode
Device(config-if)#
ip igmp join-group 224.1.2.3 source 15.15.15.2
Device(config-if)#
end
Device#
configure terminal
Device(config)#
ip igmp snooping vlan 20 static 224.1.2.3
interface gigabitEthernet 1/0/9
IP Multicast Routing Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3650 Switches)
OL-29890-01
83
Configuring IGMP
Example: Interface Configuration as a Routed Port