- Table of Contents
-
- H3C Low-End Ethernet Switches Configuration Guide(V1.01)
- 01-Login Configuration Guide
- 02-VLAN Configuration Guide
- 03-IP Address Configuration Guide
- 04-Voice VLAN Configuration Guide
- 05-GVRP Configuration Guide
- 06-Ethernet Interface Basic Configuration Guide
- 07-Link Aggregation Configuration Guide
- 08-Port Isolation Configuration Guide
- 09-Port Security Configuration Guide
- 10-Port Binding Configuration Guide
- 11-MAC Address Table Management Configuration Guide
- 12-DLDP Configuration Guide
- 13-Auto Detect Configuration Guide
- 14-MSTP Configuration Guide
- 15-Routing Configuration Guide
- 16-Multicast Configuration Guide
- 17-802.1x Configuration Guide
- 18-AAA Configuration Guide
- 19-MAC Authentication Configuration Guide
- 20-VRRP Configuration Guide
- 21-ARP Configuration Guide
- 22-DHCP Configuration Guide
- 23-ACL Configuration Guide
- 24-QoS-QoS Profile Configuration Guide
- 25-Web Cache Redirection Configuration Guide
- 26-Mirroring Configuration Guide
- 27-IRF Configuration Guide
- 28-Cluster Configuration Guide
- 29-PoE-PoE Profile Configuration Guide
- 30-UDP Helper Configuration Guide
- 31-SNMP-RMON Configuration Guide
- 32-NTP Configuration Guide
- 33-SSH Configuration Guide
- 34-FTP and TFTP Configuration Guide
- 35-Information Center Configuration Guide
- 36-VLAN-VPN Configuration Guide
- 37-HWPing Configuration Guide
- 38-DNS Configuration Guide
- 39-Access Management Configuration Guide
- 40-Web Authentication Configuration Guide
- 41-IPv6 Management Configuration Guide
- 42-Smart link - Monitor Link Configuration Guide
- 43-VLAN Mapping Configuration Guide
- Related Documents
-
Title | Size | Download |
---|---|---|
37-HWPing Configuration Guide | 113.51 KB |
HWPing Configuration
HWPing (pronounced Hua’Wei Ping) is a network diagnostic tool. It is used to test the performance of various protocols running in networks. HWPing provides more functions than the ping command.
The ping command can only use the Internet Control Message Protocol (ICMP) to test the round trip time (RTT) between the local end and a specified destination end for you to judge whether the destination end is reachable.
After creating a HWPing test group and configuring the test parameters, you can perform a HWPing test with the test-enable command.
Different from the ping command, HWPing does not display the RTT or timeout status of each packet on the console terminal in real time. To view the statistic results of your HWPing test operation, you need to execute the display hwping command. HWPing also allows you to set parameters for HWPing test groups, start HWPing tests and view statistical test results through a network management device.
ICMP Test
Network diagram
Figure 1-1 Network diagram for the ICMP test
Networking and configuration requirements
A HWPing ICMP test between two switches uses ICMP to test the round trip time (RTT) for packets generated by the HWPing client.
Applicable product matrix
Product series |
Software version |
Hardware version |
S5600 series |
Release 1510, Release1602 |
All versions |
S5100-SI/EI series |
Release 2200, Release2201 |
All versions |
S3600-SI/EI series |
Release 1510, Release1602 |
All versions |
S3100-EI series |
Release 2104, Release 2107 |
All versions |
S3100-C-SI series S3100-T-SI series |
Release 0011, Release 2102, Release 2107 |
All versions |
S3100-52P |
Release 1500, Release 1602 |
S3100-52P |
Configuration procedure
# Enable the HWPing client.
<SwitchA> system-view
System View: return to User View with Ctrl+Z.
[SwitchA] hwping-agent enable
# Create a HWPing test group, configuring the administrator name as administrator and test operation tag as ICMP.
[SwitchA] hwping administrator icmp
# Configure the test type as ICMP.
[SwitchA-hwping-administrator-icmp] test-type icmp
# Configure the destination IP address as 10.2.2.2.
[SwitchA-hwping-administrator-icmp] destination-ip 10.2.2.2
# Configure the number of probes in one test as 10.
[SwitchA-hwping-administrator-icmp] count 10
# Configure the probe timeout time as 5 seconds.
[SwitchA-hwping-administrator-icmp] timeout 5
# Start the test.
[SwitchA-hwping-administrator-icmp] test-enable
# View the test results.
[SwitchA-hwping-administrator-icmp] display hwping results administrator icmp
[SwitchA-hwping-administrator-icmp] display hwping history administrator icmp
For detailed output description, see the corresponding command manual.
Complete configuration
Configuration on Switch A.
#
hwping-agent enable
hwping administrator icmp
test-type icmp
destination-ip 10.2.2.2
count 10
timeout 5
Precautions
none
DHCP Test
Network diagram
Figure 1-2 Network diagram for the DHCP test
Networking and configuration requirements
Perform a HWPing DHCP test between the two switches to test the time required for the HWPing client to obtain an IP address from the DHCP server.
Applicable product matrix
Product series |
Software version |
Hardware version |
S5600 series |
Release1602 |
All versions |
S5100-SI/EI series |
Release 2200, Release2201 |
All versions |
S3600-SI/EI series |
Release1602 |
All versions |
S3100-EI series |
Release 2104, Release 2107 |
All versions |
S3100-C-SI series S3100-T-SI series |
Release 2102, Release 2107 |
All versions |
S3100-52P |
Release 1602 |
S3100-52P |
Configuration procedure
l Configure DHCP Server(Switch B):
Configure DHCP server on Switch B. For specific configuration of DHCP server, refer to the DHCP part of the manual.
l Configure HWPing Client (Switch A):
# Enable the HWPing client.
<SwitchA> system-view
[SwitchA] hwping-agent enable
# Create a HWPing test group, setting the administrator name to administrator and test tag to DHCP.
[SwitchA] Hwping administrator dhcp
# Configure the test type as dhcp.
[SwitchA-hwping-administrator-dhcp] test-type dhcp
# Configure the source interface, which must be a VLAN interface. Make sure the DHCP server resides on the network connected to this interface.
[SwitchA-hwping-administrator-dhcp] source-interface Vlan-interface 1
# Configure to make 10 probes per test.
[SwitchA-hwping-administrator-dhcp] count 10
# Set the probe timeout time to 5 seconds.
[SwitchA-hwping-administrator-dhcp] timeout 5
# Start the test.
[SwitchA-hwping-administrator-dhcp] test-enable
# Display test results
[SwitchA-hwping-administrator-dhcp] display hwping results administrator dhcp
[SwitchA-hwping-administrator-dhcp] display hwping history administrator dhcp
For detailed output description, see the corresponding command manual.
Complete configuration
Configuration on Switch A.
#
hwping-agent enable
hwping administrator dhcp
test-type dhcp
source-interface Vlan-interface 1
count 10
timeout 5
#
Precautions
You can perform a HWPing DHCP test only when no DHCP client is enabled on any interface. Otherwise, the DHCP Server sends the response to an interface enabled with the DHCP Client rather than to the source interface, thus resulting in HWPing DHCP test failure.
HTTP Test
Network diagram
Figure 1-3 Network diagram for the HTTP test
Networking and configuration requirements
Perform a HWPing HTTP test between the switch and the HTTP server to test the connectivity and the time required to download a file from the HTTP server after the connection to the server is established.
Applicable product matrix
Product series |
Software version |
Hardware version |
S5600 series |
Release1602 |
All versions |
S5100-SI/EI series |
Release 2200, Release2201 |
All versions |
S3600-SI/EI series |
Release1602 |
All versions |
S3100-EI series |
Release 2104, Release 2107 |
All versions |
S3100-C-SI series S3100-T-SI series |
Release 2102, Release 2107 |
All versions |
S3100-52P |
Release 1602 |
S3100-52P |
Configuration procedure
l Configure HTTP Server:
Use Windows 2003 Server as the HTTP server. For HTTP server configuration, refer to the related instruction on Windows 2003 Server configuration.
l Configure HWPing Client (Switch A):
# Enable the HWPing client.
<SwitchA> system-view
[SwitchA] hwping-agent enable
# Create a HWPing test group, setting the administrator name to administrator and test tag to HTTP.
[SwitchA] Hwping administrator http
# Configure the test type as http.
[SwitchA-hwping-administrator-http] test-type http
# Configure the IP address of the HTTP server as 10.2.2.2.
[SwitchA-hwping-administrator-http] destination-ip 10.2.2.2
# Configure to make 10 probes per test.
[SwitchA-hwping-administrator-http] count 10
# Set the probe timeout time to 30 seconds.
[SwitchA-hwping-administrator-http] timeout 30
# Start the test.
[SwitchA-hwping-administrator-http] test-enable
# Display test results
[SwitchA-hwping-administrator-http] display hwping results administrator http
[SwitchA-hwping-administrator-http] display hwping history administrator http
For detailed output description, see the corresponding command manual.
Complete configuration
Configuration on Switch A.
#
hwping-agent enable
hwping administrator http
test-type http
destination-ip 10.2.2.2
count 10
timeout 30
#
Precautions
none
TCP Test (Tcpprivate Test) on the Specified Ports
Network diagram
Figure 1-4 Network diagram for the Tcpprivate test
Networking and configuration requirements
Perform a HWPing Tcpprivate test to test time required to establish a TCP connection between this end (Switch A) and the specified destination end (Switch B), with the port number set to 8000.
Applicable product matrix
Product series |
Software version |
Hardware version |
S5600 series |
Release1602 |
All versions |
S5100-SI/EI series |
Release 2200, Release2201 |
All versions |
S3600-SI/EI series |
Release1602 |
All versions |
S3100-EI series |
Release 2104, Release 2107 |
All versions |
S3100-C-SI series S3100-T-SI series |
Release 2102, Release 2107 |
All versions |
S3100-52P |
Release 1602 |
S3100-52P |
Configuration procedure
l Configure HWPing Server (Switch B):
# Enable the HWPing server and configure the IP address and port to listen on.
<SwitchB> system-view
[SwitchB] hwping-server enable
[SwitchB] hwping-server tcpconnect 10.2.2.2 8000
l Configure HWPing Client (Switch A):
# Enable the HWPing client.
<SwitchA> system-view
[SwitchA] hwping-agent enable
# Create a HWPing test group, setting the administrator name to administrator and test tag to tcpprivate.
[SwitchA] Hwping administrator tcpprivate
# Configure the test type as tcpprivate.
[SwitchA-hwping-administrator-tcpprivate] test-type tcpprivate
# Configure the IP address of the HWPing server as 10.2.2.2.
[SwitchA-hwping-administrator-tcpprivate] destination-ip 10.2.2.2
# Configure the destination port on the HWPing server.
[SwitchA-hwping-administrator-tcpprivate] destination-port 8000
# Configure to make 10 probes per test.
[SwitchA-hwping-administrator-tcpprivate] count 10
# Set the probe timeout time to 5 seconds.
[SwitchA-hwping-administrator-tcpprivate] timeout 5
# Start the test.
[SwitchA-hwping-administrator-tcpprivate] test-enable
# Display test results.
[SwitchA-hwping-administrator-tcpprivate] display hwping results administrator tcpprivate
[SwitchA-hwping-administrator-tcpprivate] display hwping history administrator tcpprivate
For detailed output description, see the corresponding command manual.
Complete configuration
l Configuration on Switch B.
#
hwping-server enable
hwping-server tcpconnect 10.2.2.2 8000
#
l Configuration on Switch A.
#
hwping-agent enable
hwping administrator tcpprivate
test-type tcpprivate
destination-ip 10.2.2.2
destination-port 8000
count 10
timeout 5
#
Precautions
none
DNS Test
Network diagram
Figure 1-5 Network diagram for the DNS test
Networking and configuration requirements
Perform a HWPing DNS test between the switch and the DNS server to test the time required from the client sends a DNS request to it receives a resolution result from the DNS server.
Applicable product matrix
Product series |
Software version |
Hardware version |
S5600 series |
Release1602 |
All versions |
S5100-SI/EI series |
Release 2200, Release2201 |
All versions |
S3600-SI/EI series |
Release1602 |
All versions |
S3100-EI series |
Release 2104, Release 2107 |
All versions |
S3100-C-SI series S3100-T-SI series |
Release 2102, Release 2107 |
All versions |
S3100-52P |
Release 1602 |
S3100-52P |
Configuration procedure
l Configure DNS Server:
Use Windows 2003 Server as the DNS server. For DNS server configuration, refer to the related instruction on Windows 2003 Server configuration.
l Configure HWPing Client (Switch A)
# Enable the HWPing client.
<SwitchA> system-view
[SwitchA] hwping-agent enable
# Create a HWPing test group, setting the administrator name to administrator and test tag to dns.
[SwitchA] hwping administrator dns
# Configure the test type as dns.
[SwitchA-hwping-administrator-dns] test-type dns
# Configure the IP address of the DNS server as 10.2.2.2.
[SwitchA-hwping-administrator-dns] dns-server 10.2.2.2
# Configure to resolve the domain name www.test.com.
[SwitchA-hwping-administrator-dns] dns resolve-target www.test.com
# Configure to make 10 probes per test.
[SwitchA-hwping-administrator-dns] count 10
# Set the probe timeout time to 5 seconds.
[SwitchA-hwping-administrator-dns] timeout 5
# Start the test.
[SwitchA-hwping-administrator-dns] test-enable
# Display test results.
[SwitchA-hwping-administrator-dns] display hwping results administrator dns
[SwitchA-hwping-administrator-dns] display hwping history administrator dns
For detailed output description, see the corresponding command manual.
Complete configuration
l Configuration on Switch A.
#
hwping-agent enable
hwping administrator dns
test-type dns
destination-ip 10.2.2.2
dns resolve-target www.test.com
count 10
timeout 5
#
Precautions
none