Configuring hwping client to send trap messages, Displaying hwping configuration, Hwping configuration examples – H3C Technologies H3C S3600 Series Switches User Manual
Page 1073: Icmp test
1-22
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 HWPing-agent.
Configuring HWPing client to send Trap messages
Trap messages are generated regardless of whether the HWPing test succeeds or fails. You can
specify whether to output Trap messages by enabling/disabling Trap sending.
Follow these steps to configure the HWPing client to send Trap messages:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable the HWPing client
function
hwping-agent enable
Required
By default, the HWPing client
function is disabled.
Create an HWPing test group
and enter its view
hwping administrator-name
operation- tag
Required
By default, no test group is
configured.
Enable the HWPing client to
send Trap messages
send-trap { all | { probefailure
| testcomplete | testfailure }* }
Required
By default, Trap sending is
disabled.
Configure the number of
consecutive unsuccessful
HWPing 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
HWPing probes before Trap
output
probe-failtimes times
Optional
By default, Trap messages are
sent each time a probe fails.
Displaying HWPing Configuration
To do…
Use the command…
Remarks
Display the results of the test
display hwping { results | history | jitter }
[ administrator-name operation-tag ]
Display test statistics
display hwping statistics [ administrator-name
operation-tag ]
Available in
any view
HWPing Configuration Examples
ICMP Test