551
sa duration
Use
sa duration
to set the IKE SA lifetime for an IKE proposal.
Use
undo sa duration
to restore the default.
Syntax
sa duration
seconds
undo sa duration
Default
The IKE SA lifetime is 86400 seconds for an IKE proposal.
Views
IKE proposal view
Predefined user roles
network-admin
Parameters
seconds
: Specifies the IKE SA lifetime in seconds, in the range of 60 to 604800.
Usage guidelines
Before an IKE SA expires, IKE negotiates a new SA. The new SA takes effect immediately after it is
negotiated. The old IKE SA will be cleared when it expires.
If the communicating peers are configured with different IKE SA lifetime settings, the smaller setting
takes effect.
Examples
# Set the IKE SA lifetime to
600
seconds for IKE proposal
1
.
<Sysname> system-view
[Sysname] ike proposal 1
[Sysname-ike-proposal-1] sa duration 600
Related commands
display ike proposal
snmp-agent trap enable ike
Use
snmp-agent trap enable ike
command to enable SNMP notifications for IKE.
Use
undo snmp-agent
trap
enable
ike
to disable SNMP notifications for IKE.
Syntax
snmp-agent trap enable
ike
[
attr-not-support
|
auth-failure
|
cert-type-unsupport
|
cert-unavailable
|
decrypt-failure
|
encrypt-failure
|
global
|
invalid-cert-auth
|
invalid-cookie
|
invalid-id
|
invalid-proposal
|
invalid-protocol
|
invalid-sign
|
no-sa-failure
|
proposal-add
|
proposal–delete
|
tunnel-start
|
tunnel-stop
|
unsupport-exch-type
] *
undo snmp-agent trap enable
ike
[
attr-not-support
|
auth-failure
|
cert-type-unsupport
|
cert-unavailable
|
decrypt-failure
|
encrypt-failure
|
global
|
invalid-cert-auth
|
invalid-cookie
|
invalid-id
|
invalid-proposal
|
invalid-protocol
|
invalid-sign
|
no-sa-failure
|
proposal-add
|
proposal–delete
|
tunnel-start
|
tunnel-stop
|
unsupport-exch-type
] *
Default
All SNMP notifications for IKE are enabled.