clear security flow session
Syntax
clear security flow session
all <node ( node-id
| all | local | primary)>
<nat number>
<nat-port-overload-index number>
<source-nat-pool source-nat-pool-name>
Description
Clear all currently active security sessions on the device.
Options
-
all—Clear information about all active sessions.
-
node
—(Optional) For chassis cluster configurations, clear all security sessions on a specific node (device) in the cluster.-
node-id
—Identification number of the node. It can be 0 or 1. -
all
—Clear all nodes. -
local
—Clear the local node. -
primary
—Clear the primary node.
-
-
nat
—Clear sessions with network address translation. -
nat-port-overload-index
—Clear NAT port overload index. -
source-nat-pool
—Clear the source NAT pool name.
Required Privilege Level
clear
Output Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
clear security flow session all
user@host> clear security flow session all node0: -------------------------------------------------------------------------- 1 active sessions cleared node1: -------- ------------------------------------------------------------------ 0 active sessions cleared
Sample Output
clear security flow session all node 0
user@host> clear security flow session all node 0 node0: -------------------------------------------------------------------------- 0 active sessions cleared
Release Information
Command introduced in Junos OS Release 8.5 ; node
options added in
Junos OS Release 9.0.
The nat
, nat-port-overload-index
, and
source-nat-pool
are introduced in Junos OS Release 23.4R1.