Key Chains
Last updated
Last updated
SW1(config)#key chain DEMO
# This command will create the key chain and bring you into the "Key Chain" sub-configuration mode
SW1(config-keychain)#key 1
This command creates an actual key to be used to authenticate. this is creating the PSK, but is not the actuall "Key" or "password" that will be used.
SW1(config-keychain-key)#key-string [password]
# This command will set the actual password to be used for authentication.
SW1(config-keychain-key)#send-lifetime 00:00:00 1 Mar 2022 00:00:00 1 Sep 2022
# This command will set the length of time the key can be sent.
SW1(config-keychain-key)#accept-lifetime 00:00:00 1 Mar 2022 00:00:00 1 Sep 2022
# This command will set the length of time a key can be accepted
SW1#show key chain
# This command will show you all the globally configured key chains and there configurations.