Syslog Flashcards

Event logging protocol

1
Q

T/F: Syslog is a Cisco proprietary protocol for message logging

A

False

Syslog is an industry standard

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the basic fields of a syslog message

A

sequence:time stamp: %facilility-severity-MNEMONIC: description

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the sequence field of a syslog message for?

A

Indicated the order/sequence of the message

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the facility field of a syslog message for?

A

Value that indicates which process on the device generated the message

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the severity field of a syslog message for?

A

Indicating severity of the event. There are 8 severity levels.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the mnemonic field of a syslog message for?

A

A short code for the message, indicating what happened in brief

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the description field of a syslog message for?

A

A more in depth description of the event being logged

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

T/F: The higher the severity level, the more severe the message is

A

False

Severity 0 is the worst, severity 7 is debugging

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

List the levels of syslog severity

A

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)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Where can syslog messages be sent to?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the protocol and port syslog servers listen for messages on

A

UDP 514

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

T/F: By default, if logging monitor level is enabled, syslog messaged will be displayed when connected via Telnet or SSH

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the command to prevent a syslog message from interrupting what you are trying to type

A

logging synchronous

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the command to enable timestamps on syslog messages

A

service timestamps log datetime-or-uptime

datetime is usually preferred

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the command to enable sequence numbers on syslog messages

A

service sequence-numbers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

T/F: Syslog is a good replacement for SNMP, you don’t need to have both

A

False

Both are used for monitoring and troubleshooting, but they are complementary with different functionalities. Both should be used together to facilitate a network

17
Q

List the Syslog severity levels in order, along with their keyword equivalent

A

0 - Emergencies
1 - Alerts
2 - Critical
3 - Errors
4 - Warnings
5 - Notifications
6 - Informational
7 - Debugging