Operation Manual – SNMP-RMON
H3C S3610&S5510 Series Ethernet Switches
Chapter 1 SNMP Configuration
1-5
To do…
Use the command…
Remarks
Configure the engine ID
for a local SNMP agent
snmp-agent
local-engineid
engineid
Optional
Company ID and device
ID by default
Create or update MIB
view content for an SNMP
agent
snmp-agent mib-view
{
excluded
|
included
}
view
-
name
oid
-
tree
[
mask
mask-value
]
Optional
ViewDefault by default
Caution:
The validity of a USM user depends on the engine ID of the SNMP agent. If the engine
ID used for USM user creation is not identical to the current engine ID, the USM user is
invalid.
1.3 Configuring SNMP Logging
1.3.1 Introduction to SNMP Logging
SNMP logs the GET and SET operations that NMS performs to SNMP Agent. When the
GET operation is performed, Agent logs the IP address of NMS, node name of the GET
operation and OID of the node. When the SET operation is performed, Agent logs the
IP address of NMS, node name of the SET operation, OID of the node, the value set
and the error code and index returned with the SET operation. These logs will be
transferred to system information and sent to the information center to be checked and
tracked.
SNMP logs GET request, SET request and SET response, but does not log GET
response.
1.3.2 Enabling SNMP Logging
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable SNMP logging
snmp-agent log
{
all
|
get-operation
|
set-operation
}
Required
Disabled by default.