set protocols pimsm4 interface vif dr-priority
The set protocols pimsm4 interface vif dr-priority command is used to configure the Designated Router priority per VLAN interface.
Command Syntax
set protocols pimsm4 interface <interface-name> vif <vif-name> dr-priority <dr-priority>
Parameter
Parameter | Description |
interface <interface-name> | Specifies a L3 VLAN interface. The value is a string. |
vif <vif-name> | Specifies a vif interface. The value is a string. |
dr-priority <dr-priority> | 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. |
Usage Guidelines
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.
Example
- Configure the Designated Router priority for the PIM interface vlan-2 to 100.
admin@Xorplus# set protocols pimsm4 interface vlan-2 vif vlan-2 dr-priority 100 admin@Xorplus# commit
Copyright © 2025 Pica8 Inc. All Rights Reserved.