Operation Manual – HWPing
H3C S3100 Series Ethernet Switches
Chapter 1 HWPing Configuration
1-33
1.3.7 TCP Test (Tcpprivate Test) on the Specified Ports
I. Network requirements
Both the HWPing client and the HWPing server are H3C S3100 series Ethernet
switches. 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.
II. Network diagram
Figure 1-8
Network diagram for the Tcpprivate test
III. Configuration procedure
z
Configure HWPing Server (Switch B):
# Enable the HWPing server and configure the IP address and port to listen on.
<Sysname> system-view
[Sysname] hwping-server enable
[Sysname] hwping-server tcpconnect 10.2.2.2 8000
z
Configure HWPing Client (Switch A):
# Enable the HWPing client.
<Sysname> system-view
[Sysname] hwping-agent enable
# Create a HWPing test group, setting the administrator name to "administrator" and
test tag to "tcpprivate".
[Sysname] Hwping administrator tcpprivate
# Configure the test type as
tcpprivate
.
[Sysname-hwping-administrator-tcpprivate] test-type tcpprivate
# Configure the IP address of the HWPing server as 10.2.2.2.
[Sysname-hwping-administrator-tcpprivate] destination-ip 10.2.2.2
# Configure the destination port on the HWPing server.
[Sysname-hwping-administrator-tcpprivate] destination-port 8000
# Configure to make 10 probes per test.
[Sysname-hwping-administrator-tcpprivate] count 10
# Set the probe timeout time to 5 seconds.