/
set protocols pim interface drpriority

set protocols pim interface drpriority


The set protocols pim interface drpriority command is used to configure the Designated Router priority per VLAN interface.


Command Syntax

set protocols pim interface <interface-name> drpriority <dr-priority>


Parameter

Parameter

Description

interface <interface-name>

Specifies a L3 VLAN interface. The value is a string.

drpriority <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 pim interface vlan-2 drpriority 100
admin@Xorplus# commit

Copyright © 2025 Pica8 Inc. All Rights Reserved.