Multicast Filtering Commands
4-177
4
ip igmp snooping
This command enables IGMP snooping on this switch. Use t he no form to disable it.
Syntax
[no] ip igmp snooping
Default Setting
Enabled
Command Mode
Global Configuration
Example
The following example enables IGMP snooping.
ip igmp snooping vlan static
This command adds a port to a multicast group. Use the no form to remove the port.
Syntax
[no] ip igmp snooping vlan vlan-id static ip-address interface
vlan-id - VLAN ID (Range: 1-4094)
ip-address - IP address for multicast group
interface
ethernet unit/port
-unit - This is device 1.
-port - Port number.
port-channel channel-id (Range: 1-4)
Default Setting
None
Command Mode
Global Configuration
Example
The following shows how to statically configure a multicast group on a port:
Console(config)#ip igmp snooping
Console(config)#
Console(config)#ip igmp snooping vlan 1 static 224.0.0.12 ethernet 1/5
Console(config)#