Related commands
display ipsec sa
reset ipsec statistics
Use reset ipsec statistics to clear IPsec packet statistics.
Syntax
reset ipsec statistics[ tunnel-id tunnel-id ]
Views
User view
Predefined user roles
network-admin
Parameters
tunnel-id tunnel-id: Clears IPsec packet statistics for the specified IPsec tunnel. The value range for the
tunnel-id is 0 to 4294967295. If no tunnel ID is specified, the command clears all IPsec packet statistics.
Examples
# Clear all IPsec packet statistics.
<Sysname> reset ipsec statistics
Related commands
display ipsec statistics
sa duration
Use sa duration to set an SA lifetime for an IPsec policy or IPsec policy template.
Use undo sa duration to remove the SA lifetime.
Syntax
sa duration { time-based seconds | traffic-based kilobytes }
undo sa duration { time-based | traffic-based }
Default
The SA lifetime of an IPsec policy or an IPsec policy template is the current global SA lifetime.
Views
IPsec policy view, IPsec policy template view
Predefined user roles
network-admin
Parameters
time-based seconds: Specifies the time-based SA lifetime, in the range of 180 to 604800 seconds.
356