configure esrp priority

configure esrp esrpDomain priority number

Description

Configures the ESRP priority.

Syntax Description

esrpDomain Specifies an ESRP domain number.
number Specifies a number between 0 and 255.

Default

The default ESRP priority is 0.

Usage Guidelines

The ESRP priority is one of the factors used by the ESRP election algorithm in determining which switch is the Master switch.

The range of the priority value is 0 to 254, with 0 being the lowest priority, 254 being the highest. If the ESRP priority is the determining criteria for the election algorithm, the highest priority value determines which switch acts as master for a particular ESRP domain.

Setting the priority to 255 configures the switch to slave mode, and to be ineligible to become the master. The switch remains in slave mode even when the ESRP domain fails over from the current master. This feature is typically used to ensure a switch cannot become the ESRP master while it is offline for servicing.

Example

The following command configures the ESRP priority to the highest priority on ESRP domain esrp1:

configure esrp esrp1 priority 254

History

This command was first available in ExtremeXOS 11.0.

Platform Availability

This command is available on all platforms.