- Table of Contents
-
- H3C S7500 Series Operation Manual(Release 3100 Series)-(V1.04)
- 00-1Cover
- 00-2Overview
- 01-CLI Configuration
- 02-Login Configuration
- 03-Configuration File Management Configuration
- 04-VLAN Configuration
- 05-Extended VLAN Application Configuration
- 06-IP Address-IP Performance-IPX Configuration
- 07-GVRP Configuration
- 08-QinQ Configuration
- 09-Port Basic Configuration
- 10-Link Aggregation Configuration
- 11-Port Isolation Configuration
- 12-Port Binding Configuration
- 13-DLDP Configuration
- 14-MAC Address Table Configuration
- 15-MSTP Configuration
- 16-Routing Protocol Configuration
- 17-Multicast Configuration
- 18-802.1x Configuration
- 19-AAA-RADIUS-HWTACACS-EAD Configuration
- 20-Traffic Accounting Configuration
- 21-VRRP-HA Configuration
- 22-ARP Configuration
- 23-DHCP Configuration
- 24-ACL Configuration
- 25-QoS Configuration
- 26-Mirroring Configuration
- 27-Cluster Configuration
- 28-PoE Configuration
- 29-UDP-Helper Configuration
- 30-SNMP-RMON Configuration
- 31-NTP Configuration
- 32-SSH Terminal Service Configuration
- 33-File System Management Configuration
- 34-FTP and TFTP Configuration
- 35-Information Center Configuration
- 36-DNS Configuration
- 37-System Maintenance and Debugging Configuration
- 38-HWPing Configuration
- 39-RRPP Configuration
- 40-NAT-Netstream-Policy Routing Configuration
- 41-Telnet Protection Configuration
- 42-Hardware-Dependent Software Configuration
- Related Documents
-
Title | Size | Download |
---|---|---|
38-HWPing Configuration | 72 KB |
Table of Contents
Chapter 1 HWPing Configuration
1.2.1 Introduction to HWPing Configuration
1.2.3 Displaying HWPing Configuration
Chapter 1 HWPing Configuration
When configuring HWPing, go to these sections for information you are interested in:
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.