Upgrading and Downgrading Procedures using Save Configuration Command
Use the following upgrade process:
-
Before upgrade, add no password max-age command at context level, in all contexts where users are configured, in the startup configuration.
-
When reloading with image using the updated startup config, all users that are configured without an expiry date pick up the context level configuration by default and set the user level no-max-age keyword automatically.
Use the following downgrade process:
Use the new CLI option, legacy-password-expiry in the save config command, based on which new keywords aren’t saved. Configuration is stored in a format which the previous release recognizes.
The following prompt is displayed in the Exec mode:
configure
context host_name
save configuration url [ confd | ignore-locks | obsolete-encryption | showsecrets | verbose ] [ -redundant ] [ -noconfirm ] [ legacy-password-expiry ]
Notes:
-
save configuration config-file-path legacy-password-expiry :
Generates a backward compatible file by removing new Expiry Notification keywords. The save config CLI option makes the configuration compatible with older UPF versions.