Configuring Layer 2 Multicast
IGMP Snooping Configurations
Configuration Guide
303
Step 2
interface {fastEthernet
port
| range fastEthernet
port-list
| gigabitEthernet
port
| range
gigabitEthernet
port-list
| port-channel
port-channel-id
| range port-channe
port-channel-list
}
Enter interface configuration mode
Step 3
ip igmp filter
profile-id
Bind profile-id to the specified port.
Step 4
show ip igmp profile
[
id
]
Show the detailed IGMP profile configuration.
Step 5
end
Return to privileged EXEC mode.
Step 6
copy running-config startup-config
Save the settings in the configuration file.
The following example shows how to bind Profile 1 to port 1/0/2 so that port 1/0/2 filters
multicast data sent to 226.0.0.5-226.0.0.10:
Switch#configure
Switch(config)#ip igmp snooping
Switch(config)#ip igmp profile
1
Switch(config-igmp-profile)#deny
Switch(config-igmp-profile)#range
226.0.0.5 226.0.0.10
Switch(config-igmp-profile)#exit
Switch(config)#interface gigabitEthernet
1/0/2
Switch(config-if)#ip igmp snooping
Switch(config-if)#ip igmp filter
1
Switch(config-if)#show ip igmp profile
IGMP Profile 1
deny
range 226.0.0.5 226.0.0.10
Binding Port(s)
Gi1/0/2
Switch(config)#end
Switch#copy running-config startup-config