122
2. Configure OSPF on all switches on the PIM-SM network to meet the following requirements:
(Details not shown.)
{ The switches are interoperable at the network layer.
{ The switches can dynamically update their routing information.
3. Enable IP multicast routing, and enable IGMP and PIM-SM:
# On Switch A, enable IP multicast routing.
<SwitchA> system-view
[SwitchA] multicast routing
[SwitchA-mrib] quit
# Enable IGMP on VLAN-interface 100 (the interface that connects to the stub network).
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] igmp enable
[SwitchA-Vlan-interface100] quit
# Enable PIM-SM on the other interfaces.
[SwitchA] interface vlan-interface 101
[SwitchA-Vlan-interface101] pim sm
[SwitchA-Vlan-interface101] quit
[SwitchA] interface vlan-interface 102
[SwitchA-Vlan-interface102] pim sm
[SwitchA-Vlan-interface102] quit
# Enable IP multicast routing, IGMP, and PIM-SM on Switch B and Switch C in the same way
Switch A is configured. (Details not shown.)
# Enable IP multicast routing and PIM-SM on Switch D and Switch E in the same way Switch A is
configured. (Details not shown.)
4. Configure C-BSRs, C-RPs, and the static RP:
# On Switch E, configure the service scope of RP advertisements.
<SwitchE> system-view
[SwitchE] acl number 2005
[SwitchE-acl-basic-2005] rule permit source 225.1.1.0 0.0.0.255
[SwitchE-acl-basic-2005] quit
# Configure VLAN-interface 102 as a C-BSR and a C-RP, and configure VLAN-interface 101 of
Switch D as the static RP.
[SwitchE] pim
[SwitchE-pim] c-bsr 192.168.9.2
[SwitchE-pim] c-rp 192.168.9.2 group-policy 2005
[SwitchE-pim] static-rp 192.168.1.2
[SwitchE-pim] quit
# On Switch A, configure VLAN-interface 101 of Switch D as the static RP.
[SwitchA] pim
[SwitchA-pim] static-rp 192.168.1.2
[SwitchA-pim] quit
# Configure the static RP on Switch B, Switch C, and Switch D in the same way Switch A is
configured. (Details not shown.)
Verifying the configuration
# Display PIM information on Switch A.