Cisco Certified Network Associate (CCNA) Practice Exam

Disable ads (and more) with a membership for a one time $2.99 payment

Study for the Cisco Certified Network Associate (CCNA) exam with our comprehensive quiz featuring multiple-choice questions and detailed explanations. Prepare effectively and enhance your understanding of networking concepts!

Practice this question and more.


Which command will display Syslog messages in real-time on a Cisco device?

  1. #show logging

  2. #debug ip icmp

  3. #ip http secure-server

  4. #display logging

The correct answer is: #debug ip icmp

The command that displays Syslog messages in real-time on a Cisco device is not the one indicated. Instead, the correct command for viewing Syslog messages in real-time is the one that directly interacts with the logging feature. When using the command to show logging, it provides a snapshot of the log messages stored in the device's memory, but it does not actively stream them in real-time. The debugging command for ICMP specifically targets ICMP (Internet Control Message Protocol) traffic and is used for troubleshooting, rather than logging Syslog messages. Real-time viewing of Syslog messages can typically be achieved through logging features configured on the device, such as the "terminal monitor" command when in line configuration mode, or logging settings that direct logs to the console. The command to view logs live would usually encompass those features but is not among the options provided here. Utilizing the correct command enables network administrators to monitor events as they occur, which is essential for real-time event and incident management in a network environment.