520 CHAPTER 36: CONFIGURING PIM-SM
After the above configuration, execute the display command in all views to
display PIM-SM configuration, and to verify the effect of the configuration.
Executethe debugging command in system view for the debugging of PIM-SM.
PIM-SM Configuration
Example In the actual network, because different manufacturers provide routing
equipment, the routing protocols are different. Because the PIM protocol is
independent of any specific unicast protocol, there is no need to pay attention to
the unicast protocol. The the purpose of this example, the routers are mutually
accessible.
Figure 164 PIM-SM comprehensive configuration networking diagram
1Configure Router A
aEnable PIM-SM protocol
[RouterA] multicast routing-enable
[RouterA] interface ethernet 0
[RouterA-Ethernet0] pim sm
[RouterA-Ethernet0] interface serial 0
[RouterA-Serial0] pim sm
[RouterA-Serial0] interface serial 1
[RouterA-Serial1] pim sm
bConfigure the threshold value of the multicast group switching from the shared
tree to the shortest path tree to be 10kbps.
[RouterA]acl 5
[RouterA-acl-5]rule permit source 225.0.0.0 255.0.0.0
[RouterA-acl-5]pim
[RouterA-pim] spt-switch-threshold 10 accept-policy 5
2Configure Router B
aEnable PIM-SM protocol
[RouterB] multicast routing-enable
[RouterB] interface serial 0
[RouterB-Serial0] pim sm
[RouterB] interface serial 1
Host A Host B
Router A
Router B
Router C
Router D
e0 s0 s0
s1 s1
s1
s0 s2
s0
e0