The set protocols pim interface drpriority command is used to configure the Designated Router priority per VLAN interface.
set protocols pim interface <interface-name> drpriority <dr-priority>
Specifies a L3 VLAN interface. The value is a string.
Specifies the Designated Router priority. The greater the value, the higher the priority.
The value is an integer that ranges from 1 to 4294967295. The default value is 1.
The DR election is based on the priority and the IP address. To elect the DR, the PIM neighbors send the Hello message that contains the DR priority to each other. The switch with the highest priority functions as the DR. If the switches have the same priority, the switch with the largest IP address functions as the DR.
- Configure the Designated Router priority for the PIM interface vlan-2 to 100.
admin@Xorplus# set protocols pim interface vlan-2 drpriority 100 admin@Xorplus# commit