Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

clear security flow session protocol

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
clear security flow session protocol            protocol-name          |            protocol-number                
<node (           node-id          | all | local | primary)>

Description

Clear each session that uses the specified IP protocol.

Options

  • 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

clear

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

content_copy zoom_out_map
user@host> clear security flow session protocol pim           
node0:
--------------------------------------------------------------------------
0 active sessions cleared
node1:
--------------------------------------------------------------------------
0 active sessions cleared

Sample Output

clear security flow session protocol 0

content_copy zoom_out_map
user@host> clear security flow session protocol 0           
node0:
--------------------------------------------------------------------------
0 active sessions cleared
node1:
--------------------------------------------------------------------------
0 active sessions cleared

Release Information

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

footer-navigation