ip pim dr-priority

Configures the designated router (DR) priority on IPv4 interfaces.

Syntax

ip pim dr-priority priority-value
no ip pim dr-priority priority-value

Command Default

The default DR priority value is 1.

Parameters

priority-value
Specifies the DR priority value as an integer. The range is 0 through 65535.

Modes

Interface configuration mode

Usage Guidelines

The no form of this command restores the default DR priority value, 1.

You must enable PIM globally before you enable it on an interface.

You can configure the ip pim dr-priority command in either Dense mode (DM) or Sparse mode (SM).

If more than one device has the same DR priority on a subnet (as in the case of default DR priority on all), the device with the numerically highest IP address on that subnet is elected as the DR.

The DR priority information is used in the DR election only if all the PIM devices connected to the subnet support the DR priority option. If at least one PIM device on the subnet does not support this option, the DR election falls back to the backwards compatibility mode in which the device with the numerically highest IP address on the subnet is declared the DR regardless of the DR priority values.

Examples

This example configures a DR priority value of 50.

device(config)# interface ethernet 1/1
device(config-if-e10000-1/1)# ip pim dr-priority 50