Displaying and maintaining hwping, Displaying and maintaining hwping -15 – H3C Technologies H3C WX3000 Series Unified Switches User Manual

Page 594

Advertising
background image

58-15

To do…

Use the command…

Remarks

Display test results

display hwping results
[ admin-name operation-tag ]

Required
The display command can be
executed in any view.

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 a 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 and Maintaining HWPing

To do…

Use the command…

Remarks

Display test history

display hwping history

[ administrator-name

operation-tag

]

Display the results of the latest test

display hwping results

[ administrator-name

operation-tag

]

Available in any view

Advertising