Executing include-credentials or include-credentials store-in-config
When
include-credentials
or
include-credentials store-in-config
is executed for the first time (for example, on a new switch) or when you have successfully executed the
no include-credentials store-in-config
command, the passwords and SSH keys are not currently stored in the configuration file (not activated). The following example shows the caution message displayed.
Caution message
switch(config)# include-credentials **** CAUTION **** You have invoked the command 'include-credentials'. This action will make changes to the password and SSH public-key storage. It will affect *all* stored configurations, which might need to be updated. Those credentials will no longer be readable by older software revisions. It also may break some of your existing user scripts. Continue?[y/n] y Erasing configurations with ‘include-credentials’ enabled will erase stored passwords and security credentials. The system will reboot with the factory default configuration. Proceed?[y/n]
This caution message can also appear if you have successfully executed the
no include-credentials store-in-config
command.