Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


clear security flow session protocol



Clear each session that uses the specified IP protocol.


  • protocol-name — (Optional) Networking protocol name. The following text values are supported.

    • ah—IP Security Authentication Header

    • egp—Exterior gateway protocol

    • esp—IPsec Encapsulating Security Payload

    • gre—Generic routing encapsulation

    • icmp—Internet Control Message Protocol

    • igmp—Internet Group Management Protocol

    • ipip—IP over IP

    • ospf—Open Shortest Path First

    • pim—Protocol Independent Multicast

    • rsvp—Resource Reservation Protocol

    • sctp—Stream Control Transmission Protocol

    • tcp—Transmission Control Protocol

    • udp—User Datagram Protocol

  • protocol-number —(Optional) Numeric protocol value. For a complete list of possible numeric values, see RFC 1700, Assigned Numbers (for the Internet Protocol Suite).

    Range: 0 through 255

  • node—(Optional) For chassis cluster configurations, clear security on a specific node (device) in the cluster for the user with this identification number.

    • 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 protocol pim

Sample Output

clear security flow session protocol 0

Release Information

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