Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


clear security flow session application



Use this command to clear currently active sessions for application types or application sets.


  • application-name —Name of the specified application type or application set.

    • dns—Domain Name System

    • ftp—File Transfer Protocol

    • ignore—Ignore application type

    • mgcp-ca—Media Gateway Control Protocol with Call Agent

    • mgcp-ua—MGCP with User Agent

    • ms-rpc—Microsoft RPC

    • pptp—Point-to-Point Tunneling Protocol

    • q931—ISDN connection control protocol

    • ras—RAS

    • realaudio—RealAudio

    • rsh—UNIX remote shell services

    • rtsp—Real-Time Streaming Protocol

    • sccp—Skinny Client Control Protocol

    • sip—Session Initiation Protocol

    • sqlnet-v2—Oracle SQLNET

    • sun-rpc—Sun Microsystems RPC

    • talk—TALK program

    • tftp—Trivial File Transfer Protocol

  • node—(Optional) For chassis cluster configurations, clear sessions for applications 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 application dns

Sample Output

clear security flow session application dns node 0

Release Information

Command introduced in Junos OS Release 8.5.

The node options added in Junos OS Release 9.0.