R3166-R3206-HP High-End Firewalls High Availability Command Reference-6PW101

45
Examples
# Enable the history records saving function of an NQA test group.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type icmp-echo
[Sysname-nqa-admin-test-icmp-echo] history-record enable
history-record keep-time
Syntax
history-record keep-time keep-time
undo history-record keep-time
View
Any NQA test type view
Default level
2: System level
Parameters
keep-time: Specifies how long the history records can be saved. The time ranges from 1 to 1440 minutes.
Description
Use the history-record keep-time command to set the lifetime of the history records in an NQA test
group.
Use the undo history-record keep-time command to restore the default.
By default, the history records in an NQA test group are kept for 120 minutes.
After an NQA test completes, the timing starts. All the records are removed when the lifetime is reached.
Examples
# Configure the lifetime of the history records in an NQA test group as 100 minutes.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type icmp-echo
[Sysname-nqa-admin-test-icmp-echo] history-record keep-time 100
history-record number
Syntax
history-record number number
undo history-record number
View
Any NQA test type view
Default level
2: System level