< Home

clear disk type

Function

The clear disk type command clears the specific type of logs or reports.

Format

clear disk type { traffic-log | threat-log | url-log | content-log | system-log | user-log | policy-log | mail-log | audit-log | aapt-log | traffic-report | threat-report | url-report | policy-report | file-block-report | content-report | bandwidth-log | bandwidth-report }

Parameters

Parameter Description Value

traffic-log

Indicates traffic logs.

-

threat-log

Indicates threat logs.

-

url-log

Indicates URL logs.

-

content-log

Indicates content logs.

-

system-log

Indicates system logs.

When you clear system logs, operation logs will be deleted as well.

-

user-log

Indicates user activity logs.

-

policy-log

Indicates policy matching logs.

-

mail-log

Indicates mail filtering activity logs.

-

audit-log

Indicates audit logs.

-

aapt-log

Indicates sandbox detection logs.

-

traffic-report

Indicates traffic reports.

-

threat-report

Indicates threat reports.

-

url-report

Indicates URL reports.

-

policy-report

Indicates policy matching reports.

-

file-block-report

Indicates file blocking reports.

-

content-report

Indicates data filtering reports.

-

bandwidth-log

Indicates bandwidth connections logs.

The USG6510E/6510E-POE/6530E,

USG6635E/6655E,

USG6680E and USG6712E/6716E do not support this parameter.

-

bandwidth-report

Indicates bandwidth connections reports.

The USG6510E/6510E-POE/6530E,

USG6635E/6655E,

USG6680E and USG6712E/6716E do not support this parameter.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

When the storage space for some type of logs or reports is insufficient, you need to clear this type of logs or reports. Logs or reports do not exist after they are cleared. Perform this operation with caution.

Example

# Clear the traffic logs.

<sysname> system-view
[sysname] clear disk type traffic-log
Warning: Clearing disk space deletes the records of log or report stored in the hard disk. Are you sure you want to continue?[Y/N]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >