Configuration Examples for IGMP
Example: Configuring the Device as a Member of a Multicast Group
This example shows how to enable the device to join multicast group 255.2.2.2:
Device(config)# interface gigabitethernet1/0/1
Device(config-if)# ip igmp join-group 255.2.2.2
Device(config-if)#
Related Topics
Configuring the Device as a Member of a Group (CLI), on page 34
Joining a Multicast Group, on page 28
Configuring the Device as a Member of a Group (CLI), on page 34
IP Multicast Group Addresses, on page 22
Example: Controlling Access to Multicast Groups
To limit the number of joins on the interface, configure the port for filter which associates with the IGMP
profile.
Device# configure terminal
Device(config)# ip igmp profile 10
Device(config-igmp-profile)# ?
IGMP profile configuration commands:
deny matching addresses are denied
exit Exit from igmp profile configuration mode
no Negate a command or set its defaults
permit matching addresses are permitted
range add a range to the set
Device(config-igmp-profile)# range 172.16.5.1
Device(config-igmp-profile)# exit
Device(config)#
Device(config)# interface gigabitEthernet 2/0/10
Device(config-if)# ip igmp filter 10
Related Topics
Controlling Access to IP Multicast Group (CLI), on page 36
Examples: Configuring IGMP Snooping
This example shows how to enable a static connection to a multicast router:
Device# configure terminal
Device(config)# ip igmp snooping vlan 200 mrouter interface gigabitethernet1/0/2
IP Multicast Routing Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3650 Switches)
OL-29890-01 81
Configuring IGMP
Configuration Examples for IGMP