The set protocols pimsm4 interface vif dr-priority command is used to configure the Designated Router priority per VLAN interface.
set protocols pimsm4 interface <interface-name> vif <vif-name> dr-priority <dr-priority>
Specifies a L3 VLAN interface. The value is a string.
Specifies a vif 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.
admin@Xorplus# set protocols pimsm4 interface vlan-2 vif vlan-2 dr-priority 100 admin@Xorplus# commit