Command Line Interface

4-40

4

Example

To show all lines, enter this command:

Event Logging Commands

Console#show line
Console Configuration:
Password Threshold: 3 times
Interactive Timeout: 600 sec
Login Timeout: Disabled
Silent Time: Disabled
Baudrate: auto
Databits: 8
Parity: None
Stopbits: 1
VTY Configuration:
Password Threshold: 3 times
Interactive Timeout: 600 sec
Login Timeout: 300 sec
console#

Table 4-13 Event Logging Commands

Command Function Mode Page
logging on Controls logging of error messages GC 4-41
logging history Limits syslog messages saved to switch memory based on
severity
GC 4-42
logging host Adds a syslog server host IP address that will receive logging
messages
GC 4-43
logging facility Sets the facility type for remote logging of syslog messages GC 4-43
logging trap Limits syslog messages saved to a remote server based on
severity
GC 4-44
clear log Clears messages from the logging buffer PE 4-44
show logging Displays the state of logging PE 4-45
show log Displays log messages PE 4-46