The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This chapter describes the Cisco NX-OS Hot Standby Router Protocol (HSRP) commands that begin with P.
To configure a preemption delay, use the preempt command. To disable this feature, use the no form of this command.
preempt [ delay { minimum min-delay | reload rel-delay | sync sync-delay } ]
no preempt [ delay { minimum min-delay | reload rel-delay | sync sync-delay } ]
Interface configuration or HSRP template mode
|
|
---|---|
Specifying a minimum delay allows routing tables to be updated before a router becomes active. When a router first comes up, it does not have a complete routing table. A high-priority router will only delay preemption if it first receives a hello packet from a low-priority active router. If the high-priority router does not receive a hello packet from the low-priority active router when it is starting up, it assumes there is no active router for the group and becomes active as soon as possible.
This example shows how to configure a delay when a router becomes active when its priority is 110:
|
|
---|---|
To set the priority level within a Hot Standby Router Protocol (HSRP) group, use the priority command. To remove the priority level, use the no form of this command.
priority level [ forwarding-threshold lower lower-value upper upper-value ]
no priority level [ forwarding-threshold lower lower-value upper upper-value ]
HSRP configuration or HSRP template mode
|
|
---|---|
Use the priority command to control which virtual router becomes the active router. HSRP compares the priorities of all virtual routers in the HSRP group and selects the router with the numerically highest priority. If two virtual routers have equal priority, HSRP selects the router with the highest IP address.
This example shows how to configure a virtual router with a priority of 254:
|
|
---|---|