Owner's Manual

IP Routing Protocol-Independent Commands 189
Example
The following example specifies for key 1, an accept-lifetime range from 13:30:00 Jan 25 2005 for
7200 seconds, and for key 2 an accept-lifetime range from 14:30:00 Jan 25 2005 for 7200 seconds.
send-lifetime
The
send-lifetime
key chain key configuration command sets the time period during which an
authentication key is valid to generate MD5 digest for outgoing packets. To revert to the default
value, use the
no
form of this command.
Syntax
send-lifetime infinite
start-time
send-lifetime duration
start-time seconds
send-lifetime
start-time end-time
no send-lifetime [duration | infinite]
start-time
—Beginning time that the key specified by the
key
command is valid to be sent.
The syntax can be either of the following:
hh:mm:ss Month date year
or
hh:mm:ss date
Month year.
- hh:mm:ss
—Time in hours, minutes, and seconds (Range: hh 0 - 23:mm 0 - 59: ss 0 - 59)
- day
—Day (by date) in the month (Range: 1 - 31)
- month
—Month (first three letters by name) (Range: Jan, ......Dec)
- year
—Year (no abbreviation) (Range: 1998 - 2097)
infinite
—Key is valid to be sent from the
start-time
value with no limit.
end-time
—Key is valid to be sent from the
start-time
value until the
end-time
value. The
syntax is the same as that for the
start-time
value. The
end-time
value must be after the
start-time
value.
Console (config)# key 1
Console (config-key)# key-string mountain
Console (config-key)# accept-lifetime duration 13:30:00
Jan 25 2005 7200
Console (config)# key 2
Console (config-key)# key-string country
Console (config-key)# accept-lifetime duration 14:30:00
Jan 25 2005 7200