Concept Guide
Preventing a PIM Router from Forming an Adjacency
To prevent a router from participating in PIM (for example, to congure stub multicast routing), use the following command.
• Prevent a router from participating in PIM.
INTERFACE mode
ip pim neighbor-filter
Setting a Threshold for Switching to the SPT
The functionality to specify a threshold for switchover to the shortest path trees (SPTs) is available on the system. After a receiver
receives trac from the RP, PM-SM switches to SPT to forward multicast trac. Every multicast group has an RP and a unidirectional
shared tree (group-specic shared tree).
The SPT-Threshold is zero, which means that the last-hop designated router (DR) joins the shortest path tree (SPT) to the source upon
receiving the rst multicast packet.
Initially, a single PIM-SM tree called a shared tree to distribute trac. It is called shared because all trac for the group, regardless of the
source, or the location of the source, must pass through the RP. The shared tree is unidirectional; that is, all multicast trac ows only from
the RP to the receivers. Once a receiver receives trac from the RP, PM-SM switches to SPT to forward multicast trac, which connects
the receiver directly to the source.
You can congure PIM to switch over to the SPT when the router receives multicast packets at or beyond a specied rate.
Table 66.
Conguring PIM to Switch Over to the SPT
Conguring PIM to Switch Over to the SPT Command Mode
IPv4 Congure PIM to switch over to the SPT when the multicast
packet rate is at or beyond a specied rate. The keyword innity
directs PIM to never switch to the SPT.
ip pim spt-threshold {|
innity}
CONFIGURATION
IPv6 Congure PIM to switch over to the SPT when the multicast
packet rate is at or beyond a specied rate. The keyword innity
directs PIM to never switch to the SPT.
ip pim spt-threshold {|
innity}
CONFIGURATION
Preventing a Source from Registering with the RP
To prevent the PIM source DR from sending register packets to route processor (RP) for the specied multicast source and group, use the
following command. If the source DR never sends register packets to the RP, no hosts can ever discover the source and create a shortest
path tree (SPT) to it.
• Prevent a source from transmitting to a particular group.
CONFIGURATION mode
ip pim register-filter
In the following example, Source 1 and Source 2 are both transmitting packets for groups 239.0.0.1 and 239.0.0.2. R3 has a PIM register
lter that only permits packets destined for group 239.0.0.2. An entry is created for group 239.0.0.1 in the routing table, but no outgoing
interfaces are listed. R2 has no lter, so it is allowed to forward both groups. As a result, Receiver 1 receives only one transmission, while
Receiver 2 receives duplicate transmissions.
Multicast Features
615










