The router's priority value for becoming the RP is included in the bootstrap messages that the router sends. Use a smaller number to increase the likelihood that the router becomes the RP for local multicast groups. Each PIM router uses the priority value and other factors to determine the candidate RPs for a particular group range. After the set of candidate RPs is distributed, each router determines algorithmically the RP from the candidate RP set using a well-known hash function.
By default, the priority value is set to 1. If this value is set to 0, the bootstrap router can override the group range being advertised by the candidate RP. To modify the router's priority, include the priority statement:
-
priority number;
You can include this statement at the following hierarchy levels:
The priority can be a number from 0 through 255.