Management and Configuration Guide K/KA/KB.15.15

Enabling SNMP traps on Startup Configuration changes
You can send a specific SNMP trap for any configuration change made in the switch’s startup
configuration file when the change is written to flash. Changes to the configuration file can occur
when executing a CLI write command, executing an SNMP set command directly using SNMP, or
when using the WebAgent
NOTE: A log message is always generated when a startup configuration change occurs. An
example log entry is:
I 07/06/10 18:21:39 02617 mgr: Startup configuration changed by SNMP.
New seq. number 8
The corresponding trap message is sent if the snmp-server enable traps startupconfig- change
command is configured.
Syntax
[no]snmp-server enable traps startup-config-change
Enables notification of a change to the startup configuration. The change event is
logged. Default: Disabled
An example of configuring the command from the CLI is shown in Figure 6-16. The number that
displays when show config is executed is global for the switch and represents the startup
configuration sequence number.
Figure 93 Enabling notification of changes to the Startup Configuration file
Figure 6-17 displays an example o f the fields in the trap when a change is made via SNMP
(station ip=0xAC161251 (172.22.18.81), no username is set, and the new sequence number is
16.)
208 Configuring for Network Management Applications