43
NOTE:
If no static router port is configured, when the path of Switch A—Switch B—Switch C
ets blocked, at leas
one IGMP query-response cycle must be completed before the multicast data can flow to the receivers
along the new path of Switch A—Switch C. Namely multicast delivery will be interrupted during this
process.
Figure 15 Network diagram
Configuration procedure
1. Configure an IP address and subnet mask for each interface as per Figure 15. (Details not shown.)
2. On Router A, enable IP multicast routing, enable IGMP on GigabitEthernet 1/0/1, and enable
PIM-DM on each interface.
<RouterA> system-view
[RouterA] multicast routing-enable
[RouterA] interface gigabitethernet 1/0/1
[RouterA-GigabitEthernet1/0/1] igmp enable
[RouterA-GigabitEthernet1/0/1] pim dm
[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
[SwitchA-igmp-snooping] quit
Source
1.1.1.1/24
Router A
IGMP querier
GE1/0/1
10.1.1.1/24
Switch A
Switch B
Switch C
GE1/0/1
G
E
1
/
0
/
2
G
E
1
/
0
/
3
GE
1
/
0
/
1
G
E
1
/
0
/
1
G
E
1
/
0
/
3
G
E
1
/
0
/
5
Host A
Receiver
Host B
Host C
Receiver
VLAN 100
GE1/0/2
1.1.1.2/24