< Home

clear-records

Function

The clear-records command clears historical records and results of all NQA test instances.

Format

clear-records

Parameters

None

Views

NQA view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After each test instance is complete, test results and history information will be recorded in result and history tables respectively. You can run the following commands to view the corresponding data and assess the network quality.

After several test instances are performed to detect network quality, there may be too many records in the statistics table. In this case, you can run the clear-records command to clear history and result records of an NQA test instance.

Configuration Impact

Statistics about a test instance cannot be restored after being cleared. Therefore, exercise caution when running the clear-records command.

Precautions

Clearing statistics of the test currently being performed is forbidden.

Before running the command, ensure that the test type specified by the test-type command exists.

Example

# Clear statistics of the test named admin http.

<sysname> system-view
[sysname] nqa test-instance admin http
[sysname-nqa-admin-http] test-type http
[sysname-nqa-admin-http] clear-records
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >