Prerequisites
Configuration
© Copyright IBM Corp. 2011
Before you configure IGMP Snooping, ensure you have performed the following
actions:
•
Configured VLANs.
•
Enabled IGMP.
•
Configured a switch or Mrouter as the Querier.
•
Identified the IGMP version(s) you want to enable.
•
Disabled IGMP flooding.
•
Disabled IGMP Snooping.
This section provides the configuration details of the switches in
Switch A Configuration
1. Configure a VLAN.
RS G8000(config)# vlan 2
RS G8000(config-vlan)# enable
RS G8000(config-vlan)# member 1-5
RS G8000(config-vlan)# exit
2. Configure an IP interface with IPv4 address, and assign a VLAN..
RS G8000(config)# interface ip 2
RS G8000(config-ip-if)# ip address 2.2.2.10 enable
RS G8000(config-ip-if)# vlan 2
RS G8000(config-ip-if)# exit
3. Configure STP and root bridge. Assign a bridge priority lower than the default
bridge priority to enable the switch to become the STP root in STG 2 and 3.
RS G8000(config)# spanning-tree mode pvrst
RS G8000(config)# spanning-tree stp 2 vlan 2
RS G8000(config)# spanning-tree stp 2 bridge priority 4096
4. Configure LACP dynamic trunk groups (portchannels).
RS G8000(config)# interface port 1,2
RS G8000(config-if)# lacp key 100
RS G8000(config-if)# lacp mode active
RS G8000(config-if)# exit
RS G8000(config)# interface port 3,4
RS G8000(config-if)# lacp key 200
RS G8000(config-if)# lacp mode active
Chapter 19. Internet Group Management Protocol
Figure
21.
231