Syslog Flashcards
What is Syslog level 0?
emergencies – System is unusable
What is Syslog level 1?
alerts – Immediate action needed
What is Syslog level 2?
critical – Critical conditions
What is Syslog level 3?
errors – Error conditions
What is Syslog level 4?
warnings – Warning conditions
What is Syslog level 5?
notifications – Normal but significant conditions
What is Syslog level 6?
informational – Informational messages
What is Syslog level 7?
debugging – Debug-level messages
What does ‘logging buffered 16384 debugging’ do?
Saves debug-level messages to an in-memory buffer of 16,384 bytes
What does ‘logging console warnings’ do?
Sends only warning-level or higher logs to the console
What does ‘logging monitor informational’ do?
Sends informational and higher messages to remote VTY sessions
What does ‘logging trap errors’ do?
Sets the severity level of syslog messages sent to remote syslog servers to errors and above
What is the purpose of ‘logging synchronous’?
Prevents log messages from interrupting command-line input
How do you disable console logging?
‘no logging console’
What is the default logging buffer size on Cisco IOS?
4096 bytes
What command shows current logging configuration and buffer?
‘show logging’
What command enables logging to a syslog server at 192.168.1.100?
‘logging host 192.168.1.100’
Which command ensures logging is globally enabled?
‘logging on’
What command changes the syslog facility to ‘local7’?
‘logging facility local7’
What command displays logging information stored in memory?
‘show logging’
What command can you use to troubleshoot OSPF events?
‘debug ip ospf events’
How can you view live logs from a remote SSH session?
‘terminal monitor’ must be enabled
How do you stop all active debug outputs?
‘undebug all’ or ‘no debug all’
How do you make the logs use local time instead of UTC?
service timestamps log datetime localtime