Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

clear security flow session

Syntax

Syntax

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

  • inet—Show IPv4

  • inet6—Show IPv6/IPv6-NATPT

idp

IDP sessions

interface

Name of incoming or outgoing interface

logical-system

Logical-system name

  • all—All logical systems

  • logical-system-name—Logical system name

nat

Sessions with network address translation

node-id

Four-node MNHA node.

protocol

IP protocol number

  • ah—IP Security authentication header

  • egp—Exterior gateway protocol

  • esp—IPSec Encapsulating Security Payload

  • gre—Generic routing encapsulation

  • icmp—Internet Control Message Protocol

  • icmp6—Internet Control Message Protocol Version 6

  • igmp—Internet Group Management Protocol

  • ipip—IP in IP

  • ospf—Open Shortest Path First

  • pim—Protocol Independent Multicast

  • protocol-number—Numeric protocol value (0 .. 255)

  • rsvp—Resource Reservation Protocol

  • sctp—Stream Control Transmission Protocol

  • tcp—Transmission Control Protocol

  • udp—User Datagram Protocol

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.

  • active-warm—MNHA session with one active wing and one warm wing

  • backup—MNHA backup session

  • warm—MNHA warm session

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

  • all—All tenants

  • tenant-name—Tenant name

tunnel

Tunnel sessions

tunnel-inspection-type

Tunnel inspection type

  • geneve—Show geneve tunnel inspection

  • gre—Show gre tunnel inspection

  • ipip—Show ipip tunnel inspection

  • vxlan—Show vxlan tunnel inspection

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

Sample Output

clear security flow session all node 0

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.