IBM 12.1(22)EA6 User Manual

Page of 550
 
14-10
Cisco Systems Intelligent Gigabit Ethernet Switch Modules for the IBM BladeCenter, Software Configuration Guide
24R9746
Chapter 14      Configuring IGMP Snooping and MVR
Configuring IGMP Snooping
This example shows how to configure IGMP snooping to use CGMP packets as the learning method:
Switch# configure terminal
Switch(config)# ip igmp snooping vlan 1 mrouter learn cgmp
Switch(config)# end       
To return to the default learning method, use the no ip igmp snooping vlan vlan-id mrouter learn cgmp 
global configuration command.
Configuring a Multicast Router Port
To add a multicast router port (add a static connection to a multicast router), use the ip igmp snooping 
vlan mrouter
 global configuration command on the switch. 
Beginning in privileged EXEC mode, follow these steps to enable a static connection to a multicast 
router:
To remove a multicast router port from the VLAN, use the no ip igmp snooping vlan vlan-id mrouter 
interface
 interface-id global configuration command.
This example shows how to enable a static connection to a multicast router and verify the configuration:
Switch# configure terminal
Switch(config)# ip igmp snooping vlan 200 mrouter interface gigabitethernet0/17
Switch(config)# end
Configuring a Host Statically to Join a Group
Hosts or Layer 2 ports normally join multicast groups dynamically, but you can also statically configure 
a host on an interface. 
Beginning in privileged EXEC mode, follow these steps to add a Layer 2 port as a member of a multicast 
group:
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
ip igmp snooping vlan vlan-id mrouter 
interface 
interface-id
Specify the multicast router VLAN ID and specify the interface 
to the multicast router. The VLAN ID range is 1 to 4094.
Step 3
end
Return to privileged EXEC mode.
Step 4
show ip igmp snooping mrouter [vlan vlan-id] Verify that IGMP snooping is enabled on the VLAN interface.
Step 5
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Command
Purpose
Step 1
configure terminal
Enter global configuration mode
Step 2
ip igmp snooping vlan vlan-id static 
mac-address interface interface-id
Statically configure a Layer 2 port as a member of a multicast 
group:
vlan-id is the multicast group VLAN ID.
mac-address is the group MAC address.
interface-id is the member port.