Access Recovery-Config Mode in the Diagnostic CLI
You can use the diagnostic CLI recovery-config mode to make out-of-band configuration changes when the management connection is down. Be sure to make the same changes in the management center; local changes will always be overwritten by the management center deployment.
For high availability and clustering, make your changes on the active/control node. This mode is not supported in multi-instance mode.
Procedure
Step 1 | Connect to the device CLI using either the console port or SSH. | ||
Step 2 | Access the diagnostic CLI. system support diagnostic-cli enable (Press enter without entering a password when prompted.) Example:
| ||
Step 3 | Show the current running configuration for reference. show runing-config
| ||
Step 4 | Enter recovery-config mode. configure recovery-config Example:
| ||
Step 5 | You can now enter select configuration commands. Enter ? to view available commands. See Guidelines for Out-of-Band Configuration for supported feature areas. See the ASA configuration guides or command reference for details about the commands.
Example:
| ||
Step 6 | Exit recovery-config mode to be prompted to save your changes. Enter exit to exit each submode until you return to enable mode. You can choose to save your changes to the startup configuration or keep changes only in the running configuration by not saving. Running configuration changes won't be retained after a reboot. If you make additional changes later and decide to save the configuration, all of your previous changes are also saved, since the entire running configuration is saved. Deployment will be blocked while the recovery-config-mode session is open. Example:
| ||
Step 7 | Return to the threat defense CLI by typing Ctrl+a, then d, or you can enter exit to exit each mode.
Example:
|