Command Reference Protocol-independent Configuration Commands
6 Protocol-independent Configuration Commands
6.1 accept-lifetime
Use this command in the encryption key configuration mode to specify the lifetime of an encryption key
in its receiving direction. Use the no form of this command to restore the default value.
accept-lifetime start-time {infinite | end-time | duration seconds}
Start time of the lifetime. The syntax is as follows:
hh:mm:ss month date year
hh:mm:ss date month year
 hh—hour
 mm—minute
 ss—second
 month—month
 date—day
 year—year
The default start time is Jun 1, 1993, which is also the earliest start
time available.
Indicates that the encryption key is valid for ever.
End time of the encryption key. It must be later than the start time.
Duration of the encryption key after the start time. The value ranges
from 1 to 2147483646.
Encryption key configuration mode
Use this command to specify the lifetime of an encryption key in its receiving direction.
The following example configures the lifetime of key 1.
Ruijie(config)#key chain kc
Ruijie(config-keychain)#key 1
Ruijie(config-keychain-key)#key-string Hello
Ruijie(config-keychain-key)#accept-lifetime 16:30:00 Oct 1 2010 duration 43200