PurposeCommand or Action
Identifies the key number. The range is 0 to
2147483647.
key number
Example:
Device(config-keychain)# key 2000
Step 3
Identifies the key string. The string can contain from
1 to 80 uppercase and lowercase alphanumeric
characters, but the first character cannot be a number.
key-string text
Example:
Device(config-keychain)# Room 20,
10th floor
Step 4
(Optional) Specifies the time period during which the
key can be received.
accept-lifetime start-time {infinite |
end-time | duration seconds}
Step 5
Example:
Device(config-keychain)#
The start-time and end-time syntax can be either
hh:mm:ss Month date year or hh:mm:ss date Month
year. The default is forever with the default start-time
and the earliest acceptable date as January 1, 1993.
The default end-time and duration is infinite.
accept-lifetime 12:30:00 Jan 25
1009 infinite
(Optional) Specifies the time period during which the
key can be sent.
send-lifetime start-time {infinite |
end-time | duration seconds}
Step 6
Example:
Device(config-keychain)#
The start-time and end-time syntax can be either
hh:mm:ss Month date year or hh:mm:ss date Month
year. The default is forever with the default start-time
and the earliest acceptable date as January 1, 1993.
The default end-time and duration is infinite.
accept-lifetime 23:30:00 Jan 25
1019 infinite
Returns to privileged EXEC mode.end
Example:
Device(config-keychain)# end
Step 7
Displays authentication key information.show key chain
Example:
Device# show key chain
Step 8
(Optional) Saves your entries in the configuration file.copy running-config startup-config
Example:
Device# copy running-config
startup-config
Step 9
Routing Configuration Guide, Cisco IOS XE Everest 16.6.x (Catalyst 9500 Switches)
202
Configuring IP Unicast Routing
Managing Authentication Keys