Snmp-Agent Log - H3C s3600 series Command Manual

Hide thumbs Also See for s3600 series:
Table of Contents

Advertisement

[Sysname] snmp-agent local-engineid 123456789A

snmp-agent log

Syntax
snmp-agent log { set-operation | get-operation | all }
undo snmp-agent log { set-operation | get-operation | all }
View
System view
Parameters
set-operation: Logs the set operations.
get-operation: Logs the get operations.
all: Logs both the set operations and get operations.
Description
Use the snmp-agent log command to enable network management operation logging.
Use the undo snmp-agent log command to disable network management operation logging.
By default, network management operation logging is disabled.
After SNMP logging is enabled, when NMS performs specified operations on the SNMP agent, the
SNMP agent records and then saves the information related to the operations into the information
center of the device.
When SNMP logging is enabled on a device, SNMP logs are output to the information center of the
device. With the output destinations of the information center set, the output destinations of SNMP
logs will be decided.
The severity level of SNMP logs is informational, that is, the logs are taken as general prompt
information of the device. To view SNMP logs, you need to enable the information center to output
system information with informational level.
For detailed description on system information and information center, refer to the Information
Center Configuration part in this manual.
Examples
# Enable logging for both the get and the set operations performed on the NMS.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] snmp-agent log all
1-17

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents