Hi every body!
My book says syslog messages are sent to console automatically. Any remote user(telnet/ssh) can view log messages by simply using the" terminal monitor" command.
My question is if i telnet into router and " terminal monitor" command is not configured,further more one of the interface goes down, will syslog messages appear on my ( telnet/ssh) computer( telnet client)?
My understanding is syslog messages generated as a result of " debug" commands will not be sent to telnet lines unless we configure " terminal monitor" command. other syslog messages resulted for example when the int goes down, are sent to telnet lines.
Any correction will be appreciated.
thanks a lot!
I think that is 0 up to specified level because lower number is more important/more impact
at least on cisco routers
Hope to help
No, it will cover severity 6 and up.
If you use Emergency (0), it will cover all of them 0 - 7.
That command is for controlling what messages are sent to the console in order to avoid a console being stuck due to overflow of messages (DoS).
The command you described before will do this for you.
As you stated, the default is 'all messages'.
5) It's written to memory, not a filesystem. To view log messages, type 'show log'.
this is something you can test in your home lab.
terminal monitor copies on the vty session (telnet or ssh) what is sent to the console.
As Toshi notes there are other commands that tell what type of messages to send to a syslog destination.
so if you use
logging console informational
and you have any debug for example of RIP you don't see lines from the debug
if you use
logging console debugging
you start to see on the same vty the debug messages
Notice that for the router sending all these syslog messages on the vty is an heavy task.
There are scenarios where to collect log messages on a syslog server we need to completely disable console logging otherwise the cpu is too high.
Hope to help
You need to add "terminal monitor" command to see logging messages when you login to the router via telnet. Otherwise you won't see anything. Not just debugging level,all of severity levels will be showed as well if you had "logging console debug" on.