Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


clear security flow session all



Clear all currently active security sessions on the device.


  • 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.

Required Privilege Level


Output Fields

When you enter this command, you are provided feedback on the status of your request.

Sample Output

clear security flow session all

Sample Output

clear security flow session all node 0

Release Information

Command introduced in Junos OS Release 8.5 ; node options added in Junos OS Release 9.0.