A network engineer applies the following logging configuration to a Cisco IOS router:
text
logging buffered 8192 notifications
logging trap 4
logging host 172.16.10.50
Shortly after applying this configuration, the router experiences several events and generates the following syslog messages:
1. `%SYS-5-CONFIG_I: Configured from console by admin on vty0 (192.168.1.10)`
2. `%LINK-3-UPDOWN: Interface GigabitEthernet0/1, changed state to down`
3. `%SYS-6-LOGGINGHOST_STARTSTOP: Logging to host 172.16.10.50 started`
4. `%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to down`
Which syslog message will be successfully transmitted to the remote syslog server at 172.16.10.50?
- Only the %LINK-3-UPDOWN messageAnswer
- BOnly the %SYS-5-CONFIG_I, %SYS-6-LOGGINGHOST_STARTSTOP, and %LINEPROTO-5-UPDOWN messages
- CAll four syslog messages
- DNone of the messages, because severity level 4 excludes errors
Answer
Only the %LINK-3-UPDOWN message will be transmitted to the syslog server.
The option specifying that only the link state message (%LINK-3-UPDOWN) will be sent is correct. Cisco IOS syslog trap logging forwards messages whose numeric severity level is less than or equal to the configured trap level. With 'logging trap 4' configured, messages with severity levels 0, 1, 2, 3, and 4 are forwarded. %LINK-3-UPDOWN has a severity code of 3 (Error), which is within this threshold.
Step-by-Step Solution
Key Concept
Cisco IOS Syslog Severity Levels and Trap Destinations
Estimated Time:2m 0s