Configuring Snmp Logging; Introduction To Snmp Logging; Enabling Snmp Logging - 3Com 4500G Family Configuration Manual

24/48 port
Hide thumbs Also See for 4500G Family:
Table of Contents

Advertisement

To do...
Create or update MIB view
content for an SNMP agent
The validity of a USM user depends on the engine ID of the SNMP agent. If the engine ID when the
USM user is created is not identical to the current engine ID, the USM user is invalid.

Configuring SNMP Logging

Introduction to SNMP Logging

SNMP logs the GET and SET operations that the NMS performs on the SNMP agent. When the GET
operation is performed, the agent logs the IP address of the NMS, node name of the GET operation and
OID of the node. When the SET operation is performed, the agent logs the IP address of the NMS, node
name of the SET operation, OID of the node, the value set and the error code and error index of the SET
response. These logs will be sent to the information center, and the level of them is informational, that is,
they are taken as the system prompt information. With parameters for the information center set, the
output rules for SNMP logs are decided (that is, whether the logs are permitted to output and the output
destinations).
SNMP logs GET request, SET request and SET response, but does not log GET response.

Enabling SNMP Logging

To do...
Enter system view
Enable SNMP logging
Configure SNMP log output
rules
Use the command...
snmp-agent mib-view
{ excluded | included }
view-name oid-tree [ mask
mask-value ]
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-5
Remarks
Optional
ViewDefault by default
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.

Hide quick links:

Advertisement

Chapters

Table of Contents
loading

Table of Contents