To do…

 

Use the command…

 

Remarks

 

Configure the probe timeout

 

 

 

Optional

 

 

timeout time

 

By default, a probe times out in

 

time

 

 

 

 

 

 

three seconds.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Optional

 

Configure the type of service

 

tos value

 

By default, the service type is

 

 

 

 

 

zero.

 

 

 

 

 

 

 

 

 

 

 

Required

 

Configure the domain name to

 

dns resolve-targetdomai

 

By default, the domain name to

 

be resolved

 

domainname

 

be resolved by DNS is not

 

 

 

 

 

specified.

 

 

 

 

 

 

 

Configure the IP address of the

 

 

 

Required

 

 

dns-server ip-address

 

By default, no DNS server

 

DNS server

 

 

 

address is configured.

 

 

 

 

 

 

 

 

 

 

 

 

Start the test

 

test-enable

 

Required

 

 

 

 

 

 

 

 

 

display hwping results

 

Required

 

Display test results

 

 

The display command can be

 

 

[ admin-name operation-tag ]

 

 

 

 

 

 

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

 

 

 

Required

 

 

hwping-agent enable

 

By default, the HWPing client

 

function

 

 

 

 

 

 

function is disabled.

 

 

 

 

 

 

 

 

 

 

 

 

Create a HWPing test group

 

hwping administrator-name

 

Required

 

 

 

By default, no test group is

 

and enter its view

 

operation- tag

 

 

 

 

configured.

 

 

 

 

 

 

 

 

 

 

 

Enable the HWPing client to

 

send-trap { all { probefailure

Required

 

 

By default, Trap sending is

 

send Trap messages

testcomplete testfailure }* }

 

disabled.

 

 

 

 

 

 

 

 

 

 

 

Configure the number of

 

 

 

Optional

 

consecutive unsuccessful

 

 

 

 

 

test-failtimes times

 

By default, Trap messages are

 

HWPing tests before Trap

 

 

 

 

 

 

sent each time a test fails.

 

output

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Configure the number of

 

 

 

Optional

 

consecutive unsuccessful

 

 

 

 

 

probe-failtimes times

 

By default, Trap messages are

 

HWPing probes before Trap

 

 

 

 

 

 

sent each time a probe fails.

 

output

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1-16

Page 627
Image 627
3Com WX3000 operation manual Configuring HWPing client to send Trap messages