Configuring Snmp Logging; Introduction To Snmp Logging; Enabling Snmp Logging - H3C S5500-EI series Operation Manual

Hide thumbs Also See for S5500-EI series:
Table of Contents

Advertisement

Operation Manual – SNMP-RMON
H3C S5500-EI Series Ethernet Switches

1.3 Configuring SNMP Logging

1.3.1 Introduction to SNMP Logging

SNMP logs the GET and SET operations that NMS performs to SNMP Agent. When the
GET operation is performed, Agent logs the IP address of NMS, node name of the GET
operation and OID of the node. When the SET operation is performed, Agent logs the
IP address of NMS, node name of the SET operation, OID of the node, the value set
and the error code and index returned with the SET operation. These logs will be
transferred to system information and sent to the information center to be checked and
tracked.
SNMP logs GET request, SET request and SET response, but does not log GET
response.

1.3.2 Enabling SNMP Logging

To do...
Enter system view
Enable SNMP
logging
Configure SNMP
log output rules
Note:
Logs occupy storage space of the device, thus affecting the performance of the
device. Therefore, you are recommended to disable SNMP logging.
The priority of SNMP log is informational, meaning it is a common prompt of the
device. To check SNMP logs, enable the information center to output system
information with the severity of informational.
The size of SNMP logs cannot exceed that allowed by the information center and
the sum of the node, and value field of each log information cannot exceed 1K bytes;
otherwise, the exceeded part will be output.
For the detailed description of system information, the information center and the
info-center source command, refer to Information Center Configuration.
Use the command...
system-view
snmp-agent log { all |
get-operation | set-operation }
info-center source
{ module-name | default }
channel { channel-number |
channel-name } [ debug { level
severity | state state } * | log
{ level severity | state state } * |
trap { level severity | state
state } * ] *
1-6
Chapter 1 SNMP Configuration
Remarks
Required
Disabled by default.
Optional
By default, SNMP logs are
output to loghost and logfile
only. To output SNMP logs
to other destinations such
as console or monitor
terminal, you need to set
the output destinations with
this command.

Advertisement

Table of Contents
loading

Table of Contents