R3303-HP HSR6800 Routers Network Management and Monitoring Configuration Guide

97
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
C o n f i g u r e t h e S N M P a g e n t (1.1.1.1 / 24 ) i n Figure 38 to log the SNMP operations performed by the NMS.
Figure 38 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.)
<Agent> terminal monitor
<Agent> terminal logging
# Enable the information center to output system information with severity level equal to or higher than
informational to the console port.
<Agent> system-view
[Agent] info-center source snmp channel console log level informational
# Enable logging GET and SET operations.