command
stringlengths
2
75
syntax
stringlengths
0
289k
hierarchy_level
stringlengths
0
6.91k
description
stringlengths
0
45.2k
options
listlengths
0
499
required_privilege_level
stringlengths
0
330k
release_information
stringlengths
0
3.14k
related_documentation
listlengths
0
22
clear programmable-rpd
clear programmable-rpd route <client-id> <destination> <exact> <table table-id> <vni vni-id>
Delete some or all programmable RPD routes via a command instead of an API call. PRPD provides public APIs the ability to program routing systems. This makes it possible for users to directly access APIs to customize, create, and modify the behavior of their network.
[ { "name": "client-id", "desc": "(Required) Specify the name of the rpd client." }, { "name": "destination", "desc": "(Optional) Specify destination IPv4 or IPv6 address. Optionally, you may also specify the prefix length. This deletes active entries for the specified address or address range. If...
routing-control
Command introduced in Junos OS Release 25.2R1.
[]
clear protection-group ethernet-ring statistics
clear protection-group ethernet-ring statistics <group-name group-name>
On MX Series routers, clear the statistics for all Ethernet ring protection groups or a specific Ethernet ring protection group.
[ { "name": "group-name group-name", "desc": "(Optional) Clear the Ethernet ring protection statistics for the specified group." } ]
view Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear protection-group ethernet-ring statistics To clear all Ethernet ring protection group statistics for all protection groups, use the following command: user@host> clear protection-group ethernet-...
Command introduced in Junos OS Release 9.4.
[]
clear ptp performance-monitor measurement all-counters
clear ptp performance-monitor measurement all-counters
Clear all performance monitor measurement counters
[]
routing—To view this statement in the configuration. routing-control—To add this statement to the configuration.
Statement introduced in Junos OS Evolved Release 23.4R1.
[]
clear ptp performance-monitor statistics all-counters
clear ptp performance-monitor statistics all-counters
Clear all performance monitor statistics counters
[]
routing—To view this statement in the configuration. routing-control—To add this statement to the configuration.
Statement introduced in Junos OS Evolved Release 23.4R1.
[]
clear ptp statistics stream
clear ptp statistics stream [all | <stream id>]
Clear the stream statistics for primary, client and stateful interfaces based on their stream ID or for all the streams.
[ { "name": "all", "desc": "Clears all stream statistics." }, { "name": "stream id", "desc": "Clears the statistics for the specified stream ID." } ]
clear
Command introduced in Junos OS Evolved Release 24.2R1.
[]
clear remote-device-management statistics
clear remote-device-management statistics (summary | service-devices device-name)
Clear service statistics for all remote devices globally or statistics for a specific remote service device.
[ { "name": "service-devices device-name", "desc": "(Optional) Clear statistics for the specified service device." }, { "name": "summary", "desc": "(Optional) Clear service statistics for all remote devices." } ]
view Output Fields When you enter this command, you are provided no feedback on the status of your request. You can enter the "show remote-device-management statistics" on page 24363 command before and after clearing the service statistics to verify the clear operation. Sample Output clear remote-device-management stat...
Command introduced in Junos OS Release 18.3R1.
[]
clear rip general-statistics
clear rip general-statistics
Clear RIP general statistics.
[ { "name": "none", "desc": "Clear RIP general statistics." }, { "name": "logical-system (all | logical-system-name)", "desc": "(Optional) Perform this operation on all logical systems or on a particular logical system." } ]
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear rip general-statistics user@host> clear rip general-statistics
Command introduced before Junos OS Release 7.4.
[]
clear rip statistics
clear rip statistics <instance (all | instance-name)> <neighbor>
Clear RIP statistics.
[ { "name": "none", "desc": "Reset RIP counters for all neighbors for all routing instances." }, { "name": "instance (all | instance-name)", "desc": "(Optional) Clear RIP statistics for all instances or for the specified routing instance only." }, { "name": "logical-system (all | logical-s...
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear rip statistics user@host> clear rip statistics
Command introduced before Junos OS Release 7.4.
[]
clear ripng general-statistics
clear ripng general-statistics
Clear RIP next generation (RIPng) general statistics.
[ { "name": "none", "desc": "Clear RIPng general statistics." }, { "name": "logical-system (all | logical-system-name)", "desc": "(Optional) Perform this operation on all logical systems or on a particular logical system." } ]
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear ripng general-statistics user@host> clear ripng general-statistics
Command introduced before Junos OS Release 7.4.
[]
clear ripng statistics
clear ripng statistics <instance | name>
Clear RIP next-generation (RIPng) statistics.
[ { "name": "none", "desc": "Reset RIPng counters for all neighbors for all routing instances." }, { "name": "instance", "desc": "(Optional) Reset RIPng counters for the specified instance." }, { "name": "logical-system (all |", "desc": "" }, { "name": "logical-system-name)", ...
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear ripng statistics user@host> clear ripng statistics
Command introduced before Junos OS Release 7.4.
[]
clear rsvp session
clear rsvp session <connection-destination address> <connection-source address> <gracefully> <lsp-id identifier> <name name> <optimize-fast-reroute> <tunnel-id identifier>
Reset and restart Resource Reservation Protocol (RSVP) sessions.
[ { "name": "all", "desc": "Clear all RSVP sessions for which this routing device is the ingress, transit, or egress routing device." }, { "name": "connection-source", "desc": "" }, { "name": "address", "desc": "(Optional) Source address for GMPLS and MPLS LSPs from the RSVP sender tem...
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear rsvp session all user@host> clear rsvp session all
Command introduced before Junos OS Release 7.4.
[]
clear rsvp statistics
clear rsvp statistics
Clear Resource Reservation Protocol (RSVP) packet and error statistics.
[ { "name": "none", "desc": "Clear RSVP packet and error statistics." }, { "name": "logical-system (all | logical-system-name)", "desc": "(Optional) Perform this operation on all logical systems or on a particular logical system." } ]
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear rsvp statistics user@host> clear rsvp statistics
Command introduced before Junos OS Release 7.4.
[]
clear security advance-policy-based-routing sla statistics
clear security advance-policy-based-routing sla statistics
Clears SLA rule-specific statistics and counters.
[]
view Output Fields This command produces no output. Sample Output
Command introduced in Junos OS Release 15.1X49-D130.
[ "Application Quality of Experience", "Advanced Policy-Based Routing" ]
clear security alarms
clear security alarms <all> <alarm-id id-number> <alarm-type [ types ]> <newer-than YYYY-MM-DD.HH:MM:SS> <older-than YYYY-MM-DD.HH:MM:SS> <process process> <severity severity>
Clear (acknowledge) the alarms that are active on the device.
[ { "name": "all", "desc": "(Optional) Clear all active alarms." }, { "name": "alarm-id id-number", "desc": "(Optional) Clear the specified alarm." }, { "name": "alarm-type [ types ]", "desc": "(Optional) Clear the specified alarm type or a set of types. You can specify one or more of ...
security—To view this statement in the configuration. Output Fields This command produces no output, except a statement about the number of security alarms cleared. Sample Output clear security alarms all [3 SECURITY ALARMS] user@router> clear security alarms all 3 security alarms cleared clear security alarms alarm-i...
Command introduced in Junos OS Release 11.2.
[ "Troubleshooting Security Policies" ]
clear security alg h323 counters
clear security alg h323 counters <logical-system | root-logical-system | tenant>
use this command to clear information about H.323 Application Layer Gateway (ALG) counters.
[ { "name": "logical-system", "desc": "Name of the logical system." }, { "name": "root-logical-system", "desc": "Displays root logical system as default." }, { "name": "tenant", "desc": "Name of the tenant system." } ]
clear Output Fields This command produces no output. Sample Output clear security alg h323 counters user@host> clear security alg h323 counters clear security alg h323 counters tenant TN1 user@host> clear security alg h323 counters tenant TN1 clear security alg h323 counters tenant all user@host> clear security alg h3...
Statement introduced in Junos OS Release 8.5. The logical-system option is introduced in Junos OS Release 18.2R1. The tenant option is introduced in Junos OS Release 18.3R1.
[]
clear security alg ike-esp-nat
clear security alg ike-esp-nat
Use this command to clear state information about Application Layer Gateway (ALG) for IKE and ESP.
[]
clear Output Fields This command produces no output. Sample Output clear security alg ike-esp-nat user@host> clear security alg ike-esp-nat 10 active IKE-ESP alg state cleared
Command introduced in Junos OS Release 10.2.
[]
clear security alg sccp calls
clear security alg sccp calls <node ( node-id | all | local | primary)>
use this command to clear Skinny Client Protocol (SCCP) Application Layer Gateway (ALG) call information.
[ { "name": "none", "desc": "Clear all SCCP ALG calls." }, { "name": "node", "desc": "(Optional) For chassis cluster configurations, clear SCCP calls on a specific node (device) in the" }, { "name": "node-id", "desc": "Identification number of the node. It can be 0 or 1." }, { ...
clear Output Fields This command produces no output.
Command introduced in Junos OS Release 8.5; node options added in Junos OS Release 9.0.
[]
clear security alg sccp counters
clear security alg sccp counters logical-system root-logical-system tenant
Use this command to clear Skinny Client Control Protocol (SCCP) Application Layer Gateway (ALG) counters.
[ { "name": "logical-system", "desc": "Name of the logical system." }, { "name": "root-logical-system", "desc": "Displays root logical system as default." }, { "name": "tenant", "desc": "Name of the tenant system." } ]
clear Output Fields This command produces no output. Sample Output clear security alg sccp counters user@host> clear security alg sccp counters clear security alg sccp counters tenant TN1 user@host> clear security alg sccp counters tenant TN1 clear security alg sccp counters tenant all user@host> clear security alg sc...
Command introduced in Junos OS Release 8.5. The logical-system option is introduced in Junos OS Release 18.2R1. The tenant option is introduced in Junos OS Release 18.3R1.
[]
clear security alg sip calls
clear security alg sip calls <node ( node-id | all | local | primary)>
Use this command to clear Session Initiation Protocol (SIP) Application Layer Gateway (ALG) call information.
[ { "name": "none", "desc": "Clear all SIP ALG calls." }, { "name": "node", "desc": "(Optional) For chassis cluster configuration, clear SIP calls on a specific node (device) in the" }, { "name": "node-id", "desc": "Identification number of the node. It can be 0 or 1." }, { "na...
clear Output Fields Sample Output clear security alg sip calls user@host> clear security alg sip calls
Command modified in Junos OS Release 9.2; node options added in Junos OS Release 9.0.
[]
clear security alg sip counters
clear security alg sip counters <logical-system | root-logical-system | tenant>
Use this command to clear Session Initiation Protocol (SIP) Application Layer Gateway (ALG) counters.
[ { "name": "logical-system", "desc": "Name of the logical system." }, { "name": "root-logical-system", "desc": "Displays root logical system as default." }, { "name": "tenant", "desc": "Name of the tenant system." } ]
clear Output Fields This command produces no output. Sample Output clear security alg sip counters user@host> clear security alg sip counters clear security alg sip counters tenant TN1 user@host> clear security alg sip counters tenant TN1 clear security alg sip counters tenant all user@host> clear security alg sip coun...
Statement modified in Junos OS Release 9.2. The logical-system option is introduced in Junos OS Release 18.2R1. The tenant option is introduced in Junos OS Release 18.3R1.
[]
clear security application-firewall rule-set statistics logical-system
The primary, or root, administrator can issue the following statements: clear security application-firewall rule-set statistics [logical-system logical-system-name | all | root-logical-system] The user logical system administrator can issue the following statement: clear security application-firewall rule-set statist...
Clear all security application firewall rule set statistics. NOTE: User logical system administrators can clear statistics only for the logical systems they can access. For information about primary and user administrator roles in logical systems, see Understanding the Primary Logical Systems and the Primary Administr...
[ { "name": "logical-system-name", "desc": "Name of a specific logical system." }, { "name": "all", "desc": "(default) Clear all rule set statistics for a specific logical system or all logical systems." }, { "name": "root-logical-system", "desc": "Clear application firewall rule set s...
clear Output Fields This command produces no output.
Command introduced in Junos OS Release 11.4.
[]
clear security application-firewall rule-set statistics
clear security application-firewall rule-set statistics
Clear all the security application firewall rule set statistics information. Starting in Junos OS Release 18.2R1, the application firewall (AppFW) functionality is deprecated. As a part of this change, the [edit security application-firewall] hierarchy and all the configuration options under this hierarchy are deprecat...
[]
clear Output Fields This command produces no output.
Command introduced in Junos OS Release 11.1.
[]
clear security datapath-debug counters
clear security datapath-debug counters
Clear all data path-debugging counters. NOTE: Data path debugging is supported on SRX1400, SRX3400, SRX3600, SRX5400, SRX5600, and SRX5800.
[]
clear Output Fields This command produces no output.
Command introduced in Junos OS Release 10.0.
[]
clear security dns-cache
clear security dns-cache <dns-name dns-name>
Reset DNS cache information. NOTE: This command is only available to the primary administrator on devices that are configured for logical systems. This command is not available in user logical systems or on devices that are not configured for logical systems.
[ { "name": "dns-name", "desc": "Clear DNS cache information for the specified name." } ]
clear
Command introduced in Junos OS Release 12.1X44-D10.
[ "Understanding the Primary Logical Systems and the Primary Administrator Role" ]
clear security dynamic-vpn all
clear security dynamic-vpn all
Clear all dynamic VPN user connections. This feature is supported on SRX300, SRX320, SRX340, SRX345, and SRX550HM devices. In Junos OS Release 21.4R1, we’ve deprecated the clear security dynamic-vpn all operational mode command and we might remove it completely in a future release.
[]
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear security dynamic-vpn all user@host> clear security dynamic-vpn all 2 user connection entries cleared
Command introduced in Junos Release 10.4.
[]
clear security dynamic-vpn user
clear security dynamic-vpn user username ike-id id
Clear the dynamic VPN user connection for the specified username. This feature is supported on SRX300, SRX320, SRX340, SRX345, and SRX550HM devices. In Junos OS Release 21.4R1, we’ve deprecated the clear security dynamic-vpn user operational mode command and we might remove it completely in a future release.
[]
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear security dynamic-vpn user user@host> clear security dynamic-vpn user user ike-id bob.example.net Connection entry for user user has been cleared
Command introduced in Junos Release 10.4.
[]
clear security firewall-authentication history address
clear security firewall-authentication history address address <node ( node-id | all | local | primary)>
Clear firewall authentication history for this source IP address.
[ { "name": "address address", "desc": "Source IP address for which to clear firewall authentication history." }, { "name": "none", "desc": "Clear all firewall authentication history for this address." }, { "name": "node", "desc": "(Optional) For chassis cluster configurations, clear f...
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear security firewall-authentication history address 10.0.0.1 user@host> clear security firewall-authentication history address 10.0.0.1 node0: ------------------------------------------------------...
Command introduced in Junos OS Release 8.5. The node options added in Junos OS Release 9.0.
[ "Firewall User Authentication Overview" ]
clear security firewall-authentication history identifier
clear security firewall-authentication history identifier identifier <node ( node-id | all | local | primary)>
Clear firewall authentication history information for the authentication with this identifier.
[ { "name": "identifier identifier", "desc": "Identification number of the authentication for which to clear authentication" }, { "name": "none", "desc": "Clear all firewall authentication history information for the authentication with this identifier." }, { "name": "node", "desc": "(...
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear security firewall-authentication history identifier 2 user@host> clear security firewall-authentication history identifier 2 node0: -------------------------------------------------------------...
Command introduced in Junos OS Release 8.5. The node options added in Junos OS Release 9.0.
[ "Firewall User Authentication Overview" ]
clear security firewall-authentication history
clear security firewall-authentication history <node (node-id | all | local | primary)> <address> <identifier> <logical-system (logical-system-name | all)> <root-logical-system (address | auth-type | from-zone | identifier | tenant | to-zone> <tenant (tenant-name |all)>
Clear all firewall authentication history information.
[ { "name": "node", "desc": "(Optional) For chassis cluster configurations, clear all firewall authentication history on a" }, { "name": "node-id", "desc": "Identification number of the node. It can be 0 or 1." }, { "name": "all", "desc": "Clear all nodes." }, { "name": "local"...
clear Output Fields When you enter this command, you are provided feedback on the status of your request. This command produces no output. Sample Output clear security firewall-authentication history user@host> clear security firewall-authentication history node0: -------------------------------------------------------...
Command introduced in Junos OS Release 8.5. The node options added in Junos OS Release 9.0. The tenant option introduced in Junos OS Release 18.3R1.
[ "Firewall User Authentication Overview" ]
clear security firewall-authentication users address
clear security firewall-authentication users address address <node ( node-id | all | local | primary)>
Clear information about the users at the specified IP address that are currently authenticated.
[ { "name": "address address", "desc": "IP address for which to clear user firewall authentication information." }, { "name": "none", "desc": "Clear all the firewall authentication information for users at this IP address." }, { "name": "node", "desc": "(Optional) For chassis cluster c...
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear security firewall-authentication users address 198.51.100.11 user@host> clear security firewall-authentication users address 198.51.100.11 node0: ------------------------------------------------...
Command introduced in Junos OS Release 8.5. The node options added in Junos OS Release 9.0.
[ "Firewall User Authentication Overview" ]
clear security firewall-authentication users identifier
clear security firewall-authentication users identifier identifier <node ( node-id | all | local | primary)>
Clear firewall authentication details about the user with this identification number.
[ { "name": "none", "desc": "Identification number of the user for which to clear authentication details." }, { "name": "node", "desc": "(Optional) For chassis cluster configurations, clear the firewall authentication details on a" }, { "name": "node-id", "desc": "Identification number...
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear security firewall-authentication users identifier 2 user@host> clear security firewall-authentication users identifier 2 node0: ------------------------------------------------------------------...
Command introduced in Junos OS Release 8.5. The node options added in Junos OS Release 9.0.
[ "Firewall User Authentication Overview" ]
clear security firewall-authentication users
clear security firewall-authentication users <node (node-id | all | local | primary)> <address> <identifier> <logical-system (logical-system-name | all)> <root-logical-system (address | auth-type | from-zone | identifier | tenant | to-zone> <tenant (tenant-name |all)>
Clear firewall authentication tables for all users.
[ { "name": "node", "desc": "(Optional) For chassis cluster configurations, clear firewall authentication details for all users on" }, { "name": "node-id", "desc": "Identification number of the node. It can be 0 or 1." }, { "name": "all", "desc": "Clear all nodes." }, { "name":...
clear Output Fields When you enter this command, you are provided feedback on the status of your request. This command produces no output. Sample Output clear security firewall-authentication users user@host> clear security firewall-authentication users node 1 node0: ---------------------------------------------------...
Command introduced in Junos OS Release 8.5. The node options added in Junos OS Release 9.0. The tenant option introduced in Junos OS Release 18.3R1.
[ "Firewall User Authentication Overview" ]
clear security flow ip-action
clear security flow ip-action [filter]
Clear IP-action entries, based on filtered options, for IP sessions running on the device.
[ { "name": "filter", "desc": "Filter the display based on the specified criteria." }, { "name": "all | [filter]", "desc": "All active sessions on the device." }, { "name": "destination-port destination-port", "desc": "Destination port number of the traffic. Range is 1 through 65,535."...
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 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 desti...
Command introduced in Junos OS Release 10.4. Logical systems option introduced in Junos OS Release 11.2.
[]
clear security flow service-offload virtual-offload statistics (CSDS)
clear security flow service-offload virtual-offload statistics (interface_name | all)
Clear security offload statistics on the firewall for the Connected Security Distributed Services (CSDS) Architecture Express Path solution.
[ { "name": "interface_name", "desc": "Clear information for the specified interface." }, { "name": "all", "desc": "Clear information from all interfaces." } ]
view Sample Output clear security flow service-offload virtual-offload statistics all user@vsrx> clear security flow service-offload virtual-offload statistics all SOF VOF statistics has been cleared.
Command introduced in Junos OS Release 25.4R1.
[ "Express Path in CSDS Architecture" ]
clear security flow session application
clear security flow session application application-name <node ( node-id | all | local | primary)>
Use this command to clear currently active sessions for application types or application sets.
[ { "name": "application-name", "desc": "Name of the specified application type or application set." }, { "name": "dns", "desc": "Domain Name System" }, { "name": "ftp", "desc": "File Transfer Protocol" }, { "name": "ignore", "desc": "Ignore application type" }, { "...
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear security flow session application dns user@host> clear security flow session application dns node0: -------------------------------------------------------------------------- 0 active...
Command introduced in Junos OS Release 8.5. The node options added in Junos OS Release 9.0.
[]
clear security flow session application-traffic-control
clear security flow session application-traffic-control [Enter] | application-traffic-control- session-options
Clear all application traffic control sessions or the session associated with the specified option. Application traffic control enables application-aware quality of service, as specified in the rules of the rules set defined for it.
[ { "name": "application", "desc": "Name of the application or application set." }, { "name": "dns", "desc": "Domain Name System" }, { "name": "ftp", "desc": "File Transfer Protocol" }, { "name": "ignore", "desc": "Ignore application type" }, { "name": "mgcp-ca", ...
clear Output Fields When you enter this command, you are provided feedback on the status of your request. The same output is displayed when you enter an option for this command. Sample Output command-name user@host> clear security flow session application-traffic-control number active sessions cleared
Command introduced in Junos OS Release 11.4.
[ "show security flow session" ]
clear security flow session conn-tag
clear security flow session conn-tag conn-tag-id-number
Clear the session identified by the session connection (conn-tag) identification tag. The flow session connection tag allows you to add a filter to further distinguish GRSP tunneling protocol, user plane (GTP-U) flow sessions, and Stream Control Transmission Protocol (SCTP) flow sessions.
[ { "name": "conn-tag", "desc": "A 32-bit connection tag that uniquely identifies the GPRS tunneling protocol, user plane (GTP-U) and the Stream Control Transmission Protocol (STCP) sessions. The connection tag for GTP- U is the tunnel endpoint identifier (TEID) and for SCTP is the vTag. The connection ID rem...
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output command-name user@host> clear-security-flow-session conn-tag conn-tag-id-number number active sessions cleared
Command introduced in Junos OS Release 15.1X49-D40.
[]
clear security flow session destination-port
clear security flow session destination-port destination-port-number <node ( node-id | all | local | primary)>
Clear each session that uses the specified destination port
[ { "name": "destination-port-number", "desc": "Number of the destination port." }, { "name": "node", "desc": "(Optional) For chassis cluster configurations, clear security sessions on the port on a specific" }, { "name": "node-id", "desc": "Identification number of the node. It can be...
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear security flow session destination-port 1 user@host> clear security flow session destination-port 1 node0: -------------------------------------------------------------------------- 0 ...
Command introduced in Junos OS Release 8.5 ; node options added in Junos OS Release 9.0.
[]
clear security flow session destination-prefix
clear security flow session destination-prefix destination-IP-prefix <node ( node-id | all | local | primary)>
Clear sessions that match this destination IP prefix or address.
[ { "name": "destination-IP-prefix", "desc": "Destination IP prefix or address." }, { "name": "node", "desc": "(Optional) For chassis cluster configurations, clear sessions that match the IP prefix or address" }, { "name": "node-id", "desc": "Identification number of the node. It can b...
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear security flow session destination-prefix 100.0.0.1 clear security flow session destination-prefix 100.0.0.1 node0: --------------------------------------------------------------------...
Command introduced in Release 8.5 of Junos OS. The node options added in Release 9.0 of Junos OS. Support for IPv6 addresses added in Release 10.2 of Junos OS.
[]
clear security flow session family
clear security flow session family (inet | inet6)
Clear sessions that match the specified protocol family.
[ { "name": "inet", "desc": "Clear IPv4 sessions." }, { "name": "inet6", "desc": "Clear IPv6 sessions." } ]
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear security flow session family inet user@host> clear security flow session family inet 1 active sessions cleared clear security flow session family inet6 user@host> clear security flow session fa...
Command introduced in Junos OS Release 10.2.
[]
clear security flow session gbp-dst-tag
clear security flow session gbp-dst-tag gbp-dst-tag-id-number
Clear the session identified by the GBP destination tag identification. Destination-based tags are identifiers applied based on the intended destination of a VXLAN-encapsulated frame. Tag-based match conditions are used in security policies to enforce micro-segmentation.
[ { "name": "gbp-dst-tag gbp-source-tag-id-number", "desc": "Destination GBP tags identification number. Range: 0 through 65535." } ]
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output
Statement introduced in Junos OS Release 25.4R1.
[]
clear security flow session gbp-src-tag
clear security flow session gbp-src-tag gbp-source-tag-id-number
Clear the session identified by the GBP source tag. Source-based tags are identifiers associated with the origin of a VXLAN-encapsulated Ethernet frame. Security device support tag-based match conditions in security policies to enforce micro-segmentation.
[ { "name": "gbp-src-tag gbp-source-tag-id-number", "desc": "Source GBP tags identification number. Range: 0 through 65535." } ]
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output
Statement introduced in Junos OS Release 25.4R1.
[]
clear security flow session IDP
clear security flow session IDP [Enter] | idp-session-parameters
Clear all active Intrusion Detection and Prevention (IDP) sessions or an IDP session based on the specified session parameter. IDP allows you to enforce various attack detection and prevention techniques on network traffic passing through the SRX Series Firewall. The SRX Series offers the same set of IDP signatures tha...
[ { "name": "application", "desc": "Name of the application or application set." }, { "name": "dns", "desc": "Domain Name System" }, { "name": "ftp", "desc": "File Transfer Protocol" }, { "name": "ignore", "desc": "Ignore application type" }, { "name": "mgcp-ca", ...
clear Output Fields When you enter this command, you are provided feedback on the status of your request. The same output is displayed when you enter an option for this command. Sample Output command-name user@host> clear security flow session idp number active sessions cleared
Command introduced in Junos OS Release 10.2.
[ "show security flow session" ]
clear security flow session interface
clear security flow session interface interface-name <node ( node-id | all | local | primary)>
Clear sessions that use the specified interface.
[ { "name": "interface-name", "desc": "Name of a specific incoming or outgoing interface." }, { "name": "node", "desc": "(Optional) For chassis cluster configurations, clear security sessions on the interface on a" }, { "name": "node-id", "desc": "Identification number of the node. It ...
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear security flow session interface ge-0/0/0.0 user@host> clear security flow session interface ge-0/0/0.0 node0: -------------------------------------------------------------------------...
Command introduced in Junos OS Release 8.5; node options added in Junos OS Release 9.0.
[]
clear security flow session nat
clear security flow session nat <Enter> | nat-session-parameter
Clear all active sessions with NAT configurations or the active NAT session identified by a session parameter. Network Address Translation (NAT) is now used primarily to improve traffic security. But it also offers solutions to IP address constraints prior to the advent and implementation of IPv6. NAT allows you to rem...
[ { "name": "application", "desc": "Name of the application protocol" }, { "name": "dns", "desc": "Domain Name System" }, { "name": "ftp", "desc": "File Transfer Protocol" }, { "name": "ignore", "desc": "Ignore application type" }, { "name": "mgcp-ca", "desc": "...
clear Output Fields Displays a message reporting the number of active sessions cleared. The same message is displayed when any specific option is entered. Sample Output command-name user@host> clear security flow session nat number active sessions cleared
Command introduced in Junos OS Release 10.2.
[ "show security flow session" ]
clear security flow session protocol
clear security flow session protocol protocol-name | protocol- number <node ( node-id | all | local | primary)>
Clear each session that uses the specified IP protocol.
[ { "name": "protocol-name", "desc": "(Optional) Networking protocol name. The following text values are supported." }, { "name": "ah", "desc": "IP Security Authentication Header" }, { "name": "egp", "desc": "Exterior gateway protocol" }, { "name": "esp", "desc": "IPsec Enc...
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear security flow session protocol pim user@host> clear security flow session protocol pim node0: -------------------------------------------------------------------------- 0 active sessi...
Command introduced in Junos OS Release 8.5 ; node options added in Junos OS Release 9.0.
[]
clear security flow session resource-manager
clear security flow session resource-manager <node ( node-id | all | local | primary)>
Clear resource-manager sessions.
[ { "name": "node", "desc": "(Optional) For chassis cluster configurations, clear the resource manager sessions on a specific" }, { "name": "node-id", "desc": "Identification number of the node. It can be 0 or 1." }, { "name": "all", "desc": "Clear all nodes." }, { "name": "loc...
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear security flow session resource-manager user@host> clear security flow session resource-manager node0: -------------------------------------------------------------------------- 0 acti...
Command introduced in Junos OS Release 8.5; node options added in Junos OS Release 9.0.
[]
clear security flow session services-offload
clear security flow session services-offload [filter]
Clear services-offload security sessions, based on filtered options, on the device. This command also clears a services-offload security session from both the network processor and the Services Processing Unit (SPU) on which the specified session was installed.
[ { "name": "filter", "desc": "Filter the display based on the specified criteria." }, { "name": "application application-name", "desc": "Application name." }, { "name": "destination-port destination-port", "desc": "Destination port number. Range is from 1 through 65,535." }, { ...
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear security flow session services-offload user@host>clear security flow session services-offload 0 active sessions cleared clear security flow session services-offload application user@host>clear s...
Command introduced in Junos OS Release 11.4. Starting with Junos OS Release 15.1X49-D10 and and Junos OS Release 17.3R1, the SRX5K- MPC3-100G10G (IOC3) and the SRX5K-MPC3-40G10G (IOC3) with Express Path (formerly known as services offloading) support are introduced for SRX5400, SRX5600, and SRX5800 devices.
[]
clear security flow session session-identifier
clear security flow session session-identifier session-identifier <node ( node-id | all | local | primary)>
Clear the session with the specific identifier.
[ { "name": "session-identifier", "desc": "Number from 1 through 4,294,967,295 that identifies the security session." }, { "name": "node", "desc": "(Optional) For chassis cluster configurations, clear the specified session on a specific node" }, { "name": "node-id", "desc": "Identifica...
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear security flow session session-identifier 1 user@host> clear security flow session session-identifier 1 0 active sessions cleared Sample Output clear security flow session session-ide...
Command introduced in Junos OS Release 8.5; node options added in Junos OS Release 9.0.
[]
clear security flow session source-port
clear security flow session source-port source-port-number <node ( node-id | all | local | primary)>
Clear each session that uses the specified source port.
[ { "name": "source-port-number", "desc": "Number that identifies the source port." }, { "name": "node", "desc": "(Optional) For chassis cluster configurations, clear sessions on the specified source port on a" }, { "name": "node-id", "desc": "Identification number of the node. It can ...
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear security flow session source-port 1 user@host> clear security flow session source-port 1 node0: -------------------------------------------------------------------------- 0 active se...
Command introduced in Junos OS Release 8.5; node options added in Junos OS Release 9.0.
[]
clear security flow session source-prefix
clear security flow session source-prefix source-prefix-number <node ( node-id | all | local | primary)>
Clear sessions that match the source prefix.
[ { "name": "source-prefix-number", "desc": "Source IP prefix or address." }, { "name": "node", "desc": "(Optional) For chassis cluster configurations, clear security sessions matching the source prefix" }, { "name": "node-id", "desc": "Identification number of the node. It can be 0 or...
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear security flow session source-prefix 10.0.0.1 user@host> clear security flow session source-prefix 10.0.0.1 node0: ---------------------------------------------------------------------...
Command introduced in Release 8.5 of Junos OS. The node options added in Release 9.0 of Junos OS. Support for IPv6 addresses added in Release 10.2 of Junos OS.
[]
clear security flow session tenant
clear security flow session tenant (tenant-name| all)
Clears the information about the currently active security flow sessions of the tenant systems on the device. You can either clear the currently active security flow sessions for a specific tenant system or for all the tenant systems.
[ { "name": "tenant-name", "desc": "Name of the tenant system." }, { "name": "all", "desc": "Clears the security flow session information for all the tenant systems." } ]
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear security flow session tenant T1 user@host> clear security flow session tenant T1 0 active sessions cleared 1 active sessions cleared 0 active sessions cleared 0 active sessions cleared clear sec...
Command introduced in Junos OS Release 18.3R1.
[]
clear security flow session tunnel
clear security flow session tunnel [Enter] | tunnel-session-parameters
Clear all active tunnel sessions by entering the command without parameters, or clear the tunnel session whose session parameters are specified.
[ { "name": "application", "desc": "Name of the application or application set." }, { "name": "dns", "desc": "Domain Name System" }, { "name": "ftp", "desc": "File Transfer Protocol" }, { "name": "ignore", "desc": "Ignore application type" }, { "name": "mgcp-ca", ...
clear Output Fields When you enter this command, you are provided feedback on the status of your request. The same output is displayed when you enter an option for this command. Sample Output command-name user@host> clear security flow session tunnel number active sessions cleared
Command introduced in Junos OS Release 8.5.
[]
clear security flow session
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-cont...
Clear all currently active security sessions on the device.
[ { "name": "advanced-anti-malware", "desc": "Show advanced-anti-malware sessions" }, { "name": "aging", "desc": "Early Ageout" }, { "name": "all", "desc": "Clear information about all active sessions." }, { "name": "all-logical-systems-tenants", "desc": "All multitenancy s...
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: -------- ...
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.
[ "show security flow session" ]
clear security forward-options mirror filter
clear security forward-options mirror-filter (all | filter-name)
Clear statistics about configured mirror filters.
[ { "name": "all", "desc": "Clear statistics for all configured mirror filters." }, { "name": "filter-name", "desc": "Clear statistics for the specified mirror filter." } ]
clear
Command introduced in Junos OS Release 12.1X46-D10.
[]
clear security group-vpn member group
clear security group-vpn member group <vpn vpn-name> <group-id group-id>
Clear all current information for IKE, TEK, and KEK SAs. Group VPNv2 is supported on MX Series routers, SRX300, SRX320, SRX340, SRX345, SRX550HM, SRX1500, SRX4100, SRX4200, and SRX4600 Series Firewalls and vSRX Virtual Firewalls.
[ { "name": "none", "desc": "Clear SA information for all groups." }, { "name": "vpn vpn-name", "desc": "(Optional) Clear SA information for the specified VPN name." }, { "name": "group-id group-id", "desc": "(Optional) Clear SA information for the specified group identifier." } ]
clear Output Fields This command produces no output.
Command introduced in Junos OS Release 15.1X49-D30.
[ "Group VPNv2 Overview" ]
clear security group-vpn member ike security-associations
clear security group-vpn member ike security-associations [index SA-index] [peer-ipaddress]
Clear IKE security association (SA) for a group member. Group VPNv2 is supported on SRX300, SRX320, SRX340, SRX345, SRX550HM, SRX1500, SRX4100, SRX4200, and SRX4600 Series Firewalls and vSRX Virtual Firewalls.
[ { "name": "none", "desc": "Clear all IKE SAs for the group member." }, { "name": "index", "desc": "(Optional) Clear the IKE SA with this index number." }, { "name": "peer-ipaddress", "desc": "(Optional) Clear the IKE SA with this peer." } ]
clear Output Fields This command produces no output.
Command introduced in Junos OS Release 10.2.
[ "Group VPNv2 Overview" ]
clear security group-vpn member ipsec security-associations statistics
clear security group-vpn member ipsec security-associations statistics <group-id group-id>
Clear IPsec SA statistics. Group VPNv2 is supported on SRX300, SRX320, SRX340, SRX345, SRX550HM, SRX1500, SRX4100, SRX4200, and SRX4600 Series Firewalls and vSRX Virtual Firewalls.
[ { "name": "none", "desc": "Clear IPsec SA statistics for all groups." }, { "name": "group-id group-id", "desc": "(Optional) Clear IPsec SA statistics for the specified group identifier." } ]
clear Output Fields This command produces no output.
Command introduced in Junos OS Release 15.1X49-D30.
[ "Group VPNv2 Overview" ]
clear security group-vpn member ipsec security-associations
clear security group-vpn member ipsec security-associations [index SA-index]
Clear group VPN SA for a group member. Group VPNv2 is supported on SRX300, SRX320, SRX340, SRX345, SRX550HM, SRX1500, SRX4100, SRX4200, and SRX4600 Series Firewalls and vSRX Virtual Firewalls.
[ { "name": "none", "desc": "Clear all group VPN SAs for the group member." }, { "name": "index", "desc": "(Optional) Clear the group VPN SA with this index number." } ]
clear Output Fields This command produces no output.
Command introduced in Junos OS Release 10.2.
[ "Group VPNv2 Overview" ]
clear security group-vpn member ipsec statistics
clear security group-vpn member ipsec statistics <index index>
Clear IPsec statistics. Group VPNv2 is supported on SRX300, SRX320, SRX340, SRX345, SRX550HM, SRX1500, SRX4100, SRX4200, and SRX4600 Series Firewalls and vSRX Virtual Firewalls.
[ { "name": "none", "desc": "Clear IPsec statistics for all groups." }, { "name": "index index", "desc": "(Optional) Clear the IPsec statistics for the SA with this index number." } ]
clear Output Fields This command produces no output.
Command introduced in Junos OS Release 15.1X49-D30.
[ "Group VPNv2 Overview" ]
clear security group-vpn member kek security-associations
clear security group-vpn member kek security-assocations [index SA-index]
Clear key encryption key (KEK) SAs for a group member.
[ { "name": "none", "desc": "Clear all KEK SAs for the group member." }, { "name": "index", "desc": "(Optional) Clear the KEK SA with this index number." } ]
clear Output Fields This command produces no output.
Command introduced in Junos OS Release 10.2.
[ "show security group-vpn member kek security-associations", "Group VPNv2 Overview" ]
clear security group-vpn server server-cluster statistics
clear security group-vpn server server-cluster statistics <group group-name> <group-id group-id>
Clear Group VPNv2 server cluster statistics. Group VPNv2 is supported on SRX300, SRX320, SRX340, SRX345, SRX550HM, SRX1500, SRX4100, SRX4200, and SRX4600 Series Firewalls and vSRX Virtual Firewalls.
[ { "name": "none", "desc": "Clear Group VPNv2 server cluster statistics for all groups." }, { "name": "group group-name", "desc": "(Optional) Clear Group VPNv2 server cluster statistics for the specified group name." }, { "name": "group-id group-id", "desc": "(Optional) Clear Group VP...
clear Output Fields This command produces no output.
Command introduced in Junos OS Release 15.1X49-D30.
[ "Group VPNv2 Overview", "Understanding Group VPNv2 Server Clusters" ]
clear security group-vpn server statistics
clear security group-vpn server statistics <group group-name> <group-id group-id>
Clear group statistics. Group VPNv2 is supported on SRX300, SRX320, SRX340, SRX345, SRX550HM, SRX1500, SRX4100, SRX4200, and SRX4600 Series Firewalls and vSRX Virtual Firewalls.
[ { "name": "none", "desc": "Clear statistics for all groups." }, { "name": "group group-name", "desc": "(Optional) Clear statistics for the specified group name." }, { "name": "group-id group-id", "desc": "(Optional) Clear statistics for the specified group identifier." } ]
clear Output Fields This command produces no output.
Command introduced in Junos OS Release 15.1X49-D30.
[ "Group VPNv2 Overview" ]
clear security group-vpn server
clear security group-vpn server [group group-name | group-id group-id] [now]
Clear active members for a specified group. If no options are specified, members are cleared from all groups. After this command is issued, members will need to reregister. Group VPNv2 is supported on SRX300, SRX320, SRX340, SRX345, SRX550HM, SRX1500, SRX4100, SRX4200, and SRX4600 Series Firewalls and vSRX Virtual Fire...
[ { "name": "none", "desc": "All members are cleared from all groups." }, { "name": "group", "desc": "(Optional) Clear members and SAs for the specified group name." }, { "name": "group-id", "desc": "(Optional) Clear members and SAs for the specified group identifier." }, { "na...
clear Output Fields If there is a problem with the command, one of the following messages appears: • Group does not exist • Group is in the process of deletion • Error in clear members • Warning Message; Fail to push delete to members as server-member-communication is not configured.
[ "Group VPNv2 Overview" ]
clear security gtp counters
clear security gtp counters <all | data-packet | error | ha | message <message-name> | packet | request | tunnel | path-rate-limit>
Use this command to clear all or specified GTP counters on the device. From Junos OS Release 20.4R1 onwards, clear security gprs gtp counters is replaced by clear security gtp counters.
[ { "name": "all", "desc": "Clears all GTP counters." }, { "name": "data-packet", "desc": "Clears GTP-U data packet counters." }, { "name": "error", "desc": "Clears GTP error counters." }, { "name": "ha", "desc": "Clears GTP HA counters." }, { "name": "message messa...
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear security gtp counters all user@host> clear security gtp counters all All GTP counters have been cleared clear security gtp counters data-packet user@host> clear security gtp counters data-packet...
Command introduced in Junos OS Release 12.1X44-D10.
[]
clear security gtp sctp association
clear security gtp sctp association <all> <destination-ip> <desitnation-port> <guid> <init> <source-ip> <source-port>
Use this command to clear the Stream Control Transmission Protocol (SCTP) association.
[ { "name": "none", "desc": "Clears the live SCTP associations." }, { "name": "all", "desc": "Clears all the SCTP associations, both initiated and live. All SCTP traffic is blocked while the associations are being cleared, which can take up to one minute." }, { "name": "destination-ip", ...
clear Sample Output clear security gtp sctp association user@host> clear security gtp sctp association Clear Association Information for FPC: 2 PIC: 0 Cleared matched SCTP association information: Has cleared matched association: 0 Clear Association Information for FPC: 2 PIC: 1 Cleared matched SCTP association ...
Command introduced in Junos OS Release 12.1X45-D10.
[]
clear security gtp sctp counters
clear security gtp sctp counters
Use this command to clear the statistics of the dropped Stream Control Transmission Protocol (SCTP) counters.
[ { "name": "none", "desc": "Clears all dropped SCTP counters." } ]
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear security gprs sctp counters user@host> clear security gtp sctp counters
Command introduced in Junos OS Release 10.2.
[]
clear security host-vpn security-associations
clear security host-vpn security-associations connection-name
Clear IPsec security association information for the security association specified.
[ { "name": "connection-name", "desc": "Specify the protection information to be cleared by connection name. If no connection name is specified, information for all security associations is cleared." } ]
view Sample Output clear security host-vpn security-associations connection-name user@host> clear security host-vpn security-associations leftT1 terminate of sa:leftT1 complete clear security host-vpn security-associations user@host> clear security host-vpn security-associations terminate without IKE-SA name unsupport...
Statement introduced in Junos OS Evolved Release 18.3R1.
[]
clear security idp attack table
clear security idp attack table <logical-system (logical-system-name | all)> <tenant tenant-name>
Clears the details of the IDP attack table.
[ { "name": "none", "desc": "Clears the details of the IDP attack table." }, { "name": "logical-system logical-system-name", "desc": "(Optional) Clears the details of the IDP attack table for a specific logical system." }, { "name": "logical-system all", "desc": "(Optional) Clears the ...
clear Output Fields This command produces no output.
Command introduced in Junos OS Release 9.2. logical-system option introduced in Junos OS Release 18.3R1. tenant option introduced in Junos OS Release 19.2R1.
[]
clear security idp counters action
clear security idp counters action <logical-system (logical-system-name | all)> <tenant tenant-name>
Resets all the action counter values.
[ { "name": "none", "desc": "Resets all the action counter values." }, { "name": "logical-system logical-system-name", "desc": "(Optional) Resets all the action counter values for a specific logical system." }, { "name": "logical-system all", "desc": "(Optional) Resets all the action c...
clear Output Fields This command produces no output.
Command introduced for user logical systems in Junos OS Release 18.3R1. tenant option introduced in Junos OS Release 19.2R1.
[]
clear security idp counters application-identification
clear security idp counters application-identification <logical-system (logical-system-name | all)> <tenant tenant-name>
Resets all the application identification counter values.
[ { "name": "none", "desc": "Resets all the application identification counter values." }, { "name": "logical-system logical-system-name", "desc": "(Optional) Resets all the application identification counter values for a specific logical system." }, { "name": "logical-system all", "de...
clear Output Fields This command produces no output.
Command introduced in Junos OS Release 9.2. logical-system option introduced in Junos OS Release 18.3R1. tenant option introduced in Junos OS Release 19.2R1.
[ "application-identification" ]
clear security idp counters dfa
clear security idp counters dfa <logical-system (logical-system-name | all)> <tenant tenant-name>
Resets all the DFA counter values.
[ { "name": "none", "desc": "Resets all the DFA counter values." }, { "name": "logical-system logical-system-name", "desc": "(Optional) Resets all the DFA counter values for a specific logical system." }, { "name": "logical-system all", "desc": "(Optional) Resets all the DFA counter va...
clear Output Fields This command produces no output.
Command introduced in Junos OS Release 9.2. logical-system option introduced in Junos OS Release 18.3R1. tenant option introduced in Junos OS Release 19.2R1.
[]
clear security idp counters flow
clear security idp counters flow clear security idp counters flow logical-system logical-system
Reset all the IDP flow-related counter values.
[]
clear Output Fields This command produces no output.
Command introduced in Junos OS Release 9.2. Command introduced for user logical systems in Junos OS Release 18.3R1.
[ "flow (Security IDP)" ]
clear security idp counters http-decoder
clear security idp counters http-decoder <logical-system (logical-system-name | all)> <tenant tenant-name>
Resets all the HTTP decoder counter values.
[ { "name": "none", "desc": "Resets all the HTTP decoder counter values." }, { "name": "logical-system logical-system-name", "desc": "(Optional) Resets all the HTTP decoder counter values for a specific logical system." }, { "name": "logical-system all", "desc": "(Optional) Resets all ...
clear Output Fields This command produces no output.
Command introduced in Junos OS Release 11.2. logical-system option introduced in Junos OS Release 18.3R1. tenant option introduced in Junos OS Release 19.2R1.
[]
clear security idp counters ips
clear security idp counters ips <logical-system (logical-system-name | all)> <tenant tenant-name>
Resets all the IPS counter values.
[ { "name": "none", "desc": "Resets all the IPS counter values." }, { "name": "logical-system logical-system-name", "desc": "(Optional) Resets all the IPS counter values for a specific logical system." }, { "name": "logical-system all", "desc": "(Optional) Resets all the IPS counter va...
clear Output Fields This command produces no output.
Command introduced in Junos OS Release 9.2. logical-system option introduced in Junos OS Release 18.3R1. tenant option introduced in Junos OS Release 19.2R1.
[ "ips" ]
clear security idp counters log
clear security idp counters log <logical-system (logical-system-name | all)> <tenant tenant-name>
Resets all the IDP log counter values.
[ { "name": "none", "desc": "Resets all the IDP log counter values." }, { "name": "logical-system logical-system-name", "desc": "(Optional) Resets all the IDP log counter values for a specific logical system." }, { "name": "logical-system all", "desc": "(Optional) Resets all the IDP lo...
clear Output Fields This command produces no output.
Command introduced in Junos OS Release 9.2. logical-system option introduced in Junos OS Release 18.3R1. tenant option introduced in Junos OS Release 19.2R1.
[ "event-rate" ]
clear security idp counters memory
clear security idp counters memory <logical-system (logical-system-name | all)> <tenant tenant-name>
Resets all the memory allocation and reallocation counter values.
[ { "name": "none", "desc": "Resets all the memory allocation and reallocation counter values." }, { "name": "logical-system", "desc": "" }, { "name": "logical-system-name", "desc": "(Optional) Resets all the memory allocation and reallocation counter values for a specific logical syst...
clear Output Fields This command produces no output.
Command introduced for user logical systems in Junos OS Release 18.3R1. tenant option introduced in Junos OS Release 19.2R1.
[]
clear security idp counters packet
clear security idp counters packet <logical-system (logical-system-name | all)> <tenant tenant-name>
Resets all the IDP packet counter values.
[ { "name": "none", "desc": "Resets all the IDP packet counter values." }, { "name": "logical-system logical-system-name", "desc": "(Optional) Resets all the IDP packet counter values for a specific logical system." }, { "name": "logical-system all", "desc": "(Optional) Resets all the ...
clear Output Fields This command produces no output.
Command introduced in Junos OS Release 9.2. logical-system option introduced in Junos OS Release 18.3R1. tenant option introduced in Junos OS Release 19.2R1.
[]
clear security idp counters packet-log
clear security idp counters packet-log <logical-system (logical-system-name | all)> <tenant tenant-name>
Resets all the IDP counters value for packet log.
[ { "name": "none", "desc": "Resets all the IDP counters value for packet log." }, { "name": "logical-system", "desc": "" }, { "name": "logical-system-name", "desc": "(Optional) Resets all the IDP counters value for packet log for a specific logical system." }, { "name": "logic...
clear Output Fields This command produces no output.
Command introduced for user logical systems in Junos OS Release 18.3R1. tenant option introduced in Junos OS Release 19.2R1.
[]
clear security idp counters pdf-decoder
clear security idp counters pdf-decoder <logical-system (logical-system-name | all)> <tenant tenant-name>
Resets all the PDF-Decoder enabled sessions.
[ { "name": "none", "desc": "Resets all the PDF-Decoder enabled sessions." }, { "name": "logical-system logical-system-name", "desc": "(Optional) Resets all the PDF-Decoder enabled sessions for a specific logical system." }, { "name": "logical-system all", "desc": "(Optional) Resets al...
clear Output Fields This command produces no output.
Command introduced for user logical systems in Junos OS Release 18.3R1. tenant option introduced in Junos OS Release 19.2R1.
[]
clear security idp counters policy-manager
clear security idp counters policy-manager <logical-system (logical-system-name | all)> <tenant tenant-name>
Resets all the IDP policies counter values.
[ { "name": "none", "desc": "Resets all the IDP policies counter values." }, { "name": "logical-system logical-system-name", "desc": "(Optional) Resets all the IDP policies counter values for a specific logical system." }, { "name": "logical-system all", "desc": "(Optional) Resets all ...
clear Output Fields This command produces no output.
Command introduced in Junos OS Release 9.2. logical-system option introduced in Junos OS Release 18.3R1. tenant option introduced in Junos OS Release 19.2R1.
[]
clear security idp counters ssl-inspection
clear security idp counters ssl-inspection <logical-system (logical-system-name | all)> <tenant tenant-name>
Resets all the session encryption and decryption values for IDP counters.
[ { "name": "none", "desc": "Resets all the session encryption and decryption values for IDP counters." }, { "name": "logical-system", "desc": "" }, { "name": "logical-system-name", "desc": "(Optional) Resets all the session encryption and decryption values for IDP counters for a speci...
clear Output Fields This command produces no output.
Command introduced for user logical systems in Junos OS Release 18.3R1. tenant option introduced in Junos OS Release 19.2R1.
[]
clear security idp counters tcp-reassembler
clear security idp counters tcp-reassembler <logical-system (logical-system-name | all)> <tenant tenant-name>
Resets all the TCP reassembler counter values.
[ { "name": "none", "desc": "Resets all the TCP reassembler counter values." }, { "name": "logical-system logical-system-name", "desc": "(Optional) Resets all the TCP reassembler counter values for a specific logical system." }, { "name": "logical-system all", "desc": "(Optional) Reset...
clear Output Fields This command produces no output.
Command introduced in Junos OS Release 9.2. logical-system option introduced in Junos OS Release 18.3R1. tenant option introduced in Junos OS Release 19.2R1.
[ "re-assembler" ]
clear security idp ssl-inspection session-id-cache
clear security idp ssl-inspection session-id-cache
Clear all the entries stored in the SSL session ID cache.
[]
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear security idp ssl-inspection session-id-cache user@host> clear security idp ssl-inspection session-id-cache Total SSL session cache entries cleared : 2
Command introduced in Junos OS Release 9.3.
[]
clear security idp
clear security idp (application-identification | application-statistics | attack | counters | status)
Clear the following IDP information: • application-identification—Clear IDP application identification data. • application-statistics—Clear IDP application statistics. • attack—Clear IDP attack data • counters—Clear IDP counters • status—Clear IDP Status
[]
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear security idp status user@host> clear security idp status State of IDP: 2-default, Up since: 2010-02-04 13:37:16 UTC (17:13:45 ago) Packets/second: 0 Peak: 0 @ 2010-02-05 06:49:51 U...
Command introduced in Junos OS Release 10.1.
[]
clear security ike active-peer aaa-username
clear security ike active-peer aaa-username username
Clears all IKE security association (SA) of a user.
[ { "name": "none", "desc": "Clear all IKE SAs for the user." } ]
clear Output Fields This command produces no output.
Command introduced in Junos OS Release 22.3R1.
[]
clear security ike peers statistics
clear security ike peers statistics <gateway-name value>
Clear the global or per IKE gateway level statistics. It clears Failed and Blocked field statistics.
[ { "name": "gateway-name value", "desc": "(Optional) Enter the peer IKE gateway name as the value." } ]
clear Output Fields The command produces no output.
Command introduced in Junos OS Release 23.4R1
[ "IKE Protection from DDoS Attacks" ]
clear security ike peers
clear security ike peers <backoff | blocked | failed | in-progress> role <initiator | responder> index <value> remote-ip-address <value> local-ip-address <value> gateway-name <value>
Clear IKE peers that are backed off, blocked, failed or in progress.
[ { "name": "backoff", "desc": "Clear the remote peer entries that are temporarily denied from initiating a new IKE negotiation." }, { "name": "blocked", "desc": "Clear the remote peer entries for which the device blocked the IKE negotiations." }, { "name": "failed", "desc": "Clear the...
clear Output Fields The command produces no output.
Command introduced in Junos OS Release 23.4R1
[ "IKE Protection from DDoS Attacks" ]
clear security ike respond-bad-spi-count
clear security ike respond-bad-spi-count <gateway-name>
Clear information about invalid Internet Key Exchange (IKE) security parameter index (SPI) counters. Use the command when you run IPsec VPN service with the kmd process.
[ { "name": "none", "desc": "Clear all invalid SPI counters." }, { "name": "gateway-name", "desc": "(Optional) Clear the invalid SPI counters for the given gateway." } ]
clear Output Fields This command produces no output.
Command introduced in Junos OS Release 8.5.
[]
clear security ike security-associations
clear security ike security-associations <peer-address> <family (inet | inet6)> <fpc slot-number> <index SA-index-number> <kmd-instance (all | kmd-instance-name)> <pic slot-number> <node-local> <port port-number> <sa-type shortcut> <srg-id id-number> <ha-link-encryption>
Clear information about the current Internet Key Exchange security associations (IKE SAs). For IKEv2, the device clears the information about the IKE SAs and the associated IPSec SA.
[ { "name": "none", "desc": "Clear all IKE SAs." }, { "name": "peer-address", "desc": "(Optional) Clear IKE SAs for the destination peer at this IP address." }, { "name": "family", "desc": "(Optional) Clear IKE SAs by family." }, { "name": "inet", "desc": "IPv4 address fami...
clear Output Fields This command produces no output.
Command introduced in Junos OS Release 8.5. The fpc, pic, and kmd-instance options added in Junos OS Release 9.3. The port option added in Junos OS Release 10.0. The family option added in Junos OS Release 11.1. Support for the ha-link-encryption option added in Junos OS Release 20.4R1. Support for the srg-id option ad...
[ "https://www.juniper.net/documentation/us/en/software/junos/vpn-ipsec/topics/ref/command/", "show-security-ike-security-associations.html" ]
clear security ike stats
clear security ike stats
Clears the global IKE statistics. In releases before Junos OS Release 22.4R3, in a Chassis Cluster mode, when you run the command on the secondary node, you’ll see error message error: IKE-Config-Management not responding to management requests.
[]
clear Sample Output clear security ike stats user@host> clear security ike stats command-name The clear security ike stats command does not display any output. To view the IKE statistics, run the show security ike stats detail command. show security ike stats detail user@host> show security ike stats detail Total IKE S...
Command is introduced in Junos OS Release 20.1R1.
[ "Configure the Certificate Expiration Trap", "Enable Peer Down and IPsec Tunnel Down Traps" ]
clear security ipsec security-associations
clear security ipsec security-associations <family (inet | inet6)> <fpc slot-number> <index SA-index-number> <kmd-instance (all | kmd-instance-name)> <node-local> <pic slot-number> <sa-type shortcut> <srg-id id-number> <ha-link-encryption>
Clear information about IPsec security associations (SAs).
[ { "name": "none", "desc": "Clear all IPsec SAs." }, { "name": "family", "desc": "(Optional) Clear SAs by family." }, { "name": "inet", "desc": "IPv4 address family." }, { "name": "inet6", "desc": "IPv6 address family." }, { "name": "fpc slot-number", "desc": "...
clear Output Fields This command produces no output.
Command introduced in Junos OS Release 8.5. The fpc, pic, and kmd-instance options added in Junos OS Release 9.3. The family option added in Junos OS Release 11.1. Support for the ha-link-encryption option added in Junos OS Release 20.4R1. Support for the srg-id option added in Junos OS Release 22.4R1. Support for the ...
[]
clear security ipsec statistics
clear security ike statistics <fpc slot-number> <index SA-index-number> <kmd-instance (all | kmd-instance-name )> <pic slot-number> <srg-id id-number>
Clear IPsec statistics on the device.
[ { "name": "none", "desc": "Clear all IPsec statistics." }, { "name": "fpc slot-number", "desc": "Specific to SRX Series Firewalls. Clear statistics about existing IPsec security" }, { "name": "index SA-index-number", "desc": "(Optional) Clear the IPsec statistics for the SA with this...
clear Output Fields This command produces no output.
Command introduced in Junos OS Release 8.5. fpc and pic options added in Junos OS Release 9.3. kmd- instance option added in Junos OS Release 10.4. srg-id option added in Junos OS Release 22.4R1.
[]
clear security ipsec tunnel-events-statistics
clear security ipsec tunnel-events-statistics
Clear IPsec tunnel event statistics.
[]
clear Output Fields This command produces no output.
Command introduced in Junos OS Release 12.3X48-D10.
[]
clear security log file
clear security log file
Deletes the content of an event mode security log file stored on the device in binary format.
[]
clear Sample Output clear security log file user@host> clear security log file 7905 security log events cleared clear security log file logical-system LSYS1 user@host> clear security log file logical-system LSYS1 7905 security log events cleared clear security log file tenant TSYS1 user@host> clear security log file t...
Command introduced in Junos OS Release 12.1.
[]
clear security log stream file
clear security log query clear security log stream file <file-name>
• clear security log query—Clear the content of the database. • clear security log stream file—Clear the content of the current log file. • clear security log stream file logical-system LSYS1 —Clear the content of the current log file for logical system. • clear security log stream file tenant TSYS1 —Clear the content ...
[]
clear Output Fields The following outputs are occurred in two conditions: • Clear log stream file successfully, when there is log file. • Clear log stream file error or does not exits, when there is no log file. Sample Output clear security log stream file LSYS_f1.bin logical-system LSYS1 user@host> clear security log ...
Command introduced in Junos OS Release 15.1X49-D70. The logical-system and tenant options are introduced in Junos OS Release 19.2R1.
[]
clear security log transport
clear security log transport <stream-name | all> <logical-system | root-logical-system | tenant>
Clears the transport-level statistics for configured security log streams. This command resets the dynamic counters such as logs delivered, logs undelivered, bytes sent, and bytes undelivered to zero for a specified or all streams.
[ { "name": "stream-name", "desc": "Clear transport counters and logs related to the configured log stream." }, { "name": "all", "desc": "Clear transport counters and logs for all configured log streams on the device." }, { "name": "logical-system", "desc": "Clear transport counters an...
clear Output Fields Table 13 on page 4208 lists the output fields for the show security log transport all command. Output fields are listed in the approximate order in which they appear. Table 13: clear security log transport all Output Fields Field Name Field Description Stream name The name of the configured transpor...
Command introduced in Junos OS Release 25.4R1
[]
clear security log
clear security log <all> <all-logical-systems-tenants> <destination-address> <destination-port> <event-id> <failure> <file> <interface-name> <newer-than> <older--than> <policy-name> <process> <protocol> <query> <report> <severity> <source-address> <source-port> <stream> <success> <transport> <username>
Delete the event log.
[ { "name": "all", "desc": "Clear all audit event logs stored in the device memory." }, { "name": "all-logical-systems-tenants", "desc": "Clear all audit event logs for all the logical systems and tenant systems." }, { "name": "destination-address", "desc": "Clear audit event logs with...
clear Sample Output clear security log all user@host> clear security log all 7905 security log events cleared
Command introduced in Junos OS Release 11.2. all-logical-systems-tenants option introduced in Junos OS Release 19.3R1. transport option introduced in Junos OS Release 25.4R1.
[ "show security log" ]
clear security nat incoming-table
clear security nat incoming-table <node ( node-id | all | local | primary)>
Clear Network Address Translation (NAT) incoming table information.
[ { "name": "none", "desc": "Clear all information NAT incoming table." }, { "name": "node", "desc": "(Optional) For chassis cluster configurations, clear incoming table information on a specific node" }, { "name": "node-id", "desc": "Identification number of the node. It can be 0 or 1...
clear Output Fields This command produces no output.
Command introduced in Junos OS Release 8.5. The node options added in Junos OS Release 9.0.
[]
clear security nat source persistent-nat-table
clear security nat source persistent-nat-table ( all | interface | internal-ip ip-address <internal-port port> | pool poolname )
Clear Network Address Translation (NAT) persistent NAT bindings that are in query mode, where all sessions of the binding are gone.
[ { "name": "all", "desc": "Clear all persistent NAT bindings that are in query mode." }, { "name": "interface", "desc": "Clear persistent NAT bindings that are in query mode for the specified interface." }, { "name": "internal-ip ip-address", "desc": "Clear persistent NAT bindings for...
clear Output Fields This command produces no output.
Command introduced in Junos OS Release 10.0.
[]