HP 5820X Switch Configuration Manual page 118

Network management and monitoring
Hide thumbs Also See for 5820X Switch:
Table of Contents

Advertisement

# Enable the information center to output the system information with the severity level equal to or higher
than informational to the console port.
<Sysname> system-view
[Sysname] info-center source snmp channel console log level informational
# Enable SNMP logging on the agent to log the GET and SET operations of the NMS.
[Sysname] snmp-agent log get-operation
[Sysname] snmp-agent log set-operation
The following log information is displayed on the terminal when the NMS performs the Get
operation to the agent.
%Jan 1 02:49:40:566 2006 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=<>
The following log information is displayed on the terminal when the NMS performs the Set operation
to the agent.
%Jan 1 02:59:42:576 2006 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 = <Sysname>
Table 2 Description on the output field of SNMP log
Field
Jan 1 02:49:40:566 2006
seqNO
srcIP
op
node
erroIndex
errorstatus
value
NOTE:
The system information of the information center can be output to the terminal or to the log buffer. In
this example, SNMP logs are output to the terminal. For configuration of SNMP log output to other
destinations, see Information center configuration in the
Configuration Guide
.
Description
Time when the SNMP log is generated.
Serial number of the SNMP log. The system numbers the
recorded SNMP logs automatically; the serial number starts
from 0.
IP address of the NMS.
SNMP operation type (GET or SET).
Node name of the SNMP operations and OID of the
instance.
Error index, with 0 meaning no error.
Error status, with noError meaning no error.
Value set when the SET operation is performed. This field is
null, meaning the value obtained with the GET operation is
not logged.
When the value is a string of characters and the string
contains characters not ranging from ASCII 0 to 127 or
invisible characters, the string is displayed in hexadecimal.
For example, value = <81-43>[hex].
Network Management and Monitoring
108

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5800 switch

Table of Contents