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.
To configure the high availability (HA) policy for a virtual device context (VDC), use the ha-policy command.
ha-policy { dual-sup { bringdown | restart | switchover } | single-sup { bringdown | reload | restart } }
dual-sup |
Specifies the HA policy for devices with dual supervisor modules. |
bringdown |
Puts the VDC in a failed state. To recover from the failed state, you must reload the physical device. |
restart |
Deletes the VDC and recreates it using the startup configuration. |
switchover |
Initiates a supervisor module switchover. |
dual-sup |
Specifies the HA policy for devices with dual supervisor modules. |
reload |
Reloads the physical device and recreates the VDC using the startup configuration. |
Default VDC: dual-sup default is switchover single-sup default is reload
Nondefault VDC: dual-sup default is switchover single-sup default is restart
VDC configuration
Release |
Modification |
---|---|
4.0(1) |
This command was introduced. |
You can use this command only in the default VDC (VDC 1).
You cannot change the HA policy for the default VDC.
This command requires the Advanced Services license.
This example shows how to specify the HA policy for a VDC:
switch# configure terminal switch(config)# vdc MyDevice switch(config-vdc)# ha-policy reset
Command |
Description |
---|---|
show vdc |
Displays VDC interface membership information. |
vdc |
Creates or specifies a VDC and enters VDC configuration mode. |