Tcp test (tcpprivate test) on the specified ports, Network requirements, Network diagram – H3C Technologies H3C S3100 Series Switches User Manual

Page 898: Configuration procedure

Advertising
background image

1-30

4 10 1 0 2000-04-03 08:57:19.9

5 9 1 0 2000-04-03 08:57:19.9

6 11 1 0 2000-04-03 08:57:19.9

7 10 1 0 2000-04-03 08:57:19.9

8 10 1 0 2000-04-03 08:57:19.9

9 10 1 0 2000-04-03 08:57:19.8

10 10 1 0 2000-04-03 08:57:19.8

For detailed output description, see the corresponding command manual.

TCP Test (Tcpprivate Test) on the Specified Ports

Network requirements

Both the HWPing client and the HWPing server are H3C S3100 series Ethernet switches. Perform an

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.

Network diagram

Figure 1-8 Network diagram for the Tcpprivate test

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 an 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.

[Sysname-hwping-administrator-tcpprivate] 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-tcpprivate] history-record enable

Advertising