Syslog Flashcards
Event logging protocol
T/F: Syslog is a Cisco proprietary protocol for message logging
False
Syslog is an industry standard
What are the basic fields of a syslog message
sequence:time stamp: %facilility-severity-MNEMONIC: description
What is the sequence field of a syslog message for?
Indicated the order/sequence of the message
What is the facility field of a syslog message for?
Value that indicates which process on the device generated the message
What is the severity field of a syslog message for?
Indicating severity of the event. There are 8 severity levels.
What is the mnemonic field of a syslog message for?
A short code for the message, indicating what happened in brief
What is the description field of a syslog message for?
A more in depth description of the event being logged
T/F: The higher the severity level, the more severe the message is
False
Severity 0 is the worst, severity 7 is debugging
List the levels of syslog severity
0: Emergency (most severe)
1: Alert
2: Critical
3: Error
4: Warning
5: Notice (normal but significant), referred to as Notification in IOS
6: Informational
7: Debugging (least severe)
Where can syslog messages be sent to?
1) Console Line: Displayed to CLI when connected to a device the console port
2) VTY Lines: Displayed in the CLI when connected to the device via Telnet/SSH. Disabled by default
3) Buffer: Syslog messages saved to RAM. All messages saved. Look at via sh logging
4) External Server: Can configure a device to send syslog messages to external server
What is the protocol and port syslog servers listen for messages on
UDP 514
T/F: By default, if logging monitor level is enabled, syslog messaged will be displayed when connected via Telnet or SSH
False
Even if logging monitor is enabled, syslog messages will not be displayed when connected via telnet or SSH
For messages to be displayed, use: R1# terminal monitor
This must be done every time you connect via telnet or ssh
What is the command to prevent a syslog message from interrupting what you are trying to type
logging synchronous
What is the command to enable timestamps on syslog messages
service timestamps log datetime-or-uptime
datetime is usually preferred
What is the command to enable sequence numbers on syslog messages
service sequence-numbers