H3C S3100 Series Operation Manual page 898

H3c s3100 series ethernet switches operation manual
Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

The SNMP network management function must be enabled on SNMP agent before it can receive
response packets.
The SNMPv2c version is used as reference in this example. This configuration may differ if the
system uses any other version of SNMP. For details, see SNMP – RMON Operation Manual.
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 snmp.
[Sysname] hwping administrator snmp
# Configure the test type as snmp.
[Sysname-hwping-administrator-snmp] test-type snmpquery
# Configure the destination IP address as 10.2.2.2.
[Sysname-hwping-administrator-snmp] destination-ip 10.2.2.2
# Configure to make 10 probes per test.
[Sysname-hwping-administrator-snmp] count 10
# Set the probe timeout time to 30 seconds.
[Sysname-hwping-administrator-snmp] timeout 30
# Enable the saving of history records and set the maximum number of history records that can be
saved to 10.
[Sysname-hwping-administrator-snmp] history-record enable
[Sysname-hwping-administrator-snmp] history-records 10
# Start the test.
[Sysname-hwping-administrator-snmp] test-enable
# Display test results
[Sysname-hwping-administrator-snmp] display hwping results administrator snmp
HWPing entry(admin administrator, tag snmp) test result:
Destination ip address:10.2.2.2
Send operation times: 10
Min/Max/Average Round Trip Time: 9/11/10
Square-Sum of Round Trip Time: 983
Last complete test time: 2000-4-3 8:57:20.0
Extend result:
SD Maximal delay: 0
Packet lost in test: 0%
Disconnect operation number: 0
System busy operation number: 0
Operation sequence errors: 0
Other operation errors: 0
[Sysname-hwping-administrator-snmp] display hwping history administrator snmp
HWPing entry(admin administrator, tag snmp) history record:
Index
Response
1
10
2
10
3
10
Receive response times: 10
DS Maximal delay: 0
Operation timeout number: 0
Connection fail number: 0
Drop operation number: 0
Status
LastRC
1
0
1
0
1
0
1-29
Time
2000-04-03 08:57:20.0
2000-04-03 08:57:20.0
2000-04-03 08:57:20.0

Advertisement

Chapters

Table of Contents
loading

Table of Contents