beautypg.com

Configuration procedure – H3C Technologies H3C SecPath F1000-E User Manual

Page 155

background image

144

Figure 65 Network diagram

Configuration procedure

For more information about the NMS and SecPath, see "

SNMPv1/SNMPv2c configuration example

"

and "

SNMPv3 configuration example

."

# Enable displaying log messages on the configuration terminal. (This function is enabled by default.

Skip this step if you are using the default.)

terminal monitor

terminal logging

# Enable the information center to output the system information with the severity level equal to or higher
than informational to the console port.

system-view

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

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

[SecPath] snmp-agent log get-operation

[SecPath] snmp-agent log set-operation

# Verify the configuration:
Use the NMS to get a MIB variable from the SecPath. The following is a sample log message displayed
on the configuration terminal:

%Jan 1 02:49:40:566 2006 Sysname SNMP/6/GET:

seqNO = <10> srcIP = <1.1.1.2> op = node = value=<>

Use the NMS to set a MIB variable on the SecPath. The following is a sample log message displayed on
the configuration terminal:

%Jan 1 02:59:42:576 2006 Sysname SNMP/6/SET:

seqNO = <11> srcIP = <1.1.1.2> op = errorIndex = <0> errorStatus = node

= value =

Table 26 SNMP log message field description

Field Description

Jan 1 02:49:40:566 2006

Time when the SNMP log was generated.

seqNO

Serial number automatically assigned to the SNMP log, starting from 0.

srcIP

IP address of the NMS.

op

SNMP operation type (GET or SET).

node

MIB node name and OID of the node instance.

errorIndex

Error index, with 0 meaning no error.