Configuration Guide     264
Configuring Layer 2 Multicast Multicast Filtering Configuration
The following example shows how to bind the existing Profile 1 to port 1/0/2, and specify 
the maximum number of multicast groups that port 1/0/2 can join as 50 and the Overflow 
Action as Drop:
Switch#configure
Switch(config)#interface gigabitEthernet 1/0/2
Switch(config-if)#ip igmp snooping
Switch(config-if)#ip igmp filter 1
Switch(config-if)#ip igmp snooping max-groups 50
Switch(config-if)#ip igmp snooping max-groups action drop
Switch(config-if)#show ip igmp profile
IGMP Profile 1
             ...
             Binding Port(s)
             Gi1/0/2
Switch(config-if)#show ip igmp snooping interface gigabitEthernet 1/0/2 max-groups
Port                                  Max-Groups                  Overflow-Action
-------------                    ---------------                 ---------------------
Gi1/0/2                            50                                      Drops
Switch(config)#end
Switch#copy running-config startup-config
Binding the MLD Profile to Ports
Step 1 configure
Enter global configuration mode.
Step 2 interface {fastEthernet 
port
 | range fastEthernet 
port-list
 | gigabitEthernet 
port
 | range 
gigabitEthernet 
port-list
 | ten-gigabitEthernet 
port
 | range ten-gigabitEthernet 
port-list
 | port-
channel 
port-channel-id 
| range port-channel 
port-channel-list
} 
Enter interface configuration mode.
Step 3 ipv6 mld filter 
profile-id
Bind the MLD profile to the specified ports.
profile-id
: Specify the ID of the profile to be bound. It should be an existing profile.