Chapter 33 commands for rip, 1 accept-lifetime, Chapter 33 commands for rip -140 – PLANET XGS3-24042 User Manual

Page 501: Accept, Lifetime

Advertising
background image


33-140

Chapter 33 Commands for RIP

33.1 accept-lifetime

Command:

accept-lifetime <start-time> {<end-time>| duration<seconds>| infinite}

no accept-lifetime

Function:

Use this command to specify a key accept on the key chain as a valid time period. The “no

accept-lifetime” command deletes this configuration.

Parameter:

<start-time> parameter specifies the start time of the time period, of which the form should be:

<start-time>={<hh:mm:ss> <month> <day> <year>|<hh:mm:ss> <day> <month> <year>}

<hh:mm:ss> specify the concrete valid time of accept-lifetime in hours, minutes and second

<day> specifies the date of valid, ranging between 1 -31

<month> specifies the month of valid shown with the first three letters of the month, such as Jan

<year> specifies the year of valid start, ranging between 1993 - 2035

<end-time> specifies the due of the time period, of which the form should be:

<end-time>={<hh:mm:ss> <month> <day> <year>|<hh:mm:ss> <day> <month> <year>}

<hh:mm:ss> specify the concrete valid time of accept-lifetime in hours, minutes and second

<day> specifies the date of valid, ranging between 1 -31

<month> specifies the month of valid shown with the first three letters of the month, such as Jan

<year> specifies the year of valid start, ranging between 1993 - 2035

<seconds> the valid period of the key in seconds, ranging between 1-2147483646

Infinite means the key will never be out of date.

Default:

No default configuration.

Command Mode:

keychain-key mode

Example:

The example below shows the accept-lifetime configuration of key 1 on the keychain named

mychain.

Switch# config terminal

Switch(config)# key chain mychain

Switch(config-keychain)# key 1

Switch(config-keychain-key)# accept-lifetime 03:03:01 Dec 3 2004 04:04:02 Oct 6 2006

Advertising
This manual is related to the following products: