Example: Configuring IGMP Profiles
This example shows how to create IGMP profile 4 allowing access to the single IP multicast address and how
to verify the configuration. If the action was to deny (the default), it would not appear in the show ip igmp
profile output display.
Device(config)# ip igmp profile 4
Device(config-igmp-profile)# permit
Device(config-igmp-profile)# range 229.9.9.0
Device(config-igmp-profile)# end
Device# show ip igmp profile 4
IGMP Profile 4
permit
range 229.9.9.0 229.9.9.0
Example: Applying IGMP Profile
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
Example: Setting the Maximum Number of IGMP Groups
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
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
IP Multicast Routing Configuration Guide, Cisco IOS XE Release 3.6E (Catalyst 3850 Switches)
OL-32598-01 95
Configuring IGMP
Example: Configuring IGMP Profiles