H3C S5100-SI Operation Manual page 748

Ethernet switches
Hide thumbs Also See for H3C S5100-SI:
Table of Contents

Advertisement

Network diagram
Figure 1-7 Network diagram for the SNMP test
Configuration procedure
Configure SNMP Agent (Switch B):
# Start SNMP agent and set SNMP version to V2C, read-only community name to public, and
read-write community name to private.
<Sysname> system-view
[Sysname] snmp-agent
[Sysname] snmp-agent sys-info version v2c
[Sysname] snmp-agent community read public
[Sysname] snmp-agent community write private
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 a 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
# Start the test.
1-25

Advertisement

Table of Contents
loading

This manual is also suitable for:

H3c s5100-ei

Table of Contents