1-15
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.
Create a remote-ping test
group and enter its view
remote-ping
administrator-name operation-
tag
Required
By default, no test group is
configured.
Enable the remote-ping client
to send Trap messages
send-trap { all | { probefailure
| testcomplete | testfailure }* }
Required
By default, Trap sending is
disabled.
Configure the number of
consecutive unsuccessful
remote-ping tests before Trap
output
test-failtimes times
Optional
By default, Trap messages are
sent each time a test fails.
Configure the number of
consecutive unsuccessful
remote-ping probes before
Trap output
probe-failtimes times
Optional
By default, Trap messages are
sent each time a probe fails.
Displaying remote-ping Configuration
To do… Use the command… Remarks
Display test history
display remote-ping history
[ administrator-name operation-tag ]
Display the results of the latest
test
display remote-ping results
[ administrator-name operation-tag ]
Available in
any view
remote-ping Configuration Examples
ICMP Test
Network requirements
An Switch 4200G serves as the remote-ping client. A remote-ping ICMP test between the switch and
another switch uses ICMP to test the round trip time (RTT) for packets generated by the remote-ping
client to travel to and back from the destination switch.
Network diagram
Figure 1-2 Network diagram for the ICMP test