clear security flow session
Syntax
Syntax
clear security flow session <destination-prefix ipprefix> <source-prefix ipprefix> <source-port> <destination-port> <protocol> <dynamic-application dynamic-application> <dynamic-application-group dynamic-application-group> <idp | ssl | tunnel | nat | services-offload | resource-manager | application-traffic-control | security-intelligence | advanced-anti-malware | anti-virus | drop-flow | selective-sync-disabled | content-filtering | web-filtering> <zone zone> <interface interface> <family> <logical-system | root-logical-system | tenant | all-logical-systems-tenants> <conn-tag> <vrf-group vrf-group> <tunnel-inspection-type> <vxlan-vni> <geneve-vni> <ssl> <session-state> <source-tenant source-tenant> <destination-service destination-service> <aging> <source-nat-pool source-nat-pool> <nat-port-overload-index> <gbp-src-tag> <gbp-dst-tag> <domain-id> <node-id>
Description
Clear all currently active security sessions on the device.
Options
| advanced-anti-malware |
Show advanced-anti-malware sessions |
| aging |
Early Ageout |
| all | Clear information about all active sessions. |
| all-logical-systems-tenants |
All multitenancy systems |
| anti-virus |
Show anti-virus sessions |
| application-traffic-control |
Show application-traffic-control sessions |
| conn-tag |
Session connection tag |
| content-filtering |
Show content-filtering sessions |
| destination-port |
Destination port |
| destination-prefix |
Destination IP prefix or address |
| destination-service |
Vector routing destination service |
| domain-id |
Four-node Multinode High Availability (MNHA) domain. |
| drop-flow |
Drop-flow sessions |
| dynamic-application |
Dynamic application name |
| dynamic-application-group |
Dynamic application group name |
| gbp-src-tag |
Source gbp tag |
| gbp-dst-tag |
Destination gbp tag |
| geneve-vni |
GENEVE VNI |
| family |
Protocol family
|
| idp |
IDP sessions |
| interface |
Name of incoming or outgoing interface |
| logical-system |
Logical-system name
|
| nat |
Sessions with network address translation |
| node-id |
Four-node MNHA node. |
| protocol |
IP protocol number
|
| resource-manager |
Sessions with resource manager |
| root-logical-system |
Root logical-system (default) |
| services-offload |
Services-offload sessions |
| security-intelligence |
Show security-intelligence sessions |
| ssl |
SSL session |
| session-state |
Session state.
|
| source-nat-pool |
Source NAT Pool name |
| source-prefix |
Source IP prefix or address |
| source-port |
Source port |
| source-tenant |
Vector routing source tenant |
| nat-port-overload-index |
NAT port overloading index |
| tenant |
Tenant name
|
| tunnel |
Tunnel sessions |
| tunnel-inspection-type |
Tunnel inspection type
|
| vrf-group |
Session L3VPN VRF Group |
| vxlan-vni |
VXLAN VNI |
| web-filtering |
Show web-filtering sessions |
| zone |
Zone name |
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 all
user@host> clear security flow session all node0: -------------------------------------------------------------------------- 1 active sessions cleared node1: -------- ------------------------------------------------------------------ 0 active sessions cleared
Sample Output
clear security flow session all node 0
user@host> clear security flow session all 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.
The nat, nat-port-overload-index, and
source-nat-pool are introduced in Junos OS Release 23.4R1.