beautypg.com

Chapter 31 commands for rip, 1 accept-lifetime, Accept – PLANET XGS3-24040 User Manual

Page 407: Lifetime

background image


31-120

Chapter 31 Commands for RIP

31.1 accept-lifetime

Command:

accept-lifetime <start-time> {<end-time>| duration| 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>={ | }

specify the concrete valid time of accept-lifetime in hours, minutes and second

specifies the date of valid, ranging between 1 -31

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

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>={ | }

specify the concrete valid time of accept-lifetime in hours, minutes and second

specifies the date of valid, ranging between 1 -31

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

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

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

Usage Guide:

Refer to the 3.13 RIP authentication Introduction.

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

Related Command:

key