Snmp-Agent Log - H3C S7500E Series Command Manual

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – SNMP-RMON
H3C S7500E Series Ethernet Switches
Description
Use the snmp-agent local-engineid command to configure a local engine ID for an
SNMP entity.
Use the undo snmp-agent local-engineid command to restore the default.
By default, the engine ID of a device is the combination of company ID and device ID.
Device ID varies by product; it could be an IP address, a MAC address, or a
self-defined string of hexadecimal numbers.
Notice that if the newly configured engine ID is not the same as the one used for
creating the USM user, the user is invalid.
Related commands: snmp-agent usm-user.
Examples
# Configure the local engine ID as 123456789A.
<Sysname> system-view
[Sysname] snmp-agent local-engineid 123456789A

1.1.15 snmp-agent log

Syntax
snmp-agent log { all | get-operation | set-operation }
undo snmp-agent log { all | get-operation | set-operation }
View
System view
Parameters
all: Enables logging of SNMP GET and SET operations.
get-operation: Enables logging of SNMP GET operation.
set-operation: Enables logging of SNMP SET operation.
Description
Use the snmp-agent log command to enable SNMP logging.
Use the undo snmp-agent log command to restore the default.
By default, SNMP logging is disabled.
If a specified SNMP logging is enabled, when NMS performs a specified operation to
SNMP Agent, the latter records the operation-related information and saves it to the
information center.
Chapter 1 SNMP Configuration Commands
1-15

Advertisement

Table of Contents
loading

Table of Contents