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 destination-port

date_range 19-Nov-23

Syntax

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

Description

Clear each session that uses the specified destination port

Options

  • destination-port-number—Number of the destination port.

  • node—(Optional) For chassis cluster configurations, clear security sessions on the port 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

clear

Output Fields

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

Sample Output

clear security flow session destination-port 1

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

Sample Output

clear security flow session destination-port 1 node 0

content_copy zoom_out_map
user@host> clear security flow session destination-port 1 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.

footer-navigation