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 ip-action

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
clear security flow ip-action   [filter] 

Description

Clear IP-action entries, based on filtered options, for IP sessions running on the device.

Options

filter—Filter the display based on the specified criteria.

The following filters display those sessions that match the criteria specified by the filter. Refer to the sample output for filtered output examples.

all | [filter]—All active sessions on the device.

destination-port destination-port—Destination port number of the traffic. Range is 1 through 65,535.

destination-prefix destination-prefix—Destination IP prefix or address.

family (inet | inet6) [filter]—IPv4 traffic or IPv6-NATPT traffic and filtered options.

logical-system logical-system-name | all [filter]—Specified logical system or all logical systems.

protocol protocol-name | protocol-number [filter]—Protocol name or number and filtered options.

  • ah or 51

  • egp or 8

  • esp or 50

  • gre or 47

  • icmp or 1

  • icmp6 or 58

  • ipip or 4

  • ospf or 89

  • pim or 103

  • rsvp or 46

  • sctp or 132

  • tcp or 6

  • udp or 17

root-logical-system [filter]—Default logical system information and filtered options.

source-port source-port—Source port number of the traffic. Range is 1 through 65,535.

source-prefix source-prefix—Source IP prefix or address of the traffic.

Required Privilege Level

clear

Output Fields

When you enter this command, the system responds with the status of your request.

Sample Output

clear security flow ip-action all

content_copy zoom_out_map
user@host>clear security flow ip-action all
1008 ip-action entries cleared

clear security flow ip-action destination-prefix

content_copy zoom_out_map
user@host>clear security flow ip-action destination-prefix 192.0.2.5/24
87 ip-action entries cleared

clear security flow ip-action family inet

content_copy zoom_out_map
user@host>clear security flow ip-action family inet
2479 ip-action entries cleared

clear security flow ip-action protocol udp

content_copy zoom_out_map
user@host>clear security flow ip-action protocol udp
270 ip-action entries cleared

Release Information

Command introduced in Junos OS Release 10.4. Logical systems option introduced in Junos OS Release 11.2.

footer-navigation