ESRP Election Algorithms describes the ESRP election algorithms. Each algorithm considers the election factors in a different order of precedence. The election algorithms that use sticky and weight are only available in extended mode.
| Election Algorithm | Description | 
|---|---|
| ports > track > priority | Specifies that this ESRP domain should consider election factors in the following order: active ports, tracking information, ESRP priority. | 
| ports > track > priority > mac | Specifies that this ESRP
                                domain should consider election factors in the following order:
                                active ports, tracking information, ESRP priority, MAC
                                    address. Note: This is the default election algorithm for
                                    standard mode. | 
| priority > mac | Specifies that this ESRP domain should consider election factors in the following order: ESRP priority, MAC address. | 
| priority > ports > track > mac | Specifies that this ESRP domain should consider election factors in the following order: ESRP priority, active ports, tracking information, MAC address. | 
| priority > track > ports > mac | Specifies that this ESRP domain should consider election factors in the following order: ESRP priority, tracking information, active ports, MAC address. | 
| sticky > ports > track > priority | Specifies that this ESRP domain should consider election factors in the following order: stickiness, active ports, tracking information, ESRP priority. | 
| sticky > ports > track > priority > mac | Specifies that this ESRP domain should consider election factors in the following order: stickiness, active ports, tracking information, ESRP priority, MAC address. | 
| sticky > ports > weight > track > priority > mac | Specifies that this ESRP domain should consider election factors in the following order: stickiness, active ports, port weight, tracking information, ESRP priority, MAC address. This is the default election algorithm for extended mode. | 
| sticky > priority > ports > track > mac | Specifies that this ESRP domain should consider election factors in the following order: stickiness, ESRP priority, active ports, tracking information, MAC address. | 
| sticky > priority > track > ports > mac | Specifies that this ESRP domain should consider election factors in the following order: stickiness, ESRP priority, tracking information, active ports, MAC address. | 
| sticky > priority > mac | Specifies that this ESRP domain should consider election factors in the following order: stickiness, ESRP priority, MAC address. | 
| sticky > track > ports > priority | Specifies that this ESRP domain should consider election factors in the following order: stickiness, tracking information, active ports, ESRP priority. | 
| sticky > track > ports > priority > mac | Specifies that this ESRP domain should consider election factors in the following order: stickiness, tracking information, active ports, ESRP priority, MAC address. | 
| track > ports > priority | Specifies that this ESRP domain should consider election factors in the following order: tracking information, active ports, ESRP priority. | 
| track > ports > priority > mac | Specifies that this ESRP domain should consider election factors in the following order: tracking information, active ports, ESRP priority, MAC address. | 

Caution
All switches in the ESRP network must use the same election algorithm; otherwise, loss of connectivity, broadcast storms, or other unpredictable behavior may occur.