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?
- logging trap warningsCevap
- Blogging trap notifications
- Clogging trap 3
- Dlogging 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
Anahtar Kavram
Syslog Severity Levels and Remote Host Trap Thresholds