reset ipsec session

Syntax

reset ipsec session [ tunnel-id integer ]

View

User view

Default level

2: System level

Parameters

integer: ID of the IPsec tunnel, in the range 1 to 2000000000.

Description

Use the reset ipsec session command to clear the sessions of a specified IPsec tunnel or all IPsec tunnels.

Related commands: display ipsec session.

Examples

# Clear all IPsec sessions.

<Sysname> reset ipsec session

# Clear the sessions of IPsec tunnel 5.

<Sysname> reset ipsec session tunnel-id 5