20
Syslog Commands
Example
The following example clears messages from the logging file.
switchxxxxxx#
clear logging file
Clear Logging File [y/n]
20.8
aaa logging
Use the aaa logging Global Configuration mode command to enable logging of
the logins of authenticated users.
Use the no form of this command to disable logging of authenticated users.
Syntax
{login}
aaa logging
{login}
no aaa logging
Parameters
login—Enables logging messages related to successful AAA login events,
unsuccessful AAA login events and other AAA login-related events.
Default Configuration
Enabled.
Command Mode
Global Configuration mode
User Guidelines
This command enables logging messages related to successful login events,
unsuccessful login events and other login-related events. Other types of
authenticated user events are not subject to this command.
Example
The following example enables logging of authenticated users.
switchxxxxxx(config)#
aaa logging login
294
78-21075-01 Command Line Interface Reference Guide