Configuration procedure – H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 478

Advertising
background image

52-10

Configuration procedure

The configurations for NMS and Agent are omitted.

# Enable logging display on the terminal (optional, enabled by default).

<Sysname> terminal monitor

<Sysname> terminal logging

# Enable the information center to output the system information with the severity of informational to the
Console port.

<Sysname> system-view

[Sysname] info-center source snmp channel console log level informational

# Enable SNMP logging on Agent to log the GET and SET operations of NMS.

[Sysname] snmp-agent log get-operation

[Sysname] snmp-agent log set-operation

z

The following log information is displayed on the terminal when NMS performs the GET operation
to 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=<>

z

The following log information is displayed on the terminal when NMS performs the SET operation
to 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 52-1

Descriptions on the output field of SNMP log

Field

Description

Jan 1 02:49:40:566 2006

The time when SNMP log is generated

seqNO

Sequence number of the SNMP log ()

srcIP

IP address of NMS

op

SNMP operation type (GET or SET)

node

Node name of the SNMP operations and OID of the instance

erroIndex Error

index,

with 0 meaning no error

errorstatus Error

status,

with noError meaning no error

value

Value set when the SET operation is performed (This field is , 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 in the range of ASCII 0 to 127 or invisible characters, the string is
displayed in hexadecimal. For example, value = <81-43>[hex]

Advertising