Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

clear security flow ip-action

Syntax

clear security flow ip-action [filter]

Release Information

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

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
  • igmp or 2
  • 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

List of Sample Output

clear security flow ip-action all
clear security flow ip-action destination-prefix
clear security flow ip-action family inet
clear security flow ip-action protocol udp

Output Fields

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

Sample Output

clear security flow ip-action all

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

clear security flow ip-action destination-prefix

user@host>clear security flow ip-action destination-prefix 5.0.0.0/8
87 ip-action entries cleared

clear security flow ip-action family inet

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

clear security flow ip-action protocol udp

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

Published: 2014-10-19

Supported Platforms

Published: 2014-10-19