Soru

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

A network operations team requires a Cisco IOS router to send only high-criticality log messages—specifically Emergency (severity 0), Alert (severity 1), and Critical (severity 2)—to a central syslog server at IP address 10.1.1.50. Simultaneously, the router must retain all messages up to the Informational level (severity 6) in local system RAM. Which set of commands correctly achieves this configuration?

  1. logging host 10.1.1.50
    logging trap 2
    logging buffered 6
    Cevap
  2. B
    logging host 10.1.1.50
    logging trap 6
    logging buffered 2
  3. C
    logging server 10.1.1.50
    logging monitor 2
    logging buffered 6
  4. D
    logging host 10.1.1.50
    logging trap 2
    terminal monitor 6

Cevap

The configuration using 'logging host 10.1.1.50', 'logging trap 2', and 'logging buffered 6' correctly configures the destination IP, syslog trap threshold, and local RAM buffer logging levels.
The correct command combination specifies 'logging host 10.1.1.50' to define the remote syslog server, 'logging trap 2' to forward events at or above Critical severity (levels 0, 1, and 2), and 'logging buffered 6' to store messages up to Informational severity (levels 0 through 6) in the local memory buffer.

Adım Adım Çözüm

1
Identify the remote syslog server configuration command
The command 'logging host 10.1.1.50' designates 10.1.1.50 as the destination IP address for syslog messages.
Cisco IOS uses 'logging host' (or 'logging') to forward log messages to remote servers.
2
Determine the syslog trap threshold for remote forwarding
Emergency (0), Alert (1), and Critical (2) correspond to severity levels 0–2. Setting 'logging trap 2' includes severity level 2 and all lower numerical values (0, 1, 2).
Syslog logging trap thresholds include the specified level and all more severe (lower numeric) levels.
3
Determine the internal buffer logging threshold
Informational level corresponds to severity 6. Setting 'logging buffered 6' captures all messages from level 0 through level 6 in RAM.
Local RAM logging is configured via 'logging buffered <level-or-name>'.

Anahtar Kavram

Cisco IOS Syslog severity level thresholds and destination commands (logging host, logging trap, logging buffered).
Bu soruyu puanla