clear esrp sticky

clear esrp esrpDomain sticky


Clears the stickiness in the ESRP domain and forces the election of the ESRP master switch.

Syntax Description


Specifies the name of an ESRP domain.



Usage Guidelines

Use the clear esrp sticky command to force the election of the ESRP master switch. Before using this command, schedule a downtime for your network.

For example, without stickiness configured, if an event causes the ESRP master to failover to the backup, the previous backup becomes the new master. If another event causes the new master to return to backup, you have experienced two network interruptions. To prevent this, use the configure esrp election-policy command and select stickiness as an election algorithm.

If you use sticky as an election metric, and an event causes the ESRP master to failover, ESRP assigns the new master with the highest sticky election metric of 1. Therefore, regardless of changes to the neighbor‘s election algorithm, the new master retains its position. Sticky is set on the master switch only.

ESRP re-election can occur if sticky is set on the master and a local event occurs. During this time, if the current master has lower election parameters, the backup can become the new master.

If you use clear esrp esrpDomain sticky command, it only affects the current master and can trigger ESRP re-election.


The following command clears the stickiness on the ESRP domain esrp1:

clear esrp esrp1 sticky


This command was first available in ExtremeXOS 11.0.

Platform Availability

This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, and X695 series switches.