R0106-HP MSR Router Series Network Management and Monitoring Command Reference(V7)

38
Views
Any NQA operation view, any NQA template view
Predefined user roles
network-admin
Parameters
interval: Specifies the interval in milliseconds between two consecutive operations, in the range of 0 to
604800000. An interval of 0 milliseconds sets NQA to perform the operation only once, and not to
generate any statistics.
Usage guidelines
If an operation is not completed when the interval is reached, the next operation does not start.
Examples
# Configure the ICMP echo operation to repeat at an interval of 1000 milliseconds.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type icmp-echo
[Sysname-nqa-admin-test-icmp-echo] frequency 1000
# In DNS template view, configure the DNS operation to repeat at an interval of 1000 milliseconds.
<Sysname> system-view
[Sysname] nqa template dns dnstplt
[Sysname-nqatplt-dns-dnstplt] frequency 1000
history-record enable
Use history-record enable to enable the saving of history records for the NQA operation.
Use undo history-record enable to disable the saving of history records.
Syntax
history-record enable
undo history-record enable
Default
The saving of history records is disabled for the NQA operation.
Views
DHCP/DLSw/DNS/FTP/HTTP/SNMP/TCP operation view
ICMP/UDP echo operation view
Predefined user roles
network-admin
Usage guidelines
To display the history records of the NQA operation, use the display nqa history command.
The undo form of the command also removes existing history records of an NQA operation.
Examples
# Enable the saving of history records for the NQA operation.