clear security flow ip-action
Syntax
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
or51
egp
or8
esp
or50
gre
or47
icmp
or1
icmp6
or58
ipip
or4
ospf
or89
pim
or103
rsvp
or46
sctp
or132
tcp
or6
udp
or17
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
- clear security flow ip-action destination-prefix
- clear security flow ip-action family inet
- clear security flow ip-action protocol udp
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 192.0.2.5/24 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
Release Information
Command introduced in Junos OS Release 10.4. Logical systems option introduced in Junos OS Release 11.2.