714
Configuring IP Multicast Routing
Configuring Optional IGMP Features
DETAILED STEPS
To cancel membership in a group, use the no ip igmp join-group group-address interface configuration command.
EXAMPLE
This example shows how to enable the switch to join multicast group 255.2.2.2:
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# ip igmp join-group 255.2.2.2
Controlling Access to IP Multicast Groups
The switch sends IGMP host-query messages to find which multicast groups have members on attached local networks.
The switch then forwards to these group members all packets addressed to the multicast group. You can place a filter
on each interface to restrict the multicast groups that hosts on the subnet serviced by the interface can join.
This procedure is optional.
BEFORE YOU BEGIN
Review the Information About IGMP, page 676.
Command Purpose
1. configure terminal Enter global configuration mode.
2. interface interface-id Specify the interface to be configured, and enter interface
configuration mode.
3. no shutdown Enable the port, if necessary. By default, UNIs and ENIs are
disabled, and NNIs are enabled.
4. ip igmp join-group
group-address
Configure the switch to join a multicast group.
By default, no group memberships are defined.
For group-address, specify the multicast IP address in dotted
decimal notation.
5. end Return to privileged EXEC mode.
6. show ip igmp interface
[interface-id]
Verify your entries.
7. copy running-config
startup-config
(Optional) Save your entries in the configuration file.