H3C Technologies H3C WX3000 Series Unified Switches User Manual
Page 608
58-29
Use Windows 2003 Server as the DNS server. For DNS server configuration, refer to the related
instruction on Windows 2003 Server configuration.
z
Configure HWPing Client (Switch)
# Enable the HWPing client.
[device] hwping-agent enable
# Create a HWPing test group, setting the administrator name to "administrator" and test tag to "dns".
[device] hwping administrator dns
# Configure the test type as dns.
[device-hwping-administrator-dns] test-type dns
# Configure the IP address of the DNS server as 10.2.2.2.
[device-hwping-administrator-dns] dns-server 10.2.2.2
# Configure to resolve the domain name www.test.com.
[device-hwping-administrator-dns] dns resolve-target www.test.com
# Configure to make 10 probes per test.
[device-hwping-administrator-dns] count 10
# Set the probe timeout time to 5 seconds.
[device-hwping-administrator-dns] timeout 5
# Start the test.
[device-hwping-administrator-dns] test-enable
# Display test results.
[device-hwping-administrator-dns] display hwping results administrator dns
HWPing entry(admin administrator, tag dns) test result:
Destination ip address:10.2.2.2
Send operation times: 10 Receive response times: 10
Min/Max/Average Round Trip Time: 6/10/8
Square-Sum of Round Trip Time: 756
Last complete test time: 2006-11-28 11:50:40.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
Dns result:
DNS Resolve Current Time: 10 DNS Resolve Min Time: 6
DNS Resolve Times: 10 DNS Resolve Max Time: 10
DNS Resolve Timeout Times: 0 DNS Resolve Failed Times: 0
[device-hwping-administrator-dns] display hwping history administrator dns
HWPing entry(admin administrator, tag dns) history record:
Index Response Status LastRC Time
1 10 1 0 2006-11-28 11:50:40.9
2 10 1 0 2006-11-28 11:50:40.9
3 10 1 0 2006-11-28 11:50:40.9
4 7 1 0 2006-11-28 11:50:40.9
5 8 1 0 2006-11-28 11:50:40.9
6 6 1 0 2006-11-28 11:50:40.9