Snmp logging configuration example, Network requirements – H3C Technologies H3C MSR 50 User Manual

Page 25

Advertising
background image

Send request to 1.1.1.1/161 ...

Protocol version: SNMPv3

Operation: Get

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 5

to log the SNMP operations performed by the NMS.

Figure 5 Network diagram

12

Advertising