H3C S7500 Series Operation Manual(Release 3100 Series)-(V1.04)

HomeSupportSwitchesH3C S7500 Switch SeriesConfigure & DeployConfiguration GuidesH3C S7500 Series Operation Manual(Release 3100 Series)-(V1.04)
38-HWPing Configuration
Title Size Download
38-HWPing Configuration 72 KB

Chapter 1  HWPing Configuration

When configuring HWPing, go to these sections for information you are interested in:

l           Introduction to HWPing

l           HWPing Configuration

1.1  Introduction to HWPing

HWPing is a network diagnostic tool used to test the performance of protocols (only ICMP by far) operating on network. It is an enhanced alternative to the ping command.

HWPing test group is a set of HWPing test parameters. A test group contains several test parameters and is uniquely identified by an administrator name and a test tag.

You can perform a HWPing test after creating a test group and configuring the test parameters.

Different from the ping command, HWPing does not display the round trip time (RTT) and timeout status of each packet on the console terminal in real time. You need to execute the display hwping command to view the statistic results of your HWPing test operation. HWPing allows administrators to set the parameters of HWPing test groups and start HWPing test operations.

Figure 1-1 Illustration for HWPing

1.2  HWPing Configuration

1.2.1  Introduction to HWPing Configuration

The configuration tasks for HWPing include:

l           Enabling HWPing client

l           Creating a test group

l           Configuring test parameters

The test parameters that you can configure include:

1)         Destination IP address

It is equivalent to the destination IP address in the ping command.

2)         Test type

Currently, HWPing supports only one test type: ICMP.

3)         Number of test packets sent in a test

If this parameter is set to a number greater than one, the system sends the second test packet once it receives a response to the first one, or when the test timer times out if it receives no response after sending the first one, and so forth until the last test packet is sent out. This parameter is equivalent to the –n keyword in the ping command.

4)         Automatic test interval

This parameter is used to allow the system to automatically perform the same test at regular intervals.

5)         Test timeout time

Test timeout time is the time the system waits for an ECHO-RESPONSE packet after it sends out an ECHO-REQUEST packet. If no ECHO-RESPONSE packet is received within this time, this test is considered a failure. This parameter is similar to the -t keyword in the ping command, but has a different unit (the -t keyword in the ping command is in ms, while the timeout time in the HWPing command is in seconds).

 

&  Note:

The H3C S7500 Series Ethernet Switches support up to five test groups simultaneously.

 

1.2.2  Configuring HWPing

Follow these steps to configure HWPing:

To do...

Use the command...

Remarks

Enter system view

system-view

Enable HWPing client

hwping-agent enable

Required

By default, HWPing client is enabled.

Create a HWPing test group

hwping administrator-name operation-tag

Required

By default, no HWPing test group is configured.

Configure the test parameters

Configure the destination IP address of the test

destination-ip ip-address

Required

By default, no destination IP address is configured.

Configure the type of the test

test-type type

Optional

By default, the test type is ICMP.

Configure the packet sending times in each test

count times

Optional

By default, the packet sending times in each test is 1.

Configure the automatic test interval

frequency interval

Optional

By default, the automatic test interval is zero, that is, no automatic test is performed.

Configure the timeout time of the test

timeout time

Optional

By default, the timeout time is 3 seconds.

Execute the test

test-enable

Required

 

1.2.3  Displaying HWPing Configuration

To do...

Use the command...

Remarks

Display the information of HWPing test history

display hwping history [ administrator-name operation-tag ]

Available in any view

Display the latest HWPing test results

display hwping results [ administrator-name operation-tag ]

 

1.2.4  Configuration Example

I. Network requirements

Perform a HWPing ICMP test between two switches. Like a ping test, this test uses ICMP to test the roundtrip time of data packets between the source and the destination.

II. Configuration procedure

# Enable the HWPing client.

<H3C> system-view

System View: return to User View with Ctrl+Z.

[H3C] hwping-agent enable

# Create a HWPing test group, with the administrator name of administrator and the test tag of icmp.

[H3C] hwping administrator icmp

# Specify the test type as ICMP.

[H3C-hwping-administrator-icmp] test-type icmp

# Specify the destination IP address as 1.1.1.99.

[H3C-hwping-administrator-icmp] destination-ip 1.1.1.99

# Set the number of test packets sent in a test to 10.

[H3C-hwping-administrator-icmp] count 10

# Set the timeout time of test operations to 5.

[H3C-hwping-administrator-icmp] timeout 5

# Enable the test operation.

[H3C-hwping-administrator-icmp] test-enable

# Display the test results.

[H3C-hwping-administrator-icmp] display hwping results administrator icmp

  HWPing entry(admin administrator, tag icmp) test result:

      Destination ip address: 1.1.1.99

      Send operation times: 10               Receive response times: 10

      Min/Max/Average Round Trip Time: 2/5/2

      Square-Sum of Round Trip Time: 66

      Last complete test time: 2004-4-2 7:59:54.7

  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     

[H3C-hwping-administrator-icmp] display hwping history administrator icmp

  HWPing entry(admin administrator, tag icmp) history record:

    Index     Response    Status      LasrRC      Time

        1            1         1           0    2004-11-25 16:28:55.0

        2            1         1           0    2004-11-25 16:28:55.0

        3            1         1           0    2004-11-25 16:28:55.0

        4            1         1           0    2004-11-25 16:28:55.0

        5            1         1           0    2004-11-25 16:28:55.0

        6            2         1           0    2004-11-25 16:28:55.0

        7            1         1           0    2004-11-25 16:28:55.0

        8            1         1           0    2004-11-25 16:28:55.0

        9            1         1           0    2004-11-25 16:28:55.9

       10            1         1           0    2004-11-25 16:28:55.9

Refer to HWPing Command for the detailed information.

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become A Partner
  • Partner Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网