Udp test (udpprivate test) on the specified ports – H3C Technologies H3C WX3000 Series Unified Switches User Manual

Page 606

Advertising
background image

58-27

5 4 1 0 2000-04-02 08:26:02.7

6 5 1 0 2000-04-02 08:26:02.6

7 6 1 0 2000-04-02 08:26:02.6

8 7 1 0 2000-04-02 08:26:02.5

9 5 1 0 2000-04-02 08:26:02.5

10 7 1 0 2000-04-02 08:26:02.4

For detailed output description, see the corresponding command reference.

UDP Test (Udpprivate Test) on the Specified Ports

Network requirements

Both the HWPing client and the HWPing server are WX3000 series devices. Perform a HWPing
Udpprivate test on the specified ports between the two devices to test the RTT of UDP packets between
this end (HWPing client) and the specified destination end (HWPing server), with the port number set to
8000.

Network diagram

Figure 58-9

Network diagram for the Udpprivate test

Switch A

Switch B

HWPing Client

IP network

10.1.1.1/8

10.2.2.2/8

HWPing Server

Configuration procedure

z

Configure HWPing Server (Switch B):

# Enable the HWPing server and configure the IP address and port to listen on.

<device> system-view

[device] hwping-server enable

[device] hwping-server udpecho 10.2.2.2 8000

z

Configure HWPing Client (Switch A):

# Enable the HWPing client.

<device> system-view

[device] hwping-agent enable

# Create a HWPing test group, setting the administrator name to "administrator" and test tag to
"udpprivate".

[device] Hwping administrator udpprivate

# Configure the test type as udpprivate.

[device-hwping-administrator-udpprivate] test-type udpprivate

# Configure the IP address of the HWPing server as 10.2.2.2.

[device-hwping-administrator-udpprivate] destination-ip 10.2.2.2

# Configure the destination port on the HWPing server.

[device-hwping-administrator-udpprivate] destination-port 8000

# Configure to make 10 probes per test.

[device-hwping-administrator-udpprivate] count 10

# Set the probe timeout time to 5 seconds.

[device-hwping-administrator-udpprivate] timeout 5

Advertising