beautypg.com

H3C Technologies H3C S3100 Series Switches User Manual

Page 900

background image

1-32

system-view

[Sysname] hwping-server enable

[Sysname] hwping-server udpecho 10.2.2.2 8000

z

Configure HWPing Client (Switch A):

# Enable the HWPing client.

system-view

[Sysname] hwping-agent enable

# Create an HWPing test group, setting the administrator name to administrator and test tag to

udpprivate.

[Sysname] hwping administrator udpprivate

# Configure the test type as udpprivate.

[Sysname-hwping-administrator-udpprivate] test-type udpprivate

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

[Sysname-hwping-administrator-udpprivate] destination-ip 10.2.2.2

# Configure the destination port on the HWPing server.

[Sysname-hwping-administrator-udpprivate] destination-port 8000

# Configure to make 10 probes per test.

[Sysname-hwping-administrator-udpprivate] count 10

# Set the probe timeout time to 5 seconds.

[Sysname-hwping-administrator-udpprivate] timeout 5

# Enable the saving of history records and set the maximum number of history records that can be

saved to 10.

[Sysname-hwping-administrator-udpprivate] history-record enable

[Sysname-hwping-administrator-udpprivate] history-records 10

# Start the test.

[Sysname-hwping-administrator-udpprivate] test-enable

# Display test results.

[Sysname-hwping-administrator-udpprivate] display hwping results administrator udpprivate

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

Destination ip address:10.2.2.2

Send operation times: 10 Receive response times: 10

Min/Max/Average Round Trip Time: 10/12/10

Square-Sum of Round Trip Time: 1170

Last complete test time: 2000-4-2 8:29:45.5

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

[Sysname-hwping-administrator-udpprivate] display hwping history administrator udpprivate

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

Index Response Status LastRC Time

1 11 1 0 2000-04-02 08:29:45.5

2 12 1 0 2000-04-02 08:29:45.4

3 11 1 0 2000-04-02 08:29:45.4

4 11 1 0 2000-04-02 08:29:45.4

5 11 1 0 2000-04-02 08:29:45.4

6 11 1 0 2000-04-02 08:29:45.4