Configuration Guide User guide
1538 FastIron Configuration Guide
53-1002494-02
PIM Sparse
• Shortest Path – Each PIM Sparse router that is a DR for a multicast source calculates a
shortest path tree (SPT) to all the PIM Sparse group receivers within the domain, with the Layer
3 switch itself as the root of the tree. The first time a Brocade Layer 3 switch configured as a
PIM router receives a packet for a PIM receiver, the Layer 3 switch sends the packet to the RP
for the group. The Layer 3 switch also calculates the SPT from itself to the receiver. The next
time the Layer 3 switch receives a PIM Sparse packet for the receiver, the Layer 3 switch sends
the packet toward the receiver using the shortest route, which may not pass through the RP.
By default, the device switches from the RP to the SPT after receiving the first packet for a given
PIM Sparse group. The Layer 3 switch maintains a separate counter for each PIM Sparse
source-group pair.
After the Layer 3 switch receives a packet for a given source-group pair, the Layer 3 switch starts a
PIM data timer for that source-group pair. If the Layer 3 switch does not receive another packet for
the source-group pair before the timer expires, it reverts to using the RP for the next packet
received for the source-group pair. In accordance with the PIM Sparse RFC recommendation, the
timer is 210 seconds and is not configurable. The counter is reset to zero each time the Layer 3
switch receives a packet for the source-group pair.
You can change the number of packets that the Layer 3 switch sends using the RP before switching
to using the SPT. To do so, use the following CLI method.
Brocade(config)#router pim
Brocade(config-pim-router)#spt-threshold 1000
Syntax: [no] spt-threshold infinity | <num>
The infinity | <num> parameter specifies the number of packets. If you specify infinity, the Layer 3
switch sends packets using the RP indefinitely and does not switch over to the SPT. If you enter a
specific number of packets, the Layer 3 switch does not switch over to using the SPT until it has
sent the number of packets you specify using the RP.
NOTE
Since the hardware is not programmed for RPT, the rate that the client receives multicast traffic
depends on the software forwarding capability of the CPU when the Layer 3 Switch sends packets
using the RPT.
Changing the PIM join and prune message interval
By default, the Layer 3 switch sends PIM Sparse Join/Prune messages every 60 seconds. These
messages inform other PIM Sparse routers about clients who want to become receivers (Join) or
stop being receivers (Prune) for PIM Sparse groups.
You can change the Join/Prune message interval using the following CLI method.
NOTE
Use the same Join/Prune message interval on all the PIM Sparse routers in the PIM Sparse domain.
If the routers do not all use the same timer interval, the performance of PIM Sparse can be adversely
affected.
To change the Join/Prune interval, enter commands such as the following.
Brocade(config)#router pim
Brocade(config-pim-router)#message-interval 30
Syntax: [no] message-interval <num>