H3C Technologies H3C WX3000 Series Unified Switches User Manual

Page 605

Advertising
background image

58-26

Configuration procedure

z

Configure HWPing Server (Switch B):

# Enable the HWPing server and configure the IP address and port to listen on.

<device> system-view

[device] hwping-server enable

[device] hwping-server tcpconnect 10.2.2.2 8000

z

Configure HWPing Client (Switch A):

# Enable the HWPing client.

<device> system-view

[device] hwping-agent enable

# Create a HWPing test group, setting the administrator name to "administrator" and test tag to
"tcpprivate".

[device] Hwping administrator tcpprivate

# Configure the test type as tcpprivate.

[device-hwping-administrator-tcpprivate] test-type tcpprivate

# Configure the IP address of the HWPing server as 10.2.2.2.

[device-hwping-administrator-tcpprivate] destination-ip 10.2.2.2

# Configure the destination port on the HWPing server.

[device-hwping-administrator-tcpprivate] destination-port 8000

# Configure to make 10 probes per test.

[device-hwping-administrator-tcpprivate] count 10

# Set the probe timeout time to 5 seconds.

[device-hwping-administrator-tcpprivate] timeout 5

# Start the test.

[device-hwping-administrator-tcpprivate] test-enable

# Display test results.

[device-hwping-administrator-tcpprivate] display hwping results administrator tcpprivate

HWPing entry(admin administrator, tag tcpprivate) test result:

Destination ip address:10.2.2.2

Send operation times: 10 Receive response times: 10

Min/Max/Average Round Trip Time: 4/7/5

Square-Sum of Round Trip Time: 282

Last complete test time: 2000-4-2 8:26:2.9

Extend result:

SD Maximal delay: 0 DS Maximal delay: 0

Packet lost in test: 0%

Disconnect operation number: 0 Operation timeout number: 0

System busy operation number: 0 Connection fail number: 0

Operation sequence errors: 0 Drop operation number: 0

Other operation errors: 0

[device-hwping-administrator-tcpprivate] display hwping history administrator tcpprivate

HWPing entry(admin administrator, tag tcpprivate) history record:

Index Response Status LastRC Time

1 4 1 0 2000-04-02 08:26:02.9

2 5 1 0 2000-04-02 08:26:02.8

3 4 1 0 2000-04-02 08:26:02.8

4 5 1 0 2000-04-02 08:26:02.7

Advertising