For more information about the STP, see Layer 2—LAN Switching Configuration Guide.
Figure 13 Network diagram
Configuration procedure
Assign an IP address and subnet mask to each interface as shown in
1.
shown.)
On Router A, enable IP multicast routing globally, enable IGMP on Ten-GigabitEthernet 1/0/1,
2.
and enable PIM-DM on each interface.
<RouterA> system-view
[RouterA] multicast routing-enable
[RouterA] interface ten-gigabitethernet 1/0/1
[RouterA-Ten-GigabitEthernet1/0/1] igmp enable
[RouterA-Ten-GigabitEthernet1/0/1] pim dm
[RouterA-Ten-GigabitEthernet1/0/1] quit
[RouterA] interface ten-gigabitethernet 1/0/2
[RouterA-Ten-GigabitEthernet1/0/2] pim dm
[RouterA-Ten-GigabitEthernet1/0/2] quit
Configure Switch A:
3.
# Enable IGMP snooping globally.
<SwitchA> system-view
[SwitchA] igmp-snooping
[SwitchA-igmp-snooping] quit
# Create VLAN 100, assign Ten-GigabitEthernet 1/0/1 through Ten-GigabitEthernet 1/0/3 to
the VLAN, and enable IGMP snooping for the VLAN.
[SwitchA] vlan 100
[SwitchA-vlan100] port ten-gigabitethernet 1/0/1 to ten-gigabitethernet 1/0/3
[SwitchA-vlan100] igmp-snooping enable
[SwitchA-vlan100] quit
28
Figure
13. (Details not