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 security nat statistics destination pool | clear security nat statistics destination pool
<pool-name>
all | Clear the destination NAT pool information. | [
{
"name": "pool-name",
"desc": "Clear specified destination nat pool information."
},
{
"name": "all",
"desc": "Clear all destination nat pool information."
}
] | clear
Output Fields
When you enter this command, you are provided feedback on the status of your request. | Command introduced in Junos OS Release 11.1. | [] | |
clear security nat statistics destination rule | clear security nat statistics destination rule
<rule-name>
alll | Clear the destination NAT rule information. | [
{
"name": "rule-name",
"desc": "Clear specified destination nat rule-set information."
},
{
"name": "all",
"desc": "Clear all destination nat rule-set information."
}
] | clear
Output Fields
When you enter this command, you are provided feedback on the status of your request. | Command introduced in Junos OS Release 11.1. | [] | |
clear security nat statistics source pool | clear security nat statistics source pool
<pool-name>
all | Clear the source NAT statistic pool information. | [
{
"name": "pool-name",
"desc": "Clear the specified source nat pool information."
},
{
"name": "all",
"desc": "Clear all source pool information."
}
] | clear
Output Fields
When you enter this command, you are provided feedback on the status of your request. | Command introduced in Junos OS Release 11.1. | [] | |
clear security nat statistics source rule | clear security nat statistics source rule
<rule-name>
all | Clear the source NAT statistic rule-set information. | [
{
"name": "rule-name",
"desc": "Clear the specified source rule-set information."
},
{
"name": "all",
"desc": "Clear all source nat rule-set information."
}
] | clear
Output Fields
When you enter this command, you are provided feedback on the status of your request. | Command introduced in Junos OS Release 11.1. | [] | |
clear security nat statistics static rule | clear security nat statistics static rule
<rule-name>
all | Clear the static NAT rule-set information. | [
{
"name": "rule-name",
"desc": "Clear specified static nat rule-set information."
},
{
"name": "all",
"desc": "Clear all static nat rule-set information."
}
] | clear
Output Fields
When you enter this command, you are provided feedback on the status of your request. | Command introduced in Junos OS Release 11.1. | [] | |
clear security pki ca-certificate | clear security pki ca-certificate (all | ca-profile ca-profile-name) | Delete certificate authority (CA) digital certificates from the router. | [
{
"name": "all",
"desc": "Delete all CA digital certificates from the router."
},
{
"name": "ca-profile ca-profile-name",
"desc": "Delete the specified CA profile."
}
] | clear
Output Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
clear security pki ca-certificate all
user@host> clear security pki ca-certificate all | Command introduced in Junos OS Release 7.5. | [] | |
clear security pki certificate-request | clear security pki certificate-request (all | certificate-id certificate-id-name) | Delete manually generated local digital certificate requests from the router. | [
{
"name": "all",
"desc": "Delete all local digital certificate requests from the router."
},
{
"name": "certificate-id certificate-id-name",
"desc": "Delete the specified local digital certificate and corresponding public/ private key pair."
}
] | clear
Output Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
clear security pki certificate-request all
user@host> clear security pki certificate-request all | Command introduced in Junos OS Release 7.5. | [] | |
clear security pki crl | clear security pki crl (all | ca-profile ca-profile-name) | Delete certificate revocation lists (CRLs) from the router. | [
{
"name": "all",
"desc": "Delete all CRLs from the router."
},
{
"name": "ca-profile ca-profile-name",
"desc": "Delete CRLs associated with the specified CA profile."
}
] | clear
Output Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
clear security pki crl ca-profile all
user@host> clear security pki crl ca-profile all | Command introduced in Junos 8.1 | [] | |
clear security pki key-pair (Local Certificate) | clear security pki key-pair (all | certificate-id certificate-id ) | Clear public key infrastructure (PKI) key pair information for local digital certificates on the device. | [
{
"name": "all",
"desc": "Clear key pair information for all local certificates."
},
{
"name": "certificate-id certificate-id",
"desc": "Clear key pair information for the local certificate with this certificate"
}
] | clear and security
Output Fields
This command produces no output. | Command introduced in Junos OS Release 8.5. | [] | |
clear security pki key-pair | clear security pki key-pair (all | certificate-id certificate-id-name) | Clear public key infrastructure (PKI) key pair information for local digital certificates from the router. | [
{
"name": "all",
"desc": "Delete all local digital certificates, certificate requests, and the corresponding public and private key pairs from the router."
},
{
"name": "certificate-id",
"desc": ""
},
{
"name": "certificate-id-name",
"desc": "Delete the specified local digital certif... | clear
Output Fields
This command produces no output.
Sample Output
command-name
user@host> clear security pki key pair | Command introduced in Junos OS Release 8.5. | [] | |
clear security pki local-certificate (Device) | clear security pki local-certificate (all | certificate-id certificate-id |
system-generated) | Clear public key infrastructure (PKI) information for local digital certificates on the device. | [
{
"name": "all",
"desc": "Clear information for all the local digital certificates on the device."
},
{
"name": "certificate-id certificate-id",
"desc": "Clear the specified local digital certificate with this certificate ID."
},
{
"name": "system-generated",
"desc": "Clear the exist... | clear and security
Output Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
clear security pki local-certificate all
user@host> clear security pki local-certificate all
Sample Output
clear security pki local-certificate system-generated
user@host> c... | Command modified in Junos OS Release 9.1.
Starting in Junos OS Release 20.1R1 on vSRX Virtual Firewall 3.0, you can safeguard the private keys
used by PKID and IKED using Microsoft Azure Key Vault hardware security module (HSM) service. You
can establish a PKI based VPN tunnel using the keypairs generated at the HSM. T... | [] | |
clear security pki local-certificate | clear security pki local-certificate
<all | certificate-id certificate-id-name | system-generated> | Delete local digital certificates, certificate requests, and the corresponding public/private key pairs from
the router. | [
{
"name": "all",
"desc": "(Optional) Delete all local digital certificates, certificate requests, and the corresponding public and private key pairs from the router."
},
{
"name": "certificate-id",
"desc": ""
},
{
"name": "certificate-id-name",
"desc": "(Optional) Delete the specifie... | clear
Output Fields
This command produces no output.
Sample Output
clear security pki local-certificate all
user@host> clear security pki local-certificate all | Command introduced in Junos OS Release 7.5. | [] | |
clear security pki local-certificate | clear security pki local-certificate
<all | certificate-id certificate-id-name | system-generated> | Delete local digital certificates, certificate requests, and the corresponding public/private key pairs from
the switch. | [
{
"name": "all",
"desc": "(Optional) Delete all local digital certificates, certificate requests, and the corresponding public and private key pairs from the router. NOTE: This option does not delete the automatically generated self-signed certificate or its public/private key pair."
},
{
"name": "c... | clear
Output Fields
This command produces no output.
Sample Output
clear security pki local-certificate all
user@switch> clear security pki local-certificate all | Command introduced in Junos OS Release 11.1. | [
"Deleting Self-Signed Certificates (CLI Procedure)"
] | |
clear security pki node-local key-pair | clear security pki node-local key-pair (all | certificate-id certificate-id) ) | Clear public key infrastructure (PKI) key pair information for local digital certificates on the local device
in a Multinode High Availability system. | [
{
"name": "all",
"desc": "Clear key pair information for all local certificates."
},
{
"name": "certificate-id certificate-id",
"desc": "Clear key pair information for the local certificate with this certificate"
}
] | clear and security
Output Fields
This command produces no output. | Command introduced in Junos OS Release 22.3R1 | [
"Multinode High Availability",
"request security pki node-local generate-key-pair",
"request security pki node-local key-pair export"
] | |
clear security pki node-local local-certificate | clear security pki node-local local-certificate (all | certificate-id certificate-id | system-
generated) | Clear public key infrastructure (PKI) information for local digital certificates on the local device in a
Multinode High Availability system. | [
{
"name": "all",
"desc": "Clear information for all the local digital certificates on the device."
},
{
"name": "certificate-id certificate-id",
"desc": "Clear the specified local digital certificate with this certificate ID."
},
{
"name": "system-generated",
"desc": "Clear the exist... | clear and security
Output Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
This command produces no output. | Command modified in Junos OS Release 22.3R1 | [
"Multinode High Availability",
"show security pki local-certificate (View)",
"request security pki node-local local-certificate load",
"request security pki node-local local-certificate export",
"request security pki node-local local-certificate enroll",
"request security pki node-local local-certificate ... | |
clear security pki statistics | clear security pki statistics | Clear PKI statistics on the device. | [] | clear
Output Fields
This command produces no output. | Command introduced in Junos OS Release 21.4R1. | [] | |
clear security policies file-serialization counters | clear security policies file-serialization counters | Clear the file serialization counters. | [] | view
Sample Output
clear security policies file-serialization counters
user@host> clear security policies file-serialization counters
Output Fields
When you enter this command, the system provides feedback on the status of your request. | Command introduced in Junos OS Release 24.4R1 | [] | |
clear security policies hit-count | clear security policies hit-count
<from-zone zone-name>
<to-zone zone-name> | Clear the hit-count values for security policies. | [
{
"name": "from-zone zone-name",
"desc": "(Optional) Clear the number of hits for security policies associated with the"
},
{
"name": "to-zone zone-name",
"desc": "(Optional) Clear the number of hits for security policies associated with the named"
}
] | clear
Output Fields
This command produces no output. | Command introduced in Junos Release 12.1. | [
"Monitoring Security Policy Statistics"
] | |
clear security policies statistics | clear security policies statistics | Clear systemwide policies statistics and security policies statistics configured on the device. | [] | clear
Output Fields
This command produces no output. | Command introduced in Junos OS Release 8.5. Support. | [
"Monitoring Security Policy Statistics"
] | |
clear security screen statistics interface | clear security screen statistics interface interface-name
logical-system
root-logical-system
tenant | Clear intrusion detection service (IDS) security screen statistics for an interface under one specific
logical system or a tenant system. | [
{
"name": "interface-name",
"desc": "Name of the interface on which to clear security screen statistics."
},
{
"name": "logical-system",
"desc": "Name of the logical system."
},
{
"name": "root-logical-system",
"desc": "(Default) Displays root logical system as default."
},
{
... | clear
Output Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
clear security screen statistics interface fab0
user@host> clear security screen statistics interface fab0
node0:
--------------------------------------------------------------------------
... | Command introduced in Junos OS Release 8.5.
The node option is added in Junos OS Release 9.0.
The tenant option is introduced in Junos OS Release 18.3R1. | [
"Example: Configuring Multiple Screening Options"
] | |
clear security screen statistics zone | clear security screen statistics zone <zone-name>
logical-system
root-logical-system
tenant | Clear IDS security screen statistics for a security zone under all or a specific logical systems or tenant
systems. | [
{
"name": "zone <zone-name>",
"desc": "Name of the security zone."
},
{
"name": "logical-system",
"desc": "Name of the logical system."
},
{
"name": "root-logical-system",
"desc": "(Default) Displays root logical system as default."
},
{
"name": "tenant",
"desc": "The nam... | clear
Output Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
clear security screen statistics zone abc node all
user@host> clear security screen statistics zone abc node all
node0:
---------------------------------------------------------------------... | Command introduced in Junos OS Release 8.5.
The node option is added in Junos OS Release 9.0.
The tenant option is added in Junos OS Release 18.3R1. | [
"Example: Configuring Multiple Screening Options"
] | |
clear security screen statistics | clear security screen statistics
<node ( node-id | all | local | primary)> | Clear intrusion detection service (IDS) security screen statistics on the device. | [
{
"name": "node",
"desc": "(Optional) For chassis cluster configurations, clear security screen statistics on a specific node."
},
{
"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
This command produces no output.
Sample Output
clear security screen statistics node 0
user@host> clear security screen statistics node 0 | Command introduced in Junos OS Release 9.0. | [
"Example: Configuring Multiple Screening Options"
] | |
clear security ssh key-pair-identity | clear security ssh key-pair-identity <all> | <identity-name> | Clear private and public SSH key pair for the specified files. | [
{
"name": "all",
"desc": "Clear all the key-pair files."
},
{
"name": "identity-name",
"desc": "Clear identity name."
}
] | clear
Output Fields
Sample Output
clear security ssh key-pair-identity sample
user@host> clear security ssh key-pair-identity sample
SSH key sample was removed | Command introduced in Junos OS Release 15.1X49-D70. | [] | |
clear security tcp-encap statistics | clear security tcp-encap statistics | Clear TCP encapsulation statistics. | [] | clear
Output Fields
This command produces no output. | Command introduced in Junos OS Release 15.1X49-D80. | [] | |
clear security user-identification local-authentication-table | clear security user-identification local-authentication-table | This command removes all entries from the local authentication table. | [] | clear
Output Fields
When you enter this command, all entries are cleared from the local authentication table.
Sample Output
clear security user-identification local-authentication-table
user@host> clear security user-identification local-authentication-table
user@host> show security user-identification local-authentica... | Command introduced in Junos OS Release 12.1. | [
"Understanding Application Security",
"Firewall User Authentication Overview"
] | |
clear security utm anti-spam statistics | clear security utm anti-spam statistics
<root-logical-system>
<logical-system (logical-system-name | all)>
<all-logical-systems-tenants>
<tenant (tenant-name | all)> | Clears antispam statistics information. With chassis cluster support for Content Security, statistics from
both the nodes is cleared.
Starting in Junos OS Release 18.3R1, you can clear the antispam statistics information for the primary
logical system or for a specific user logical system or for all the user logical sy... | [
{
"name": "none",
"desc": "Clears the antispam statistics information for the primary logical system."
},
{
"name": "root-logical-system",
"desc": "(Optional) Clears the antispam statistics information for the primary logical system."
},
{
"name": "logical-system logical-system-name",
... | clear
Sample Output
clear security utm anti-spam statistics
user@host> clear security utm anti-spam statistics
Anti-spam clear statistics result: clear done
clear security utm anti-spam statistics root-logical-system
user@host> clear security utm anti-spam statistics root-logical-system
Anti-spam clear statistics re... | Command introduced in Junos OS Release 9.5.
Support for Content Security in chassis cluster added in Junos OS Release 11.4.
Support for Content Security in logical system added in Junos OS Release 18.3R1.
Support for Content Security in tenant system added in Junos OS Release 19.2R1. | [] | |
clear security utm antivirus statistics | clear security utm anti-virus statistics
<root-logical-system>
<logical-system (logical-system-name | all)>
<all-logical-systems-tenants>
<tenant (tenant-name | all)> | Clears antivirus statistics information. With chassis cluster support for Content Security, statistics from
both the nodes are cleared.
Starting in Junos OS Release 18.3R1, you can clear the antivirus statistics information for the primary
logical system or for a specific user logical system or for all the user logical... | [
{
"name": "none",
"desc": "Clears the antivirus statistics information for the primary logical system."
},
{
"name": "root-logical-system",
"desc": "(Optional) Clears the antivirus statistics information for the primary logical system."
},
{
"name": "logical-system logical-system-name",
... | clear
Sample Output
clear security utm anti-virus statistics
user@host> clear security utm anti-virus statistics
Anti-virus clear statistics result: clear done
clear security utm anti-virus statistics root-logical-system
user@host> clear security utm anti-virus statistics root-logical-system
Anti-virus clear statist... | Command introduced in Junos OS Release 9.5.
Support for Sophos Antivirus added in Junos OS Release 11.1.
Support for Content Security in chassis cluster added in Junos OS Release 11.4.
Support for Content Security in logical system added in Junos OS Release 18.3R1.
Support for Content Security in tenant system added in... | [] | |
clear security utm content-filtering statistics | clear security utm content-filtering statistics
<root-logical-system>
<logical-system (logical-system-name | all)>
<all-logical-systems-tenants>
<tenant (tenant-name | all)> | Clears content-filtering statistics information. With chassis cluster support for Content Security,
statistics from both the nodes are cleared.
Starting in Junos OS Release 18.3R1, you can clear the content filtering statistics information for the
primary logical system or for a specific user logical system or for all ... | [
{
"name": "none",
"desc": "Clears the content filtering statistics information for the primary logical system."
},
{
"name": "root-logical-system",
"desc": "(Optional) Clears the content filtering statistics information for the primary logical system."
},
{
"name": "logical-system logica... | clear
Sample Output
clear security utm content-filtering statistics
user@host> clear security utm content-filtering statistics
Content-filtering clear statistics result: clear done
clear security utm content-filtering statistics root-logical-system
user@host> clear security utm content-filtering statistics root-logi... | Command introduced in Junos OS Release 9.5.
Support for Content Security in chassis cluster added in Junos OS Release 11.4.
Support for Content Security in logical system added in Junos OS Release 18.3R1.
Support for Content Security in tenant system added in Junos OS Release 19.2R1. | [] | |
clear security utm session | clear security utm session | Clear Content Security session information. With chassis cluster support for Content Security, sessions
on both the nodes are cleared. | [] | clear
Output Fields
This command produces no output. | Command introduced in Junos OS Release 9.5.
Support for Content Security in chassis cluster added in Junos OS Release 11.4. | [] | |
clear security utm web-filtering statistics | clear security utm web-filtering statistics
<root-logical-system>
<logical-system (logical-system-name | all)>
<all-logical-systems-tenants>
<tenant (tenant-name | all)> | Clear web filtering statistics information. With chassis cluster support for Content Security, statistics
from both the nodes is cleared.
Starting in Junos OS Release 18.3R1, you can clear the Web filtering statistics information for the
primary logical system or for a specific user logical system or for all the user l... | [
{
"name": "none",
"desc": "Clears the Web filtering statistics information for the primary logical system."
},
{
"name": "root-logical-system",
"desc": "(Optional) Clears the Web filtering statistics information for the primary logical system."
},
{
"name": "logical-system logical-system... | clear
Sample Output
clear security utm web-filtering statistics
user@host> clear security utm web-filtering statistics
Web-filtering clear statistics result: clear done
clear security utm web-filtering statistics root-logical-system
user@host> clear security utm web-filtering statistics root-logical-system
Web-filt... | Command introduced in Junos OS Release 9.5 .
Support for Content Security in chassis cluster added in Junos OS Release 11.4 .
Support for Content Security in logical system added in Junos OS Release 18.3R1.
Support for Content Security in tenant system added in Junos OS Release 19.2R1. | [] | |
clear service l2tp session routing-instance | clear service l2tp session routing-instance name | Enables you to log out all the L2TP subscriber sessions associated with a routing instance at once. This
feature supports IPv4, IPv6, and dual stack subscribers. | [
{
"name": "routing-instance",
"desc": ""
},
{
"name": "name",
"desc": "Name of the routing instance from which you need to log out all the L2TP subscriber sessions."
}
] | clear
Sample Output
clear service l2tp session routing-instance name
user@host> clear service l2tp session routing-instance cust-vrf
Session 50924 closed | Command introduced in Junos OS Release 22.4R1. | [] | |
clear service user-identification identity-management counter | clear service user-identification identity-management counter | Clear the counters associated with the batch queries and IP queries for the advanced user query feature. | [] | clear | Statement introduced in Junos OS Release 15.1X49-D100. | [] | |
clear services accounting statistics inline-jflow | clear services accounting statistics inline-jflow
<inline-jflow (fpc-slot slot-number)> | Clear inline flow statistics for a specified FPC. | [
{
"name": "fpc-slot slot-number",
"desc": "Clear inline flow statistics for the specified FPC."
},
{
"name": "MX80 Series routers only",
"desc": "Replace slot-number with a value from 0 through 1."
},
{
"name": "MX104 Series routers only",
"desc": "Replace slot-number with a value fr... | view
Output Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
clear services accounting statistics inline-jflow
user@host> run clear services accounting statistics inline-jflow fpc-slot 5
Statistics Cleared | Command introduced in Junos OS Release 14.2. | [] | |
clear services advanced-anti-malware statistics | clear services advanced-anti-malware statistics | Sets the following advanced anti-malware statistics to 0. See "show services advanced-anti-malware
statistics" on page 26272 for information on these statistics.
Use this command when you change the Juniper Advanced Threat Prevention Cloud profile or policy
settings and want to reset the statistics in order to view the... | [] | clear
Output Fields
This command produces no output.
Sample Output
clear services advanced-anti-malware statistics
user@host> clear services advanced-anti-malware statistics | Command introduced in Junos OS Release 15.1X49-D33. | [] | |
clear services agf nas statistics | clear services agf nas statistics | Clear Non-Access Stratum (NAS) messaging information that the Access Gateway Function (AGF) has
collected. | [
{
"name": "none",
"desc": ""
}
] | view | Command introduced in Junos OS Release 22.3R1. | [] | |
clear services agf ngap amf | clear services agf ngap amf
<amf-name>
statistics | Clear N1 messages sent to the Access Gateway Function (AGF) from the Access and Mobility
Management Functions (AMFs). | [
{
"name": "amf-name",
"desc": "(Optional) Clear the statistics for a particular AMF."
},
{
"name": "statistics",
"desc": "Clear the statistics for all the AMFs."
}
] | view | Command introduced in Junos OS Release 22.3R1. | [] | |
clear services alg statistics | clear services alg statistics | Clear ALG statistics for Junos OS extension-provider packages. | [
{
"name": "application-profile",
"desc": "Clear all sessions for the application profile."
},
{
"name": "interface",
"desc": "Clear all sessions for the interface."
}
] | view | Command introduced in Junos OS Release 10.4.
Support added in Junos OS Release 19.3R2 for Next Gen Services on MX Series routers MX240, MX480
and MX960 with the MX-SPC3 services card. | [] | |
clear services application-aware-access-list statistics | clear services application-aware-access-list statistics | Clear application-aware access list (AACL) statistics. | [] | clear | Command introduced in Junos OS Release 9.5. | [] | |
clear services application-identification application-statistics cumulative | clear services application-identification application-statistics cumulative | Clear all Junos OS application cumulative statistics. | [] | clear
Output Fields
This command produces no output. | Statement introduced in Junos OS Release 11.4. | [] | |
clear services application-identification application-statistics interval | clear services application-identification application-statistics interval | Clear all Junos OS application interval statistics. | [] | clear
Output Fields
This command produces no output. | Statement introduced in Junos OS Release 11.4. | [] | |
clear services application-identification application-statistics | clear services application-identification application-statistics | Clears all Junos OS application statistics such as cumulative, interval, applications, and application
groups. | [] | clear
Output Fields
This command produces no output. | Statement introduced in Junos OS Release 11.4. | [
"clear services application-identification application-system-cache (Junos"
] | |
OS) | clear services application-identification application-system-cache
<node ( node-id | all | local | primary ) >
<logical-system (logical-system-name | all | root-logical-system)>
<tenant (tenant-name | all)> | Clear Junos OS application identification application system cache. | [
{
"name": "none",
"desc": "Clears the application system cache on the device."
},
{
"name": "node",
"desc": "(Optional) For chassis cluster configurations, clear application system cache on the specified nodes."
},
{
"name": "node-id",
"desc": "Specific node number"
},
{
"nam... | clear
Output Fields
This command produces no output. | Command introduced in Junos OS Release 10.2.
Command syntax updated in Junos OS Release 12.1.
logical-system option introduced in Junos OS Release 18.3R1.
tenant option introduced in Junos OS Release 19.4R1. | [] | |
clear services application-identification application-system-cache | clear services application-identification application-system-cache | Clear entries from the application system cache. | [] | clear
Output Fields
When you enter this command, you are provided no feedback on the status of your request.
Sample Output
clear services application-identification application-system-cache
user@host> clear services application-identification application-system-cache | Statement introduced in Junos OS Release 17.1. | [] | |
clear services application-identification counter (Values) | clear services application-identification counter
<ssl-encrypted-sessions>
<logical-system (logical-system-name | all | root-logical-system)>
<tenant (tenant-name | all)> | Resets all the Junos OS application identification counter values. | [
{
"name": "ssl-encrypted-sessions",
"desc": "(Optional) Resets application identification counter values for SSL encrypted sessions."
},
{
"name": "logical-system logical-system-name",
"desc": "(Optional) Resets application identification counter values of the specified logical system."
},
{... | clear
Output Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
clear services application-identification counter
user@host> clear services application-identification counter
clear_counter_class: counters cleared, status = 0
clear services application-identificat... | Command introduced in Junos OS Release 10.2. Command updated in Junos OS Release 12.1-X47-D15.
logical-system option introduced in Junos OS Release 18.3R1.
tenant option introduced in Junos OS Release 19.4R1. | [] | |
clear services application-identification packet-capture counters | clear services application-identification packet-capture counters | Clear all packet capture counters generated for unknown application traffic. | [] | maintenance
Output Fields
When you enter this command, the system provides feedback on the status of your request.
Sample Output
command-name
user@host> clear services application-identification packet-capture counters
Packet-capture counters cleared | Statement introduced in Junos OS Release 20.2R1. | [
"Configure Packet Capture For Unknown Application Traffic"
] | |
clear services application-identification statistics | clear services application-identification statistics
<cumulative>
<interval>
<logical-system (logical-system-name | all | root-logical-system)>
<tenant (tenant-name | all)> | Clears all Junos OS application statistics such as cumulative, interval, applications, and application
groups. | [
{
"name": "cumulative",
"desc": "(Optional) Clears the cumulative application statistics."
},
{
"name": "interval",
"desc": "(Optional) Clears the application interval statistics. Interval statistics are displayed in Top-N format, such that the first application group displayed has the largest b... | clear
Output Fields
When you enter this command, you are provided no feedback on the status of your request.
Sample Output
clear services application-identification statistics
user@host> clear services application-identification statistics
appid statistics cleared
clear services application-identification statistics l... | Statement introduced in Junos OS Release 17.1 on MX Series.
logical-system option introduced in Junos OS Release 18.3R1 on SRX Series.
tenant option introduced in Junos OS Release 19.4R1 on SRX Series. | [] | |
clear services captive-portal-content-delivery statistics | clear services captive-portal-content-delivery statistics
<interface pic-name> | Clear captive portal content delivery statistics. | [
{
"name": "interface",
"desc": "Clear statistics by PIC name."
}
] | clear
Output Fields
When you enter this command, you receive feedback on the status of your request.
clear services captive-portal-content-delivery statistics
command-name
user@host> clear services captive-portal-content-delivery statistics interface ms-5/0/0
user@host> show services captive-portal-content-delivery st... | Command introduced in Junos OS Release 10.4. | [] | |
clear services cos statistics | clear services cos statistics
<interface interface-name>
<service-set service-set-name> | Clear statistics for class-of-service (CoS) code point bit patterns and forwarding classes as configured in
CoS services for the AS PIC. | [
{
"name": "none",
"desc": "Clear all services CoS statistics."
},
{
"name": "interface interface-name",
"desc": "(Optional) Clear statistics for the specified interface only."
},
{
"name": "service-set service-set-name",
"desc": "(Optional) Clear statistics for the specified service ... | view
Output Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
clear services cos statistics
user@host> clear services cos statistics | Command introduced in Junos OS Release 8.1. | [] | |
clear services crtp statistics | clear services crtp statistics
<interface interface-name> | Clear Compressed Real-Time Transport Protocol (CRTP) flow statistics. | [
{
"name": "none",
"desc": "Clear CRTP flow statistics on all interfaces."
},
{
"name": "interface interface-name",
"desc": "(Optional) Clear CRTP flow statistics for the specified interface. On M Series and T Series routers, a link services IQ (lsq-fpc/pic/port) or redundant link services IQ (rl... | view
Output Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
clear services crtp statistics
user@host> clear services crtp statistics | Command introduced before Junos OS Release 7.4. | [] | |
clear services dns-filtering cache | clear services dns-filtering cache
clear services dns-filtering cache logical-system all
clear services dns-filtering cache tenant all
clear services dns-filtering cache logical-system <logical-system-name>
clear services dns-filtering cache tenant <tenant-name>
clear services dns-filtering cache all-logical-systems-te... | Clear all entries in the DNS cache. See "show services dns-filtering cache" on page 26450 for information
on the DNS cache entries. | [
{
"name": "fqdn",
"desc": "Clear a specific fqdn from the DNS cache."
}
] | clear
Output Fields
This command produces no output.
Sample Output
clear services dns-filtering cache
user@host> clear services dns-filtering cache
clear services dns-filtering cache logical-system all
user@host> clear services dns-filtering cache logical-system all
clear services dns-filtering cache tenant all
user@h... | dns-filtering cache command introduced in Junos OS Release 21.2R1 | [] | |
clear services dns-snooping cache | clear services dns-snooping cache | Clears DNS snooping cache details. | [] | Clear
Sample Output
clear services dns-snooping cache
user@host> clear services dns-snooping cache
The command does not display any message. | Command introduced in Junos OS Release 25.2R1. | [] | |
clear services dns-snooping counters | clear services dns-snooping counters | Clear DNS snooping counter details. | [] | Clear
Sample Output
clear services dns-snooping counters
user@host> clear services dns-snooping counters
The command does not display any message. | Command introduced in Junos OS Release 25.2R1. | [] | |
clear services dynamic-flow-capture | clear services dynamic-flow-capture capture-group group-name
<criteria-identifier identifier>
<destination-identifier identifier>
<force>
<static> | (M320 Series routers and T Series routers only) Clear dynamic flow capture information for specified
capture group. | [
{
"name": "capture-group group-name",
"desc": "Use the specified capture-group identifier."
},
{
"name": "criteria-identifier identifier",
"desc": "(Optional) Use the specified criteria identifier."
},
{
"name": "destination-identifier identifier",
"desc": "(Optional) Use the specifi... | network
Output Fields
When you enter this command, you are not provided feedback on the status of your request.
Sample Output
clear services dynamic-flow-capture
user@host> clear services dynamic-flow-capture capture-group flow-a | Command introduced in Junos OS Release 7.4. | [] | |
clear services flow-collector statistics | clear services flow-collector statistics (all | interface interface-name) | (M40e, M160, and M320 Series routers and T Series routers only) Clear statistics for one flow collector
interface or for all flow collector interfaces. | [
{
"name": "all",
"desc": "Clear statistics for all configured flow collector interfaces."
},
{
"name": "interface interface-name",
"desc": "Clear statistics for the specified flow collector interface (cp-fpc/pic/port)."
}
] | network
Output Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
clear services flow-collector statistics
user@host> clear services flow-collector statistics interface cp-5/0/0
Flow collector interface: cp-5/0/0
Interface state: Collecting flows
Sta... | Command introduced before Junos OS Release 7.4. | [] | |
clear services icap-redirect statistic | clear services icap-redirect statistic
<all-logical-systems-tenants>
<root-logical-system>
<logical-system (logical-system-name | all)>
<tenant (tenant-name | all)> | Clears the ICAP services redirects statistic. ICAP services redirect redirects the HTTP or HTTPS traffic to
any third-party server. The security device acts as an SSL proxy server and decrypts the pass-through
traffic with the proper SSL profile under a security policy. | [
{
"name": "all-logical-systems-tenants",
"desc": "(Optional) Clears the ICAP services redirects statistic for the root logical system, all logical systems, and all tenant systems."
},
{
"name": "logical-system logical-system-name",
"desc": "(Optional) Clears the ICAP services redirects statistic... | clear
Output Fields
Sample Output
clear services icap-redirect statistic root-logical-system
user@host> clear services icap-redirect statistic root-logical-system
STATISTICS CLEARED
clear services icap-redirect statistic all-logical-systems-tenants
user@host> clear services icap-redirect statistic all-logical-systems-... | Command introduced in Junos OS Release 18.3R1.
tenant option introduced in Junos OS Release 20.1R1. | [
"ICAP Service Redirect"
] | |
clear services ids destination-table | clear services ids destination-table
<destination-prefix destination-prefix-name>
<interface interface-name>
<service-set service-set-name> | Clear the intrusion detection service (IDS) events for a particular address that might be under attack. | [
{
"name": "none",
"desc": "Clear the attack destination address table."
},
{
"name": "destination-prefix destination-prefix-name",
"desc": "(Optional) Clear the attack destination table for a particular destination prefix."
},
{
"name": "interface interface-name",
"desc": "(Optional)... | view
Output Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
clear services ids destination-table
user@host> clear services ids destination-table | Command introduced before Junos OS Release 7.4. | [] | |
clear services ids pair-table | clear services ids pair-table
<destination-prefix destination-prefix-name>
<interface interface-name>
<service-set service-set-name>
<source-prefix source-prefix-name> | Clear the intrusion detection service (IDS) attack source and destination address pair table. | [
{
"name": "none",
"desc": "Clear the attack source and destination address pair table."
},
{
"name": "destination-prefix",
"desc": ""
},
{
"name": "destination-prefix-name",
"desc": "(Optional) Clear the attack source and destination address pair table for a particular destination pr... | view
Output Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
clear services ids pair-table
user@host> clear services ids pair-table | Command introduced before Junos OS Release 7.4. | [] | |
clear services ids source-table | clear services ids source-table
<interface interface-name>
<service-set service-set-name>
<source-prefix source-prefix-name> | Clear all intrusion detection service (IDS) events for addresses that are suspected attackers. | [
{
"name": "none",
"desc": "Clear the attack source address table."
},
{
"name": "interface interface-name",
"desc": "(Optional) On M Series and T Series routers, the interface-name can be sp-fpc/pic/port or rspnumber."
},
{
"name": "service-set service-set-name",
"desc": "(Optional) ... | view
Output Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
clear services ids source-table
user@host> clear services ids source-table | Command introduced before Junos OS Release 7.4. | [] | |
clear services ids | clear services ids
<interface interface-name>
<service-set service-set-name> | Clear intrusion detection service (IDS) events. | [
{
"name": "none",
"desc": "Clear all IDS events for all adaptive services interfaces for all service sets, and clear and reset IDS."
},
{
"name": "interface interface-name",
"desc": "(Optional) On M Series and T Series routers, the interface-name can be sp-fpc/pic/port or rspnumber."
},
{
... | view
Output Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
clear services ids
user@host> clear services ids | Command introduced before Junos OS Release 7.4. | [] | |
clear services inline nat pool | clear services inline nat pool pool-name | Clear global inline NAT statistics. | [
{
"name": "pool-name",
"desc": "Name of the NAT pool for which statistic are cleared."
}
] | clear
Output Fields
When you enter this command, the NAT pool statistics are cleared. There is no specific output.
Sample Output
clear services inline nat pool
user@host> clear services inline nat pool p1 | Command introduced in Junos OS Release 11.4. | [] | |
clear services inline nat statistics | clear services inline nat statistics
<interface interface-name> | Clear global inline NAT statistics. | [
{
"name": "interface interface-name",
"desc": "(Optional) Clear inline NAT statistics for the specified interface only."
}
] | clear
Output Fields
When you enter this command, the global inline NAT statistics are cleared. There is no specific output.
Sample Output
clear services inline nat statistics
user@host> clear services inline nat statistics | Command introduced in Junos OS Release 11.4. | [] | |
clear services inline softwire statistics | clear services inline softwire statistics
<interface interface-name> | Clear global inline softwire statistics.
NOTE: The following two limitations apply to the clearing of data plane statistics using
the clear services inline softwire statistics command:
•
When traffic is continuously flowing and the counters are being updated in the data
plane, none of the statistical values except the... | [
{
"name": "interface interface-name",
"desc": "(Optional) Clear inline softwire statistics for the specified interface only."
}
] | clear
Output Fields
When you enter this command, the global inline softwire statistics are cleared. There is no specific
output.
Sample Output
clear services inline softwire statistics
user@host> clear services inline softwire statistics | Command introduced in Junos OS Release 13.3R3. | [] | |
clear services inline-monitoring statistics | clear services inline-monitoring statistics fpc-slot fpc-slot
collector-name collector-name
instance-name instance-name | Clear statistics for inline monitoring services. | [
{
"name": "collector-name collector-name",
"desc": "Clear collector level statistics."
},
{
"name": "fpc-slot fpc-slot",
"desc": "Clear statistics for the specified FPC slot. Range: 0 through 11"
},
{
"name": "instance-name instance-name",
"desc": "Clear instance level statistics."
... | view | Command introduced in Junos OS Release 19.4R1.
Command introduced in Junos OS Evolved Release 22.2R1. | [
"Understanding Inline Monitoring Services"
] | |
clear services ipsec-vpn certificates | clear services ipsec-vpn certificates (all | service-set service-set)
<certificate-cache-entry number> | (Adaptive services interfaces only) Delete digital certificates from the IPsec configuration memory cache.
Issuing this command also clears the certificate revocation list (CRL) from the cache along with the
certificates. | [
{
"name": "all",
"desc": "Delete digital certificates for all service sets."
},
{
"name": "service-set service-set",
"desc": "Delete digital certificates for the specified service set."
}
] | clear
Output Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
clear services ipsec-vpn certificates all
user@host> clear services ipsec-vpn certificates all | Command introduced in Junos OS Release 7.5. | [] | |
clear services ipsec-vpn ike security-associations | clear services ipsec-vpn ike security-associations
<peer-address-name>
<service-set service-set-name> | (Adaptive services interfaces only) Clear Internet Key Exchange (IKE) security associations. | [
{
"name": "peer-address-name",
"desc": "(Optional) Clear only the security association specified by the peer address."
},
{
"name": "service-set service-set-name",
"desc": "(Optional) Clear only the security association specified by the service-set name."
}
] | view
Output Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
clear services ipsec-vpn ike security-associations
user@host> clear services ipsec-vpn ike security-associations | Command introduced before Junos OS Release 7.4.
service-set option added in Junos OS Release 8.5. | [] | |
clear services ipsec-vpn ipsec security-associations | clear services ipsec-vpn security-associations
<peer-address-name>
<remote-gateway remote-gateway-address>
<service-set-name>
<tunnel-index tunnel-index-number> | (Adaptive services interfaces only) Clear IP Security (IPsec) security associations. You can combine the
options for greater specificity. | [
{
"name": "peer-address-name",
"desc": "(Optional) Clear only the security association specified by the peer address."
},
{
"name": "remote-gateway remote-gateway-address",
"desc": "(Optional) Clear only the security association specified by the remote gateway address."
},
{
"name": "ser... | view
Output Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
clear services ipsec-vpn ipsec security-associations
user@host> clear services ipsec-vpn ipsec security-associations | Command introduced before Junos OS Release 7.4.
remote-gateway, service-set-name, and tunnel-index options added in Junos OS Release 8.4. | [] | |
clear services ipsec-vpn ipsec statistics | clear services ipsec-vpn ipsec statistics
<remote-gateway address>
<service-set service-set-name> | (Adaptive services interface only) Clear IP Security (IPsec) statistics. | [
{
"name": "remote-gateway address",
"desc": "(Optional) Clear statistics for the specified remote system."
},
{
"name": "service-set service-set-name",
"desc": "(Optional) Clear statistics for the specified service set."
}
] | view
Output Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
clear services ipsec-vpn ipsec statistics
user@host> clear services ipsec-vpn ipsec statistics | Command introduced in Junos OS Release 8.1. | [] | |
clear services l2tp destination lockout | clear services l2tp destination lockout
<all | local-gateway gateway-address | peer-gateway gateway-address> | Clear the lockout timer for all or only the specified Layer 2 Tunneling Protocol (L2TP) destinations and
all tunnels and sessions that belong to the destinations. Clearing the lockout timer removes the
destination from the lockout list. This command is available only for LAC on MX Series routers.
NOTE: You cannot issue... | [
{
"name": "all",
"desc": "(Optional) Unlock all L2TP destinations."
},
{
"name": "local-gateway gateway-address",
"desc": "(Optional) Unlock only the L2TP destination with the specified local gateway address."
},
{
"name": "peer-gateway gateway-address",
"desc": "(Optional) Unlock on... | clear
Output Fields
When you enter this command, you are provided no feedback on the status of your request.
Sample Output
clear services l2tp destination lockout all
user@host> clear services l2tp destination lockout all | Command introduced in Junos OS Release 16.1. | [] | |
clear services l2tp destination statistics | clear services l2tp destination statistics
<all | local-gateway gateway-address | peer-gateway gateway-address > | Clear all statistics associated with the Layer 2 Tunneling Protocol (L2TP) destinations and all tunnels and
sessions that belong to the destinations. This command is available only for LAC on MX Series routers. | [
{
"name": "all",
"desc": "Clear all statistics associated with the L2TP destinations."
},
{
"name": "local-gateway gateway-address",
"desc": "Clear statistics related to L2TP destination and all tunnels and sessions associated with the specified local gateway address."
},
{
"name": "peer... | clear
Output Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
clear services l2tp destination statistics
user@host>clear services l2tp destination statistics all
Destination 1 statistics cleared | Command introduced in Junos OS Release 13.1. | [] | |
clear services l2tp destination | clear services l2tp destination
<all | local-gateway gateway-address | peer-gateway gateway-address> | Clear all Layer 2 Tunneling Protocol (L2TP) destinations and all tunnels and sessions that belong to the
destinations. This command is available only for LAC on MX Series routers.
NOTE: You cannot issue the clear services l2tp destination command in parallel with
statistics-related show services l2tp commands from sepa... | [
{
"name": "all",
"desc": "Close all L2TP destinations. BEST PRACTICE: The all option is not intended to be used as a means to perform a bulk logout of L2TP subscribers. We recommend that you do not use the all option in a production environment. Instead of clearing all subscribers at once, consider clearing... | clear
Output Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
clear services l2tp destination all
user@host> clear services l2tp destination all
Destination 2 closed | Command introduced in Junos OS Release 10.4. | [] | |
clear services l2tp multilink | clear services l2tp multilink (all <statistics> | bundle-id number <statistics> |
statistics (all | bundle-id number)) | (M10i and M7i routers only) Close Layer 2 Tunneling Protocol (L2TP) multilink sessions or clear session
statistics. | [
{
"name": "all <statistics>",
"desc": "Close all L2TP multilink sessions or clear statistics for all L2TP multilink sessions."
},
{
"name": "bundle-id number",
"desc": ""
},
{
"name": "<statistics>",
"desc": "L2TP multilink bundle ID. The value is an internally generated number from ... | view
Output Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
clear services l2tp multilink statistics all
user@host> clear services l2tp multilink statistics all
Multilink 1 statistics cleared | Command introduced before Junos OS Release 7.4. | [
"L2TP Services Configuration Overview",
"L2TP Minimum Configuration"
] | |
clear services l2tp session statistics | clear services l2tp session statistics (all | interface interface-name | local-gateway gateway-
address | local-gateway-name gateway-name | local-session-id session-id | local-tunnel-id tunnel-
id | peer-gateway gateway-address | peer-gateway-name gateway-name | tunnel-group group-name |
user username) | (M10i and M7i routers: LNS only. MX Series routers: LAC and LNS.) Clear statistics for Layer 2 Tunneling
Protocol (L2TP) sessions. | [
{
"name": "all",
"desc": "Clear statistics for all L2TP sessions."
},
{
"name": "interface interface-name",
"desc": "Clear only the L2TP sessions using the specified adaptive services or inline services interface. The interface type depends on the line card as follows:"
},
{
"name": "si-... | view
Output Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
clear services l2tp session statistics all
user@host> clear services l2tp session statistics all
Session 26497 statistics cleared | Command introduced before Junos OS Release 7.4.
Support for MX Series routers added in Junos OS Release 10.4. | [
"L2TP Services Configuration Overview",
"L2TP Minimum Configuration"
] | |
clear services l2tp session | clear services l2tp session (all | interface interface-name | local-gateway gateway-address |
local-gateway-name gateway-name | local-session-id session-id | local-tunnel-id tunnel-id |
peer-gateway gateway-address | peer-gateway-name gateway-name | routing-instance routing-
instance-name | tunnel-group group-name |... | (M10i and M7i routers only) Clear Layer 2 Tunneling Protocol (L2TP) sessions on LNS.
(MX Series routers only) Clear L2TP sessions on LAC and LNS.
NOTE: On MX Series routers, you cannot issue the clear services l2tp session command in
parallel with statistics-related show services l2tp commands from separate terminals. ... | [
{
"name": "all",
"desc": "Close all L2TP sessions. BEST PRACTICE: The all option is not intended to be used as a means to perform a bulk logout of L2TP subscribers. We recommend that you do not use the all option in a production environment. Instead of clearing all subscribers at once, consider clearing sub... | clear
Output Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
clear services l2tp session
user@host> clear services l2tp session 31694
Session 31694 closed
Sample Output
clear services l2tp session interface
user@host> show services l2tp session Tunnel local ... | Command introduced before Junos OS Release 7.4.
routing-instance routing-instance-name option introduced in Junos OS Release 21.2R1. | [
"L2TP Services Configuration Overview",
"L2TP Minimum Configuration",
"clear services l2tp session statistics"
] | |
clear services l2tp tunnel statistics | clear services l2tp tunnel statistics (all | interface sp-fpc/pic/port | local-gateway gateway-
address | local-gateway-name gateway-name | local-tunnel-id tunnel-id | peer-gateway gateway-
address | peer-gateway-name gateway-name | tunnel-group group-name) | (M10i and M7i routers: LNS only. MX Series routers: LAC only.) Clear statistics for Layer 2 Tunneling
Protocol (L2TP) tunnels. | [
{
"name": "all",
"desc": "Clear statistics for all L2TP tunnels."
},
{
"name": "interface sp-fpc/pic/port",
"desc": "Clear statistics for only the L2TP tunnels using the specified adaptive services interface. This option is not available for L2TP LAC on MX Series routers."
},
{
"name": "... | clear
Output Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
clear services l2tp tunnel statistics all
user@host> clear services l2tp tunnel statistics all
Tunnel 9933 statistics cleared | Command introduced before Junos OS Release 7.4.
Support for MX Series routers added in Junos OS Release 10.4. | [
"L2TP Services Configuration Overview",
"L2TP Minimum Configuration",
"clear services l2tp tunnel",
"show services l2tp tunnel"
] | |
clear services l2tp tunnel | clear services l2tp tunnel (all | interface sp-fpc/pic/port | local-gateway gateway-address |
local-gateway-name gateway-name | local-tunnel-id tunnel-id | peer-gateway gateway-address |
peer-gateway-name gateway-name | tunnel-group group-name) | (M10i and M7i routers: LNS only. MX Series routers: LAC and LNS.) Clear Layer 2 Tunneling Protocol
(L2TP) tunnels.
NOTE: On MX Series routers, you cannot issue the clear services l2tp tunnel command in
parallel with statistics-related show services l2tp commands from separate terminals. If
this clear command is runnin... | [
{
"name": "all",
"desc": "Clear all L2TP tunnels. BEST PRACTICE: The all option is not intended to be used as a means to perform a bulk logout of L2TP subscribers. We recommend that you do not use the all option in a production environment. Instead of clearing all subscribers at once, consider clearing subs... | view
Output Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
clear services l2tp tunnel
user@host> clear services l2tp tunnel 17185
Tunnel 17185 closed | Command introduced before Junos OS Release 7.4.
Support for LAC on MX Series routers introduced in Junos OS Release 10.4.
Support for LNS on MX Series routers introduced in Junos OS Release 11.4. | [
"L2TP Services Configuration Overview",
"L2TP Minimum Configuration"
] | |
clear services lrf collector statistics | clear services lrf collector statistics
<collector-name> | Clear all the LRF statistics for the specified collector. If a collector is not specified, statistics are cleared
for all collectors. | [
{
"name": "none",
"desc": "Clear LRF statistics for all collectors."
},
{
"name": "collector-name",
"desc": "(Optional) Clear LRF statistics for the specified collector."
}
] | clear
Output Fields
A message is displayed on successful execution of this command; otherwise an error message is
displayed.
Sample Output
clear services lrf collector statistics
user@host> clear services lrf collector statistics coll1
Interface: ms-0/1/0, Status: LRF collector statistics successfully cleared | Statement introduced in Junos OS Release 17.1. | [] | |
clear services lrf statistics | clear services lrf statistics | Clear all the LRF statistics. | [] | clear
Output Fields
A message is displayed on successful execution of this command; otherwise an error message is
displayed.
Sample Output
clear services lrf statistics
user@host> clear services lrf statistics
Interface: ms-0/1/0, Status: LRF statistics successfully cleared | Statement introduced in Junos OS Release 17.1. | [] | |
clear services mobile-edge sessions | clear services mobile-edge sessions
<local-seid> | Clear mobile-edge sessions with the session ID. | [] | system | Command introduced in Junos OS Release 23.4R1. | [
"No Link Title"
] | |
clear services monitoring rfc2544 | clear services monitoring rfc2544
<active-tests | all-tests | completed-tests | terminated-tests | test-id test-id> | Clear the indicated type of RFC 2544 benchmarking test sessions. | [
{
"name": "active-tests",
"desc": "Clears the active RFC 2544 benchmarking test sessions."
},
{
"name": "all-tests",
"desc": "Clears all RFC 2544 benchmarking test sessions."
},
{
"name": "completed-tests",
"desc": "Clears the completed RFC 2544 benchmarking test sessions."
},
{
... | clear
Output Fields
When you enter this command, if it is successful, there is no response. If it is not successful, the system
displays an error message if the FPC for the interface specified on the test-interface statement reports
an error. | Command introduced in Junos OS Evolved Release 21.1R1.
all-tests and test-id options introduced in Junos OS Evolved 22.4R1. | [] | |
clear services monitoring twamp server control-connection | clear services monitoring twamp server control-connection
<connection-name> | Clear connections established between the Two-Way Active Measurement Protocol (TWAMP) server
and control clients. By default, all established connections are cleared, along with the sessions on those
connections. To clear only a particular connection, specify the connection name when you issue the
command. | [
{
"name": "connection-name",
"desc": "(Optional) Specify which connection to clear."
}
] | clear | Command introduced in Junos OS Evolved 20.3R1. | [
"Understanding Two-Way Active Measurement Protocol on Routers"
] | |
clear services nat flows | clear services nat flows
<b4addressb4address>
<service-set service-set>
<subscriber subscriber-address> | Clear NAT flows. | [
{
"name": "none",
"desc": "Clear all NAT flows."
},
{
"name": "b4address b4address",
"desc": "(Optional) Clear NAT flows for a particular B4 address."
},
{
"name": "service-set service-set",
"desc": "(Optional) Clear NAT flows for a particular service set."
},
{
"name": "subs... | view
Output Fields
Table 15 on page 4352 lists the output fields for the clear services nat flows command. Output fields are
listed in the approximate order in which they appear.
Table 15: clear services nat flows Output Fields
Field Name
Field Description
Interface
Name of a services interface.
Service set
Name of the... | Command introduced in Junos OS Release 14.1. | [] | |
clear services nat mappings app | clear services nat mappings app
<b4address b4address/prefix>
<service-set service-set>
<subscriber subscriber-ipv4-address> | Clear NAT mappings for address pooling paired (app). | [
{
"name": "none",
"desc": "Clear all NAT app mappings."
},
{
"name": "b4address b4address/prefix",
"desc": "(Optional) Clear NAT APP mappings for a particular subscriber"
},
{
"name": "b4address/prefix",
"desc": ""
},
{
"name": "service-set service-set",
"desc": "(Optiona... | clear
Output Fields
Table 16 on page 4354 lists the output fields for the clear services nat mappings app command. Output
fields are listed in the approximate order in which they appear.
Table 16: clear services nat mappings app Output Fields
Field Name
Field Description
Interface
Name of a services interface.
Service ... | Command introduced in Junos OS Release 14.1. | [] | |
clear services nat mappings eim | clear services nat mappings eim
<b4address b4address/prefix>
<subscriber subscriber-ipv4-address> | Clear endpoint independent (EIM) and port control protocol (PCP) mappings . | [
{
"name": "none",
"desc": "Clear all EIM and PCP mappings."
},
{
"name": "b4address",
"desc": ""
},
{
"name": "b4address/",
"desc": ""
},
{
"name": "prefix",
"desc": "(Optional) Clear EIM and PCP mappings for a particular subscriber b4address/prefix"
},
{
"name": ... | clear
Output Fields
Table 17 on page 4357 lists the output fields for the clear services nat mappings eim command. Output
fields are listed in the approximate order in which they appear.
Table 17: clear services nat mappings eim Output Fields
Field Name
Field Description
Interface
Name of a services interface.
Service... | Command introduced in Junos OS Release 14.1. | [] | |
clear services nat mappings pcp | clear services nat mappings pcp
<b4address b4address/prefix>
<subscriber subscriber-ipv4-address> | Clear NAT mappings for Port Control Protocol (PCP). | [
{
"name": "none",
"desc": "Clear all NAT PCP mappings."
},
{
"name": "b4address",
"desc": ""
},
{
"name": "b4address/prefix",
"desc": "(Optional) Clear NAT PCP mappings for a particular subscriber b4address/prefix"
},
{
"name": "port port",
"desc": "(Optional) Clear NAT P... | clear
Output Fields
Table 18 on page 4359 lists the output fields for the clear services nat mappings pcp command. Output
fields are listed in the approximate order in which they appear.
Table 18: clear services nat mappings pcp Output Fields
Field Name
Field Description
Interface
Name of a services interface.
Service ... | Command introduced in Junos OS Release 14.1. | [] | |
clear services nat mappings | clear services nat mappings
<app>
<eim>
<pcp>
<service-set service-set> | Clear NAT mappings. | [
{
"name": "none",
"desc": "Clear all NAT mappings."
},
{
"name": "app",
"desc": "(Optional) Clear address-pooling paired NAT mappings."
},
{
"name": "eim",
"desc": "(Optional) Clear endpoint-independent NAT mappings."
},
{
"name": "pcp",
"desc": "(Optional) Clear Port Con... | clear
Output Fields
Table 19 on page 4361 lists the output fields for the clear services nat mappings command. Output fields
are listed in the approximate order in which they appear.
Table 19: clear services nat mappings Output Fields
Field Name
Field Description
Interface
Name of a services interface.
Service set
Name... | Command introduced in Junos OS Release 14.1. | [] | |
clear services nat source mappings | clear services nat source mappings
<app | eim | pcp>
subscriber private-ip [port port-num] [service-set service-set] | Clear services NAT source mappings. After one mapping is cleared, all the port block alloation blocks
referring to that mapping are released. | [
{
"name": "app",
"desc": "Clear all APP mappings. app subscriber private-ip [port port-num] [service-set"
},
{
"name": "service-set ]",
"desc": "Clear one APP mapping by matching conditions"
},
{
"name": "eim",
"desc": "Clear all EIM mappings. eim subscriber private-ip [port port-num... | view
Output Fields
Table 20 on page 4363 lists the output fields for the clear services nat source mappings command. Output
fields are listed in the approximate order in which they appear.
Table 20: clear services nat source mappings Output Fields
Field Name
Field Description
NAT pool
Name of the NAT pool.
Mappings rem... | Command introduced in Junos OS Release 19.3R2. | [] | |
clear services redundancy-set last-saved-state id | clear services redundancy-set last-saved-state id
(redundancy-set{x | all}) | Clear the last saved state of a redundancy set or of all redundancy sets.
You can clear the warnings on the standby after inspection by issuing the clear services redundancy-set {x|
all} standby-warning command on it. The command will also send an update notification regarding this
peer’s clean state to all the other p... | [] | clear | Statement introduced in Junos OS Release 16.1.
Support added in Junos OS Release 19.3R2 for Next Gen Services on MX Series routers MX240, MX480
and MX960 with the MX-MX-SPC3 services card. | [] | |
clear services rpm rfc2544-benchmarking | clear services rpm rfc2544-benchmarking
<aborted-tests | active-tests | completed-tests> | Clear the indicated type of RFC 2544 benchmarking test sessions. | [
{
"name": "aborted-tests",
"desc": "Clears the terminated RFC 2544 benchmarking test sessions."
},
{
"name": "active-tests",
"desc": "Clears the active RFC 2544 benchmarking test sessions."
},
{
"name": "completed-tests",
"desc": "Clears the completed RFC 2544 benchmarking test sessi... | clear
Output Fields
When you enter this command, if it is successful, there is no response. If it is not successful, the system
displays an error message if the FPC for the interface specified on the test-interface statement reports
an error. | Command introduced in Junos OS Release 12.3X52. | [] | |
clear services rpm twamp server connection | clear services rpm twamp server connection <connection-id> | Clear connections established between the real-time performance monitoring (RPM) Two-Way Active
Measurement Protocol (TWAMP) server and control clients. By default all established connections are
cleared (along with the sessions on those connections). To clear only a specific connection, specify the
connection ID when ... | [
{
"name": "connection-id",
"desc": "(Optional) Specific connection to clear."
}
] | clear | Command introduced in Junos OS Release 9.3. | [] | |
clear services security-intelligence dns-statistics | clear services security-intelligence dns-statistics
clear services security-intelligence dns-statistics logical-system all
clear services security-intelligence dns-statistics logical-system logical-system-name | Sets DNS statistics to zero. See "show services security-intelligence dns-statistics" on page 26995 for
information on the DNS statistics. | [] | clear
Output Fields
This command produces no output.
Sample Output
clear services security-intelligence dns-statistics
user@host> clear services security-intelligence dns-statistics
clear services security-intelligence dns-statistics logical-system
user@host> clear services security-intelligence dns-statistics logical-... | dns-statistics command introduced in Junos OS Release 20.4R1 | [] | |
clear services security-metadata-streaming | clear services security-metadata-streaming dns statistics
clear services security-metadata-streaming dns statistics logical-system <logical-system-name>
clear services security-metadata-streaming dns statistics logical-system all
clear services security-metadata-streaming dns statistics tenant <tenant-name>
clear servi... | Sets the dns and http security-metadata-streaming statistics to 0. See "show services security-
metadata-streaming" on page 27003 for information on these statistics.
Use this command when you change the Juniper Advanced Threat Prevention Cloud profile or policy
settings and want to reset the statistics in order to vie... | [] | clear
Output Fields
This command produces no output.
Sample Output
clear services security-metadata-streaming dns statistics
user@host> clear services security-metadata-streaming dns statistics
clear services security-metadata-streaming dns statistics logical-system <logical-system-
name>
user@host> clear services secu... | dns-statistics command introduced in Junos OS Release 20.4R1 | [] | |
clear services service-set statistics ids drops | clear services service-set statistics ids drops
<interface interface-name>
<service-set service-set-name> | Clear statistics for packet drops resulting from header-integrity, suspicious packet pattern, and session-
limit checks performed by an MS-MPC or MS-MIC. | [
{
"name": "none",
"desc": "Clear statistics for all configured services interfaces and service sets."
},
{
"name": "interface interface-name",
"desc": "(Optional) Clear statistics for the specified services interface."
},
{
"name": "service-set service-set-name",
"desc": "(Optional) ... | network
Sample Output
clear services service-set statistics ids drops
user@host> clear services service-set statistics ids drops | Command introduced in Junos OS Release 17.1. | [] | |
clear services service-sets statistics ids session-limits counters | clear services service-sets statistics ids session-limits counters
<interface interface-name> | Clear counters for session drops and packet drops resulting from session-limit checks performed by an
IDS rule on an MS-MPC or MS-MIC. | [
{
"name": "none",
"desc": "Clear counters for all configured services interfaces."
},
{
"name": "interface interface-name",
"desc": "(Optional) Clear counters for the specified services interface."
}
] | network
Sample Output
clear services service-sets statistics ids session-limits counters
user@host> clear services service-sets statistics ids session-limits counters | Command introduced in Junos OS Release 17.1. | [] | |
clear services service-sets statistics integrity-drops | clear services service-sets statistics integrity-drops
<interface interface-name> | Clear integrity-drops statistics for one adaptive services interface, for all adaptive services interfaces, or
for one service-set. | [
{
"name": "none",
"desc": "Clear integrity-drops statistics for all configured adaptive service interfaces/ service-set. Service-set service-set-name (Optional) Clear integrity-drops statistics for the specified service-set"
},
{
"name": "interface interface-name",
"desc": "(Optional) Clear inte... | network | Command introduced in Junos OS Release 13.3 | [] | |
clear services service-sets statistics jflow-log | clear services service-sets statistics jflow-log
<service-set service-set-name>
<interface interface-name> | Clear flow monitoring log statistics for the logs generated in IPFIX or version 9 format for one services
interface or for all services interfaces, and for one named service set or all service sets on the interface
or interfaces. | [
{
"name": "none",
"desc": "Clear flow monitoring log for all configured services interfaces and their service sets."
},
{
"name": "interface interface-name",
"desc": "(Optional) Clear flow monitoring log statistics for the specified services interface. On M Series, MX Series, and T Series router... | network
Output Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
clear services service-sets statistics jflow-log interface
user@host> clear services service-sets statistics jflow-log interface ms-5/0/0
Interface: ms-5/0/0 | Command introduced in Junos OS Release 15.1. | [] | |
clear services service-sets statistics packet-drops | clear services service-sets statistics packet-drops
<interface interface-name> | Clear dropped-packet statistics for one adaptive services interface or for all adaptive services interfaces. | [
{
"name": "none",
"desc": "Clear dropped-packet statistics for all configured adaptive services interfaces."
},
{
"name": "interface interface-name",
"desc": "(Optional) Clear dropped-packet statistics for the specified adaptive services interface. On M Series and T Series routers, the interface... | network
Output Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
clear services service-sets statistics packet-drops
user@host> clear services service-sets statistics packet-drops interface sp-5/0/0
Flow collector interface: cp-5/0/0
Interface state:... | Command introduced in Junos OS Release 7.4. | [] | |
clear services service-sets statistics syslog | clear services service-sets statistics syslog
<service-set service-set-name>
<interface interface-name> | Clear system log statistics for one services interface or for all services interfaces, and for one named
service set or all service sets on the interface or interfaces. | [
{
"name": "none",
"desc": "Clear system log for all configured services interfaces and their service sets."
},
{
"name": "interface interface-name",
"desc": "(Optional) Clear system log statistics for the specified services interface. On M Series, MX Series, and T Series routers, the interface-n... | network
Output Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
clear services service-sets statistics syslog
user@host> clear services service-sets statistics syslog interface sp-5/0/0
Flow collector interface: cp-5/0/0
Interface state: Collecting... | Command introduced in Junos OS Release 11.1. | [] | |
clear services sessions analysis | clear services sessions analysis | Clear session statistics. | [
{
"name": "interface interface-name",
"desc": "(Optional) Clear sessions statistics for the specified interface. The interface-name can be vms-fpc/ pic/ port."
}
] | view | Statement introduced in Junos OS Release 17.1.
Support added in Junos OS Release 19.3R2 for Next Gen Services on MX Series routers MX240, MX480
and MX960 with the MX-SPC3 services card. | [] | |
clear services sessions | clear services sessions
<application-protocol protocol>
<destination-port destination-port>
<destination-prefix destination-prefix>
<interface interface-name>
<ip-action>
<nat number>
<nat-port-overload-index number>
<protocol protocol>
<service-set service-set>
<source-nat-pool source-nat-pool-name>
<source-port... | Clear services sessions currently active on the embedded PIC or MIC. When you enter this command,
the sessions are marked for deletion and are cleared thereafter. The time that is taken to clear the
currently active sessions varies, depending on the scaled nature of the environment. | [
{
"name": "none",
"desc": "Clear all sessions."
},
{
"name": "application-protocol protocol",
"desc": "(Optional) Clear sessions for one of the following application protocols:"
},
{
"name": "bootp",
"desc": "Bootstrap protocol"
},
{
"name": "dce-rpc",
"desc": "Distribute... | clear
Output Fields
Table 21 on page 4386 lists the output fields for the clear services sessions command. Output fields are
listed in the approximate order in which they appear.
Table 21: clear services sessions Output Fields
Field Name
Field Description
Interface
Name of an interface.
Service set
Name of the service ... | Command introduced in Junos OS Release 13.1.
The nat, nat-port-overload-index, and source-nat-pool are introduced in Junos OS Release 23.4R1. | [] | |
clear services soft-gre tunnel | clear services soft-gre tunnel (interface | tunnel-group | local-ip | remote-ip | tunnel-name |
all)
<statistics> | Tears down tunnels that match selector defined. If subscribers are mapped to the tunnel, the tunnel is
not cleared.
NOTE: Static soft-GRE tunnels cleared using the cli command clear services soft-gre
tunnel will not be automatically recreated. This command therefore should not be used to
clear static soft-GRE tunnels d... | [
{
"name": "statistics",
"desc": "Clear statistics"
},
{
"name": "interface",
"desc": "Interface name to use as filter"
},
{
"name": "tunnel-group",
"desc": "Tunnel group to use as filter"
},
{
"name": "local-ip",
"desc": "Local ip address to use as filter"
},
{
"n... | view
Sample Output
clear services soft-gre tunnel all
user@host> clear services soft-gre tunnel all
Jun 12 14:04:46
{master}
user@host>
There is no output on the console upon running the command. You may issue show services soft-gre tunnel
summary command to verify if the tunnels have been deleted. If there are subscri... | Statement introduced in Junos OS Release 17.2R1. | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.