H3C Technologies H3C WX3000 Series Unified Switches User Manual
Page 598
58-19
z
Configure HWPing Client (Switch A):
# Configure the IP address for the Ethernet interface.
[device] interface Vlan-interface 1
[device-Vlan-interface1] ip address 10.1.1.1 8
# Enable the HWPing client.
[device] hwping-agent enable
# Create a HWPing test group, setting the administrator name to "administrator" and test tag to "FTP".
[device] hwping administrator ftp
# Configure the test type as ftp.
[device-hwping-administrator-ftp] test-type ftp
# Configure the IP address of the FTP server as 10.2.2.2.
[device-hwping-administrator-ftp] destination-ip 10.2.2.2
# Configure the FTP login username.
[device-hwping-administrator-ftp] username admin
# Configure the FTP login password.
[device-hwping-administrator-ftp] password admin
# Configure the type of FTP operation.
[device-hwping-administrator-ftp] ftp-operation put
# Configure a file name for the FTP operation.
[device-hwping-administrator-ftp] filename cmdtree.txt
# Configure to make 10 probes per test.
[device-hwping-administrator-ftp] count 10
# Set the probe timeout time to 30 seconds.
[device-hwping-administrator-ftp] timeout 30
# Configure the source IP address
[device-hwping-administrator-ftp] source-ip 10.1.1.1
# Start the test.
[device-hwping-administrator-ftp] test-enable
# Display test results
[device-hwping-administrator-ftp] display hwping results administrator ftp
HWPing entry(admin administrator, tag ftp) test result:
Destination ip address:10.2.2.2
Send operation times: 10 Receive response times: 10
Min/Max/Average Round Trip Time: 3245/15891/12157
Square-Sum of Round Trip Time: 1644458573
Last complete test time: 2000-4-3 4:0:34.6
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-ftp] display hwping history administrator ftp
HWPing entry(admin administrator, tag ftp) history record:
Index Response Status LastRC Time