Question

Difficulty: EasySyslog Operations, Severity Levels, and Log Destination Configuration

A network administrator configures a Cisco IOS router with the command `logging trap 4` to send log messages to a remote syslog server. Which syslog severity levels will be forwarded to the server?

  1. Severity levels 0 through 4 (Emergency, Alert, Critical, Error, and Warning)Answer
  2. B
    Severity levels 4 through 7 (Warning, Notice, Informational, and Debugging)
  3. C
    Severity level 4 only (Warning)
  4. D
    Severity levels 5 through 7 (Notice, Informational, and Debugging)

Answer

Severity levels 0 through 4 (Emergency, Alert, Critical, Error, and Warning)
The command `logging trap 4` configures the router to forward syslog messages with a severity level equal to or lower in numerical value than 4. Because Cisco IOS assigns lower numerical values to higher severity events (0 = Emergency up to 7 = Debugging), level 4 (Warning) includes levels 0 (Emergency), 1 (Alert), 2 (Critical), 3 (Error), and 4 (Warning).

Step-by-Step Solution

1
Recall the Cisco IOS syslog numerical severity scale.
Levels range from 0 to 7: 0=Emergency, 1=Alert, 2=Critical, 3=Error, 4=Warning, 5=Notice, 6=Informational, 7=Debugging.
Numerical values inversely relate to criticality; lower numbers represent higher severity.
2
Analyze the operational behavior of the `logging trap <level>` command.
The router sends all syslog messages with a numerical severity level equal to or less than the specified value.
The command establishes an upper numerical boundary for trapped messages.
3
Apply threshold level 4 (Warning) to the scale.
Log messages assigned levels 0, 1, 2, 3, and 4 are forwarded to the syslog server.
These levels are all less than or equal to numerical level 4.

Key Concept

Syslog Operations, Severity Levels, and Log Destination Configuration
Estimated Time:45s
Rate this question