42
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 enabled only for the UDP tracert operation.
Views
DHCP/DLSw/DNS/FTP/HTTP/SNMP/TCP operation view
ICMP/UDP echo operation view
UDP tracert 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.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type icmp-echo
[Sysname-nqa-admin-test-icmp-echo] history-record enable
Related commands
display nqa history
history-record keep-time
Use
history-record keep-time
to set the lifetime of history records for an NQA operation.
Use
undo
history-record keep-time
to restore the default.
Syntax
history-record keep-time keep-time
undo history-record keep-time