clear services stateful-firewall flows
Syntax
clear services stateful-firewall flows <application-protocol protocol> <destination-port destination-port> <destination-prefix destination-prefix> <interface interface-name> <protocol protocol> <service-set service-set> <source-port source-port> <source-prefix source-prefix>
Description
Clear stateful firewall flows. Issue this command to clear the stateful firewall flows for the specified option. The default option is "none", that is, to close all stateful firewall flows unless another option is specified.
Starting in Junos Release 14.1, the method for closing flows
has changed. With the change, even for peak flows, the command prompt
now returns to an active state after 30 seconds and the clear command
completes in 90 to 120 seconds. In previous releases, closing peak
flows could take as long as 4 minutes, after which the command prompt
would return. Note too that during the first 30 seconds of issuing
the command, the flows to be deleted remain visible in the show
services stateful-firewall flows
command output.
Options
none | Clear all stateful firewall flows. |
destination-port destination-port | (Optional) Clear stateful firewall flows for a particular destination port. The range of values is 0 to 65535. |
destination-prefix destination-prefix | (Optional) Clear stateful firewall flows for a particular destination prefix. |
interface interface-name | (Optional) Clear stateful firewall flows for a particular interface. On M Series and T Series routers, the interface-name can be ms-fpc/pic/port or rspnumber. |
protocol | (Optional) Clear stateful firewall flows for one of the following IP types:
|
service-set service-set | (Optional) Clear stateful firewall flows for a particular service set. |
source-port source-port | (Optional) Clear stateful firewall flows for a particular source port. The range of values is from 0 through 65535. |
source-prefix source-prefix | (Optional) Clear stateful firewall flows for a particular source prefix. |
Required Privilege Level
view
Output Fields
Table 1 lists
the output fields for the clear services stateful-firewall flows
command. Output fields are listed in the approximate order in which
they appear.
Field Name |
Field Description |
---|---|
Interface |
Name of an adaptive services interface. |
Service set |
Name of the service set from which flows are being cleared. |
Conv removed |
Number of conversations removed. |
Sample Output
clear services stateful-firewall flows
user@host> clear services stateful-firewall flows Interface Service set Conv removed ms-0/3/0 svc_set_trust 0 ms-0/3/0 svc_set_untrust 0
Release Information
Command introduced before Junos OS Release 7.4.