F3215-HP Load Balancing Module System Maintenance Command Reference-6PW101

69
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.
Examples
# Configure the local engine ID as 12 3456789 A.
<Sysname> system-view
[Sysname] snmp-agent local-engineid 123456789A
Related commands
snmp-agent usm-user
snmp-agent log
Use snmp-agent log to enable SNMP logging.
Use undo snmp-agent log to restore the default.
Syntax
snmp-agent log { all | get-operation | set-operation }
undo snmp-agent log { all | get-operation | set-operation }
Default
SNMP logging is disabled.
Views
System view
Default command level
3: Manage level
Parameters
all: Enables logging SNMP GET and SET operations.
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 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 specific destination as needed.
Examples
# Enable logging SNMP GET operations.
<Sysname> system-view
[Sysname] snmp-agent log get-operation
# Enable logging SNMP SET operations.
<Sysname> system-view
[Sysname] snmp-agent log set-operation
snmp-agent mib-view
Use snmp-agent mib-view to create or update a MIB view.