election algorithm

In ESRP (Extreme Standby Router Protocol), this is a user-defined criteria to determine how the master and slave interact. The election algorithm also determines which device becomes the master or slave and how ESRP makes those decisions.