Configuring Snmp Logging; Introduction To Snmp Logging; Enabling Snmp Logging - HP A3100-8 v2 EI Configuration Manual

A3100 v2 switch series
Hide thumbs Also See for A3100-8 v2 EI:
Table of Contents

Advertisement

To do...
Enter system view
Switch the format of an
NM-specific ifindex from 16-bit to
32-bit
CAUTION:
Some configurations use parameters that relate to NM-specific ifindex, so the switch of NM-specific
ifindex causes temporary ineffectiveness of these configurations. If the format of the ifindex is switched
back, the configurations will become effective again. Perform the configurations again with the new
NM-specific ifindexes, and then the related configurations become effective. For example, in the
configuration of RMON alarm group and private alarm group, the alarm variables are presented in the
format of OID/variable-name.NM-specific-ifindex. The switching of NM-specific ifindex format makes
the RMON alarm variables ineffective. To monitor the affected nodes again, re-configure the alarm
groups with the new format of NM-specific ifindexes.

Configuring SNMP logging

Introduction to SNMP logging

The SNMP logging function logs the Get requests, Set requests, and Set responses that the NMS has
performed on the SNMP agent, but does not log the Get responses.
For a Get operation, the agent logs the IP address of the NMS, name of the accessed node, and
node OID.
For a Set operation, the agent logs the IP address of the NMS, name of the accessed node, node
OID, the assigned value and the error code and error index of the Set response.
The SNMP module sends these logs to the information center as informational messages. You can output
these messages to certain destinations, for example, the console and the log buffer by configuring the
information center to output informational messages to these destinations. For more information about
the information center, see the chapter "Information center configuration."

Enabling SNMP logging

To do...
Enter system view
Enable SNMP logging
Configure SNMP log output rules
Use the command...
system-view
snmp-agent ifmib long-ifindex
enable
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 } * ] *
87
Remarks
Optional
By default, an NM-specific ifindex
is in 16-bit format.
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 the console or
a monitor terminal, you need to set
the output destinations with this
command.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents