3Com WX3000 operation manual 7Network diagram for the Snmp test, # Configure the test type as snmp

Models: WX3000

1 715
Download 715 pages 21.26 Kb
Page 637
Image 637

Network diagram

Figure 1-7Network diagram for the SNMP test

 

IP

network

 

10.1.1.1/8

10.2.2.2/8

 

Switch A

 

 

Switch B

HWPing Client

 

SNMP Agent

Configuration procedure

zConfigure 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

z

z

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.

zConfigure 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 "snmp".

[device] Hwping administrator snmp

# Configure the test type as snmp.

[device-hwping-administrator-snmp] test-type snmpquery

# Configure the destination IP address as 10.2.2.2.

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

# Configure to make 10 probes per test.

[device-hwping-administrator-snmp] count 10

# Set the probe timeout time to 30 seconds.

[device-hwping-administrator-snmp] timeout 30

# Start the test.

1-26

Page 637
Image 637
3Com WX3000 operation manual 7Network diagram for the Snmp test, # Configure the test type as snmp