96
Configuration procedure
1.
Assign an IP address and subnet mask to each interface, as shown in
. (Details not
shown.)
2.
Configure OSPF on the switches in the PIM-SM domain. (Details not shown.)
3.
Enable IP multicast routing, PIM-SM, and IGMP:
# On Switch D, enable IP multicast routing.
<SwitchD> system-view
[SwitchD] multicast routing
[SwitchD-mrib] quit
# Enable IGMPv3 on the receiver-side interface (VLAN-interface 400).
[SwitchD] interface vlan-interface 400
[SwitchD-Vlan-interface400] igmp enable
[SwitchD-Vlan-interface400] igmp version 3
[SwitchD-Vlan-interface400] quit
# Enable PIM-SM on the other interfaces.
[SwitchD] interface vlan-interface 103
[SwitchD-Vlan-interface103] pim sm
[SwitchD-Vlan-interface103] quit
[SwitchD] interface vlan-interface 104
[SwitchD-Vlan-interface104] pim sm
[SwitchD-Vlan-interface104] quit
# On Switch A, enable IP multicast routing.
<SwitchA> system-view
[SwitchA] multicast routing
[SwitchA-mrib] quit
# Enable PIM-SM on each interface.
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] pim sm
[SwitchA-Vlan-interface100] quit
[SwitchA] interface vlan-interface 101
[SwitchA-Vlan-interface101] pim sm
[SwitchA-Vlan-interface101] quit
[SwitchA] interface vlan-interface 104
[SwitchA-Vlan-interface104] pim sm
[SwitchA-Vlan-interface104] quit
# Configure Switch B and Switch C in the same way Switch A is configured. (Details not shown.)
4.
On Switch D, configure VLAN-interface 104 as a C-BSR and a C-RP.
[SwitchD] pim
[SwitchD-pim] c-bsr 192.168.4.1
[SwitchD-pim] c-rp 192.168.4.1
[SwitchD-pim] quit
5.
Configure the SSM group range:
# On Switch D, specify 232.1.1.0/24 as the SSM group range.
[SwitchD] acl basic 2000
[SwitchD-acl-ipv4-basic-2000] rule permit source 232.1.1.0 0.0.0.255
[SwitchD-acl-ipv4-basic-2000] quit
[SwitchD] pim