Setting a Priority to Determine the Designated Router for IPv4
You can influence whether a particular router is selected as the designated router with the ip pim dr-priority command. A higher priority value increases the likelihood that a router is selected as the designated router, while a lower value decreases the likelihood. The ip pim dr-priority command in Router Configuration mode sets the designated router priority on all the PIM interfaces on the router. To override this global setting on a particular interface, use the ip pim dr-priority command in Interface Configuration mode.
![]() | Note: You cannot set the designated router priority on PIM dense mode interfaces. |
- To set a priority value, in the range 1–254, by
which a router is likely to be selected as the designated router,
issue the ip pim dr-priority command.
In Router Configuration mode:
host1(config-router)#ip pim dr-priority 24The no version restores the default value. The default value is 1.
In Interface Configuration mode:
host1(config-subif)#ip pim dr-priority 24The no version restores the value that is specified in Router Configuration mode.