OcNOS-SP : Layer 3 Guide : Routing Information Protocol Command Reference : Routing Information Protocol Commands : accept-lifetime
accept-lifetime
Use this command to specify the time period during which the authentication key on a key chain is received as valid.
Use the no option with this command to disable it.
See Appendix A, Routing Information Protocol Authentication for information on how this command is related to the other authentication commands.
Command Syntax
accept-lifetime HH:MM:SS MONTH <01-31> <1993-2035> HH:MM:SS MONTH <01-31> <1993-2035>
accept-lifetime HH:MM:SS MONTH <01-31> <1993-2035> infinite
accept-lifetime HH:MM:SS MONTH <01-31> <1993-2035> duration <1-2147483646>
no accept-lifetime
Parameters
HH:MM:SS
Specify the start time of accept-lifetime in hours, minutes and seconds.
<01-31>
Specify the day of the month to start. If the day is a single-digit, the leading 0 must be added, example: 01, 02, 03, etc.
MONTH
Specify the month of the year to start as the first three letters of the month with first letter in upper case, for example, Jan. (case sensitive).
<1993-2035>
Specify the year to start.
HH:MM:SS
Specify the time when accept-lifetime expires in hours, minutes and seconds.
<01-31>
Specify the day of the month to end. If the day is a single-digit, the leading 0 must be added, example: 01, 02, 03, etc.
MONTH
Specify the month of the year to end as the first three letters of the month with first letter in caps, for example, Jan. (case sensitive).
<1993-2035>
Specify the year to expire.
duration
Specify the duration of the key in seconds <1-2147483646>.
infinite
Specify the end time to never expire.
Default
None
Command Mode
Keychain-key mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
The following example shows the setting of accept-lifetime for key-id 1 on the key chain named mychain.
#configure terminal
(config)#key chain mychain
(config-keychain)#key-id 1
(config-keychain-key)#accept-lifetime 03:03:01 Dec 30 2004 04:04:02 Oct 06 2006
 
(config)#key chain mychain
(config-keychain)#key-id 1
(config-keychain-key)#no accept-lifetime
 
 
Last modified date: 08/28/2023