CLI Reference Guide-R02

Table Of Contents
Chapter 4
| System Management Commands
Event Logging
– 144 –
Command Mode
Global Configuration
Command Usage
Use this command more than once to build up a list of host IP addresses.
The maximum number of host IP addresses allowed is five.
Example
Console(config)#logging host 10.1.0.3
Console(config)#
logging level This command sets the syslog logging severity level for user login and log out. Use
the no form to set the logging level to the default value.
Syntax
logging level {user-login level | user-logout level}
no logging level {user-login | user-logout}
user-login - Specifies the level to log when a user logs in.
user-logout - Specifies the level to log when a user logs out.
level - The syslog severity level to log (Range: 1-7)
Default Setting
6
Command Mode
Global Configuration
Command Usage
Logging severity levels are described in Table 21.
Example
Console(config)#logging level user-login 5
Console(config)#
logging on This command controls logging of error messages, sending debug or error
messages to a logging process. The no form disables the logging process.
Syntax
[no] logging on