ipsec session idle-time

Syntax

ipsec session idle-time seconds

undo ipsec session idle-time

View

System view

Default level

2: System level

Parameters

Seconds: IPsec session idle timeout in seconds, in the range of 60 to 3,600.

Description

Use the ipsec session idle-time command to set the idle timeout for IPsec sessions.

Use the undo ipsec session idle-time command to restore the default.

By default, the IPsec session idle timeout is 300 seconds.

Examples

# Set the IPsec session idle timeout to 600 seconds.

<Sysname> system-view
[Sysname] ipsec session idle-time 600