38
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type ftp
[Sysname-nqa-admin-test-ftp] filename config.txt
# In FTP template view, specify the file to be transferred between the FTP server and the FTP client
as
config.txt
.
<Sysname> system-view
[Sysname] nqa template ftp ftptplt
[Sysname-nqatplt-ftp-ftptplt] filename config.txt
frequency
Use
frequency
to specify the interval at which the NQA operation repeats.
Use
undo frequency
to restore the default.
Syntax
frequency
interval
undo
frequency
Default
In NQA operation view, the interval between two consecutive voice or path jitter operations is 60000
milliseconds. The interval between two consecutive operations of other types is 0 milliseconds. Only
one operation is performed.
In NQA template view, the interval between two consecutive operations is 5000 milliseconds.
Views
Any NQA operation view, any NQA template view
Predefined user roles
network-admin
mdc-admin
Parameters
interval
: Specifies the interval between two consecutive operations, in the range of 0 to 604800000
milliseconds. 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 every 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 every 1000 milliseconds.
<Sysname> system-view
[Sysname] nqa template dns dnstplt
[Sysname-nqatplt-dns-dnstplt] frequency 1000