{"id":318,"date":"2015-02-22T22:42:11","date_gmt":"2015-02-22T22:42:11","guid":{"rendered":"https:\/\/learncisco.net\/index.php\/syslog-overview-and-configuration-on-cisco-devices\/"},"modified":"2023-01-12T12:32:04","modified_gmt":"2023-01-12T05:32:04","slug":"syslog-overview-and-configuration-on-cisco-devices","status":"publish","type":"page","link":"https:\/\/www.learncisco.net\/courses\/icnd-2\/network-management\/syslog-overview-and-configuration-on-cisco-devices.html","title":{"rendered":"Syslog Overview and Configuration on Cisco Devices"},"content":{"rendered":"

Have you ever been rudely interrupted by a router or your switch? Just like that, you’re typing away, you’re minding your own business, and all of a sudden, poof, there is a message, and then another one. You continue typing, another one, what are those? These are known as syslog messages, and they’re messages that our routers and our switches generate to notify us about something that has occurred. And it could be a wide range of things that have occurred from anything related to an emergency to something that’s just a simple notification. Now that syslog message that we see, it’s appearing to us how? Well if we’re consoled in, it’s appearing to us on our console line. If we’ve Telnetted in or SSHed in, then it’s appearing on our terminal lines. But wait a second, I have a question for you. If I Telnet or SSH into a device, will I see syslog messages by default?<\/p>\n

No and that’s pretty confusing and you won’t even see debugs, okay, you won’t even see debug messages. You turn on a debug, you know it should be spitting out some output, no. And it’s because we have to use the terminal monitor<\/strong> command to enable that. And the reason why is, they didn’t want to inundate vty sessions with very chatty debugs and locking, and basically, bump someone off of a usable session because there’s so much information going that way. Basically you can configure the syslog messages to be forwarded to various destinations:<\/p>\n