Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

clear security utm anti-spam statistics

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
clear security utm anti-spam statistics
<root-logical-system>
<logical-system (logical-system-name | all)>
<all-logical-systems-tenants>
<tenant (tenant-name | all)>

Description

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 systems.

Starting in Junos OS Release 19.2R1, you can clear the antispam statistics information for a specific tenant system or for all the tenant systems.

Options

none

Clears the antispam statistics information for the primary logical system.

root-logical-system

(Optional) Clears the antispam statistics information for the primary logical system.

logical-system logical-system-name

(Optional) Clears the antispam statistics information for a specific user logical system.

all

(Optional) Clears the antispam statistics information for all the user logical systems.

all-logical-systems-tenants

(Optional) Clears the antispam statistics information for all the logical systems and tenant systems.

tenant tenant-name

(Optional) Clears the antispam statistics information for a specific tenant system.

all

(Optional) Clears the antispam statistics information for all the tenant systems.

Required Privilege Level

clear

Sample Output

clear security utm anti-spam statistics

content_copy zoom_out_map
user@host> clear security utm anti-spam statistics  
Anti-spam clear statistics result: clear done

clear security utm anti-spam statistics root-logical-system

content_copy zoom_out_map
user@host> clear security utm anti-spam statistics root-logical-system 
Anti-spam clear statistics result: clear done

clear security utm anti-spam statistics logical-system LSYS1

content_copy zoom_out_map
user@host> clear security utm anti-spam statistics logical-system LSYS1 
Anti-spam clear statistics result: clear done

clear security utm anti-spam statistics logical-system all

content_copy zoom_out_map
user@host> clear security utm anti-spam statistics logical-system all 
Anti-spam clear statistics result: clear done

clear security utm anti-spam statistics tenant TSYS1

content_copy zoom_out_map
user@host> clear security utm anti-spam statistics tenant TSYS1 
Anti-spam clear statistics result: clear done

clear security utm anti-spam statistics tenant all

content_copy zoom_out_map
user@host> clear security utm anti-spam statistics tenant all 
Anti-spam clear statistics result: clear done

clear security utm anti-spam statistics all-logical-systems-tenants

content_copy zoom_out_map
user@host> clear security utm anti-spam statistics all-logical-systems-tenants 
Anti-spam clear statistics result: clear done

Release Information

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.

footer-navigation