Soru

Zorluk: OrtaSyslog Operations, Severity Levels, and Log Destination Configuration

A network administrator needs to restrict syslog messages sent to an external syslog server. The requirements specify that the remote server must receive only events with a severity level of Warning (level 4) and more critical events (levels 0 through 3), while excluding Notification (level 5), Informational (level 6), and Debugging (level 7) messages. Which Cisco IOS global configuration command meets this requirement?

  1. logging trap warningsCevap
  2. B
    logging trap notifications
  3. C
    logging trap 3
  4. D
    logging buffered warnings

Cevap

The command 'logging trap warnings' (or 'logging trap 4') limits forwarded syslog messages to severity level 4 (Warning) and higher criticality levels (0 through 3).
The correct command is 'logging trap warnings'. In Cisco IOS, the 'logging trap <level>' command sets the maximum numerical severity level forwarded to remote syslog collectors. Specifying 'warnings' (or level 4) captures Emergency (0), Alert (1), Critical (2), Error (3), and Warning (4) messages while ignoring less severe messages (levels 5–7).

Adım Adım Çözüm

1
Identify the target syslog logging destination
The target destination is a remote syslog server, which is controlled by the 'logging trap' command syntax in Cisco IOS.
The 'logging trap' command defines severity level thresholds specifically for messages sent to remote syslog hosts, whereas 'logging buffered' controls RAM logging.
2
Map the requested severity keyword/numerical level
Warning corresponds to syslog severity level 4.
Cisco IOS syslog severity levels run from 0 (Emergency) to 7 (Debugging). Severity level 4 is named 'warnings'.
3
Apply the Cisco IOS severity threshold rule
Configuring level 4 forwards levels 0, 1, 2, 3, and 4 to the remote host while dropping levels 5, 6, and 7.
In Cisco IOS logging, configuring a trap level includes messages equal to or lower in numeric value (more severe) than the configured threshold.

Anahtar Kavram

Syslog Severity Levels and Remote Host Trap Thresholds
Bu soruyu puanla