37
Host A and host C are permanent receivers of multicast group 224.1.1.1. Ethernet 1/0/3 and Ethernet
1/0/5 on Switch C are required to be configured as static member ports for multicast group 224.1.1.1 to
enhance the reliability of multicast traffic transmission.
Suppose STP runs on the network. To avoid data loops, the forwarding path from Switch A to Switch C
is blocked under normal conditions, and multicast traffic flows to the receivers attached to Switch C only
along the path of Switch A—Switch B—Switch C.
Configure Ethernet 1/0/3 on Switch A as a static router port, so that multicast traffic can flow to the
receivers nearly uninterruptedly along the path of Switch A—Switch C in the case that the path of Switch
A—Switch B—Switch C gets blocked.
For more information about the Spanning Tree Protocol (STP), see
Layer 2—LAN Switching Configuration
Guide
.
NOTE:
If no static router port is configured, when the path of Switch A—Switch B—Switch C gets blocked, at least
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 14
Network diagram
Configuration procedure
1.
Configure an IP address and subnet mask for each interface as per
. (Details not shown.)
2.
On Router A, enable IP multicast routing, enable IGMP on Ethernet 1/0/1, and enable PIM-DM on
each interface.
<RouterA> system-view
[RouterA] multicast routing-enable
[RouterA] interface ethernet 1/0/1
[RouterA-Ethernet1/0/1] igmp enable
[RouterA-Ethernet1/0/1] pim dm
Source
1.1.1.1/24
Router A
IGMP querier
Eth1/0/1
10.1.1.1/24
Switch A
Switch B
Switch C
Eth1/0/1
Et
h1
/0/
2
Eth
1/0
/3
Et
h1
/0/
1
Eth
1/0
/1
Eth
1/0
/3
Et
h1
/0/
5
Host A
Receiver
Host B
Host C
Receiver
VLAN 100
Eth1/0/2
1.1.1.2/24