EasyManua.ls Logo

H3C S3100V2-52TP

H3C S3100V2-52TP
224 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
71
SNMP logging configuration example
Network requirements
A n S N M P a g e n t (1.1.1.1 / 24 ) c o n n e c t s t o a n N M S (1.1.1. 2 / 24 ) o v e r E t h e r n e t , a s s h o w n i n Figure 27.
Configure the agent to log the SNMP operations performed by the NMS.
Figure 27 Network diagram
Configuration procedure
NOTE:
This configuration example assumes that you have configured all required SNMP settings for the NMS
and the agent (see “SNMPv1/SNMPv2c configuration example” and “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 the system events of the informational or higher severity to the
console port.
<Agent> system-view
[Agent] info-center source snmp channel console log level informational
# Enable logging Get and Set operations.
[Agent] snmp-agent log all
# Verify the configuration.
Use the NMS to get a MIB variable from the agent. The following is a sample log message
displayed on the configuration terminal:
%Jan 1 02:49:40:566 2011 Sysname SNMP/6/GET:
seqNO = <10> srcIP = <1.1.1.2> op = <get> node = <sysName(1.3.6.1.2.1.1.5.0)> value=<>
Use the NMS to set a MIB variable on the agent. The following is a sample log message displayed
on the configuration terminal:
%Jan 1 02:59:42:576 2011 Sysname SNMP/6/SET:
seqNO = <11> srcIP = <1.1.1.2> op = <set> errorIndex = <0> errorStatus =<noError> node
= <sysName(1.3.6.1.2.1.1.5.0)> value = <Agent>

Table of Contents

Other manuals for H3C S3100V2-52TP

Related product manuals