activity-log
This command configures event types performed in the management interface (Web and CLI) to report in syslog messages or in an SNMP trap.
Syntax
(config-troubleshoot)# activity-log (activity-log)#
Command |
Description |
---|---|
action-execute {on|off} |
Enables logging notifications on actions executed events. |
cli-commands-log {on|off} |
Enables logging of CLI commands. |
config-changes {on|off} |
Enables logging notifications on parameters-value-change events. |
device-reset {on|off} |
Enables logging notifications on device-reset events. |
files-loading {on|off} |
Enables logging notifications on auxiliary-files-loading events. |
flash-burning {on|off} |
Enables logging notifications on flash-memory-burning events. |
login-and-logout {on|off} |
Enables logging notifications on login-and-logout events. |
sensitive-config-changes {on|off} |
Enables logging notifications on sensitive-parameters-value-change events. |
software-update {on|off} |
Enables logging notifications on device-software-update events. |
unauthorized-access {on|off} |
Enables logging notifications on non-authorized-access events. |
Command Mode
Privileged User
Related Command
■ | activity-trap - enables an SNMP trap to report Web user activities |
■ | show activity-log – displays logged activities |
Example
This example enables reporting of login and logout attempts:
(config-troubleshoot)# activity-log (activity-log)# login-and-logout on