Example
The following example enables IGMP snooping.
Console(config)#ip igmp snooping
Console(config)#
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-4093)
• ip-address - IP address for multicast group
• interface
• ethernet unit/port
- unit - Stack unit. (Range: 1-8)
- port - Port number. (Range: 1-26/50)
• port-channel channel-id (Range: 1-32)
Default Setting
None
Command Mode
Global Configuration
Command Usage
• Static multicast entries are never aged out.
• When a multicast entry is assigned to an interface in a specific VLAN, the
corresponding traffic can only be forwarded to ports within that VLAN.
Example
The following shows how to statically configure a multicast group on a port:
Console(config)#ip igmp snooping vlan 1 static 224.0.0.12 ethernet 1/5
Console(config)#
ip igmp snooping version
This command configures the IGMP snooping version. Use the
no
form to restore
the default.
Syntax
ip igmp snooping {1 | 2 | 3}
no ip igmp snooping version
• 1 - IGMP Version 1
• 2 - IGMP Version 2
• 3 - IGMP Version 3
37-2
Multicast Filtering Commands
37