Configuring IGMP Snooping
Configuring a Host Statically
Hosts normally join multicast groups dynamically, but you can also configure a host statically for a
Layer 2 LAN port.
To configure a host statically for a Layer 2 LAN port, perform this task:
Command
Step 1
Router(config)# interface vlan vlan_ID
Step 2
Router(config)# mac-address-table static mac_addr
vlan vlan_id interface type
[disable-snooping]
Router(config)# no mac-address-table static
mac_addr vlan vlan_id
1.
type = ethernet, fastethernet, gigabitethernet, or tengigabitethernet
With Release 12.1(11b)E2 and later releases, you can enter the disable-snooping keyword to prevent
multicast traffic addressed to the statically configured multicast MAC address from being sent to
multicast router ports in the same VLAN.
This example shows how to configure a host statically in VLAN 12 on FastEthernet port 5/7:
Router(config)# mac-address-table static 0050.3e8d.6400 vlan 12 interface fastethernet 5/7
All releases support the mac-address-table static command. The ip igmp snooping static command,
which was available in earlier releases and which provided the same functionality as the
mac-address-table static command, is deprecated in Release 12.1(13)E and later releases.
Displaying IGMP Snooping Information
These sections describe displaying IGMP snooping information:
•
•
•
Displaying Multicast Router Interfaces
When you enable IGMP snooping, the switch automatically learns to which interface multicast routers
are connected.
To display multicast router interfaces, perform this task:
Command
Router# show ip igmp snooping mrouter
interface vlan_ID
Catalyst 6500 Series Switch Cisco IOS Software Configuration Guide—Release 12.1 E
21-12
1
slot/port
Displaying Multicast Router Interfaces, page 21-12
Displaying MAC Address Multicast Entries, page 21-13
Displaying IGMP Snooping Information for a VLAN Interface, page 21-13
Chapter 21
Purpose
Selects a VLAN interface.
Configures a static connection to a multicast router.
Clears a static connection to a multicast router.
Purpose
Displays multicast router interfaces.
Configuring IGMP Snooping
78-14099-04