beautypg.com

Snmp logging configuration example, Network requirements, Configuration procedure – H3C Technologies H3C WX5500E Series Access Controllers User Manual

Page 74

background image

66

Request binding:

1: 1.3.6.1.2.1.11.29.0

Response binding:

1: Oid=snmpOutTraps.0 Syntax=CNTR32 Value=18

Get finished

# Try to get the device name from the agent. The get attempt fails because the NMS has no access

right to the node.

Send request to 1.1.1.1/161 ...

Protocol version: SNMPv3

Operation: Get

Request binding:

1: 1.3.6.1.2.1.1.5.0

Response binding:

1: Oid=sysName.0 Syntax=noSuchObject Value=NULL

Get finished

# Execute the shutdown or undo shutdown command on an idle interface on the agent. You can

see the interface state change traps on the NMS:

1.1.1.1/3374 V3 Trap = linkdown

SNMP Version = V3

Community = managev3user

Command = Trap

1.1.1.1/3374 V3 Trap = linkup

SNMP Version = V3

Community = managev3user

Command = Trap

SNMP logging configuration example

Network requirements

Configure the SNMP agent (1.1.1.1/24) in

Figure 26

to log the SNMP operations performed by the NMS.

Figure 26 Network diagram

Configuration procedure

This example assumes that you have configured all required SNMP settings for the NMS and the agent
(see "

SNMPv1/SNMPv2c configuration example

" or "

SNMPv3 configuration example

").

# Enable displaying log messages on the configuration terminal. (This function is enabled by default.

Skip this step if you are using the default.)

terminal monitor