06-24-2019 02:31 PM
Hi guys. Everytime i telnet into one of my cisco devices i have to issue the terminal monitor command in order to see any logging messages. Is there a way to set this command by default on every vty lines?
Thanks!
06-24-2019 03:10 PM
I am not aware of a way to by default enable terminal monitor for every vty session.
HTH
Rick
06-24-2019 06:21 PM
Use the command "logging monitor <level>". For example:
logging monitor informational
I would not personally do this though. If you device is very busy logging stuff if makes what you are doing almost unreadable as log messages will be inter-mixed.
Some Cisco platforms support the "logging synchronous" command which causes the output to pause when you are typing something in (if you really really want to enable logging to telnet sessions).
06-25-2019 01:03 AM
- This is for verbose logging , but will still not enable logging for a particular vty line.
M.
06-26-2019 07:15 AM
So, there is no way then? I have to do the terminal monitor command every time i loggin?
thanks
06-26-2019 09:39 AM
- Actually , Philip's advise may be correct , using logging monitor informational ,in the configuration, my bad I confused it with logging trap informational which only increases the verbosity of syslog messages. That being said the reason for the native behavior is that IOS expects that by default the terminal session will be used for managerial and configuration purposes. The console output, if desired , must be manually activated (indeed).
M.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide