
C613-50186-01 Rev B
Command Reference for AR2050V
2705
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
IP
SEC
C
OMMANDS
LIFETIME
(IP
SEC
P
ROFILE
)
lifetime (IPsec Profile)
Overview
Use this command to specify a lifetime for an IPsec SA.
Lifetime measures how long the IPsec SA can be maintained before it expires.
Lifetime prevents a connection from being used too long.
Use the
no
variant to set the lifetime to default (28800 seconds).
Syntax
lifetime seconds <
300-31449600
>
no lifetime seconds
Default
If you do not specify a lifetime, the default lifetime of 28800 seconds (8 hours)
applies.
Mode
IPsec Profile Configuration
Examples
To specify a lifetime for an IPsec SA, use the following commands:
awplus(config)#
crypto ipsec profile my_profile
awplus(config-ipsec-profile)#
lifetime seconds 400
To set the lifetime to its default, use the following commands:
awplus(config)#
crypto ipsec profile my_profile
awplus(config-ipsec-profile)#
no lifetime seconds
Related
Commands
Parameter
Description
<
300-31449600
>
Lifetime in seconds.