Enabling Real-Time Display of Syslog Messages

You can enable real-time display of syslog messages from global configuration mode or from a Telnet or SSH session.
  1. Enter global configuration mode.
    device(config)# configure terminal
  2. Enable real-time display of syslog messages.
    • Enable real-time display of syslog messages in the management console.
      device(config)# logging console
    • Enable real-time display of syslog messages in a Telnet or an SSH session from privileged EXEC mode.
      telnet@device# terminal monitor
      Syslog trace was turned ON
      You must be in a Telnet or SSH session before using the terminal monitor command.

      When the logging console is not enabled on the device and you enter the terminal monitor command in a Telnet or SSH session, the console displays the following error message. You must enable the logging console first and then configure the terminal monitor.

      telnet@device# terminal monitor 
      Logging console disabled
      telnet@device# configure terminal
      telnet@device(config)# logging console
      telnet@device(config)# end
      telnet@device# terminal monitor
      Syslog trace was turned ON
      

The following example shows how to enable real-time display of syslog messages in the management console.

device(config)# configure terminal
device(config)# logging console

The following example shows how to enable real-time display of syslog messages in a Telnet or SSH session from privileged EXEC mode.

device(config)# configure terminal
telnet@device# terminal monitor