clear security utm anti-spam statistics
Syntax
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
- clear security utm anti-spam statistics root-logical-system
- clear security utm anti-spam statistics logical-system LSYS1
- clear security utm anti-spam statistics logical-system all
- clear security utm anti-spam statistics tenant TSYS1
- clear security utm anti-spam statistics tenant all
- clear security utm anti-spam statistics all-logical-systems-tenants
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 result: clear done
clear security utm anti-spam statistics logical-system LSYS1
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
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
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
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
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.