1-21
To do…
Use the command…
Remarks
Configure the type of service
tos value
Optional
By default, the service type is
zero.
Configure the domain name to
be resolved
dns resolve-targetdomai
domainname
Required
By default, the domain name to
be resolved by DNS is not
specified.
Configure the IP address of the
DNS server
dns-server ip-address
Required
By default, no DNS server
address is configured.
Start the test
test-enable
Required
Display test results
display remote-ping results
[
admin-name operation-tag
]
Required
The
display
command can be
executed in any view.
10) Clear all agents on the remote-ping client
Follow these steps to clear all agents on the remote-ping client:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Clear all agents on the
remote-ping client
remote-ping-agent clear
Required
z
This command clears all the configured agents, including the test configuration, test result, and
history information.
z
The result cannot be restored after the execution of the command.
z
The command does not disable remote-ping-agent.
Configuring remote-ping client to send Trap messages
Trap messages are generated regardless of whether the remote-ping test succeeds or fails. You can
specify whether to output Trap messages by enabling/disabling Trap sending.
Follow these steps to configure the remote-ping client to send Trap messages:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable the remote-ping client
function
remote-ping-agent enable
Required
By default, the remote-ping
client function is disabled.