# Setting a Priority to Determine the Designated Router

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.

ip pim dr-priority

- Use to set a priority value, in the range 1–254, by which a router is likely to be selected as the designated router.
- Examples

  In Router Configuration mode:

  host1(config-if)#ip pim dr-priority 24

  In Interface Configuration mode:

  host1(config-subif)#ip pim dr-priority 24
- Use the no version to restore the default value, 1.
- See ip pim dr-priority.