# Setting a Priority to Determine the Designated Router

You can influence whether a particular router is selected as the designated router with the ipv6 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 ipv6 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 ipv6 pim dr-priority command in Interface Configuration mode.

| Note: You cannot configure the designated router priority on PIM DM interfaces.

ipv6 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)#ipv6 pim dr-priority 24

  In Interface Configuration mode:

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