Snmp-Agent Log - HPE FlexNetwork 7500 Series Command Reference Manual

Network management and monitoring
Table of Contents

Advertisement

Usage guidelines
An SNMP engine ID uniquely identifies a device in an SNMP managed network. Make sure the local
SNMP engine ID is unique within your SNMP managed network to avoid communication problems.
If you have configured SNMPv3 users, change the local SNMP engine ID only when necessary. The
change can void the SNMPv3 usernames and encrypted keys you have configured.
You can use the default engine ID or configure an easy-to-remember engine ID based on the
network plan. For example, you can set the engine ID for device 1 on the first floor of building A to
000Af0010001 and device 2 to 000Af0010002.
Examples
# Set the local SNMP engine ID to 123456789A.
<Sysname> system-view
[Sysname] snmp-agent local-engineid 123456789A
Related commands
display snmp-agent local-engineid
snmp-agent usm-user

snmp-agent log

Use snmp-agent log to enable SNMP logging.
Use undo snmp-agent log to disable SNMP logging.
Syntax
snmp-agent log { all | authfail | get-operation | set-operation }
undo snmp-agent log { all | authfail | get-operation | set-operation }
Default
SNMP logging operations are disabled.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
all: Enables logging SNMP authentication failures, Get operations, and Set operations.
authfail: Enables logging SNMP authentication failures.
get-operation: Enables logging SNMP Get operations.
set-operation: Enables logging SNMP Set operations.
Usage guidelines
Use SNMP logging to record the SNMP operations performed on the SNMP agent or authentication
failures from the NMS to the agent for auditing NMS behaviors. The SNMP agent sends log data to
the information center. You can configure the information center to output the data to a destination as
needed.
Examples
# Enable logging SNMP Get operations.
194

Advertisement

Table of Contents
loading

Table of Contents