accept-lifetime

Use this command to specify the time period during which an authentication key on a key chain is valid to be received.

Syntax

accept-lifetime start-time {month date year | date month year} {duration seconds | end-time | infinite}
no accept-lifetime start-time month date year

Parameters

start-time Specifies the time of day the authentication key will begin to be valid to be received. Valid input is hours:minutes:seconds (hh:mm:ss).
month Specifies the month the authentication key will begin to be valid to be received. Valid input is the first three letters of the month.
date Specifies the day of the month the authentication key will begin to be valid to be received. Valid values, depending on the length of the month, are 1 - 31.
year Specifies the year the authentication key will begin to be valid to be received. Valid input is four digits up to 2035.
duration seconds Length of time (in seconds) the key is valid to be received. Valid values are 1 - 4294967295.
end-time Specifies the hours, minutes and seconds (hh:mm:ss) and the month, date and year from the start-time the key is valid to be received.
infinite Specifies that the key is valid to be received from the start-time on.

Defaults

None.

Mode

Configuration command, key configuration.

Usage

The “no” form of this command removes the accept-lifetime configuration for an authentication key.

Examples

This example shows how to allow the “password” authentication key to be received as valid on its RIP-configured interface beginning at 2:30 on November 30, 2002 with no ending time (infinitely):

System(rw-config)->key chain md5key
System>Router(config-keychain)->key 3
System>Router(config-keychain-key)->key-string password
System>Router(config-keychain-key)->accept-lifetime 02:30:00 nov 30 2002 infinite