Figure 2-3Network diagram for IGMP Snooping configuration

 

 

 

Receiver

 

 

 

 

 

Host A

 

Source

 

 

VLAN100

GE1/0/4

Receiver

 

GE1/0/2

GE 1/0/1

 

 

GE 1/0/3

 

 

1 .1.1.2/24

10 .1 .1.1/24

GE1 /0/1

 

1.1.1.1/24

Router A

 

Switch A

GE1/0/2

Host B

 

IGMP querier

 

 

 

 

Multicast packets

 

Host C

 

 

 

 

 

 

Configuration procedure

1)Configure the IP address of each interface

Configure an IP address and subnet mask for each interface as per Figure 2-3. The detailed configuration steps are omitted.

2)Configure Router A

#Enable IP multicast routing, enable PIM-DM on each interface, and enable IGMP on GigabitEthernet1/0/1.

<RouterA> system-view

[RouterA] multicast routing-enable

[RouterA] interface GigabitEthernet 1/0/1 [RouterA-GigabitEthernet1/0/1] igmp enable

[RouterA-GigabitEthernet1/0/1] quit [RouterA] interface GigabitEthernet 1/0/2 [RouterA-GigabitEthernet1/0/2] pim dm

[RouterA-GigabitEthernet1/0/2] quit

3)Configure Switch A

# Enable IGMP Snooping globally.

<SwitchA> system-view

[SwitchA] igmp-snooping enable

Enable IGMP-Snooping ok.

#Create VLAN 100, assign GigabitEthernet1/0/1 through GigabitEthernet1/0/4 to this VLAN, and enable IGMP Snooping in the VLAN.

[SwitchA] vlan 100

[SwitchA-vlan100] port GigabitEthernet 1/0/1 to GigabitEthernet 1/0/4

[SwitchA-vlan100] igmp-snooping enable

[SwitchA-vlan100] quit

4)Verify the configuration

# View the detailed information of the multicast group in VLAN 100 on Switch A.

<SwitchA> display igmp-snooping group vlan100

2-16

Page 469
Image 469
3Com WX3000 3Network diagram for Igmp Snooping configuration, Configure Switch a # Enable Igmp Snooping globally