06-10-2008 08:19 AM - edited 03-05-2019 11:32 PM
I'm sure I'm missing something very basic, but I can't figure out how to get debugging messages to display to a monitor (i.e., ssh) session on a 3750. If I connect directly to the console I get the messages as expected. I've set the logging level for the monitor but no messages show up.
thanks
Output of show logging:
Console logging: level debugging, 431 messages logged, xml disabled,
filtering disabled
Monitor logging: level debugging, 0 messages logged, xml disabled,
filtering disabled
06-10-2008 08:29 AM
To display debug command output and system error messages for the current terminal and session, use the terminal monitor EXEC command.
terminal monitor
Syntax Description
This command has no arguments or keywords.
Defaults
Disabled
Command Modes
EXEC
Command History
Release
Modification
10.0
This command was introduced.
Usage Guidelines
Remember that all terminal parameter-setting commands are set locally and do not remain in effect after a session is ended.
Examples
In the following example the system is configured to display debug command output and error messages during the current terminal session:
Router# terminal monitor
http://www.cisco.com/en/US/docs/ios/12_2/configfun/command/reference/frf003.html#wp1019329
Hope that helps.
06-10-2008 09:23 AM
from vty you should use the command as told above.
#terminal monitor ---> to start logging
#terminal no monitor ----> to stop logging
The reason why you are getting the msg from console is bec the console logging is enabled.
to check you can log in to console and
config t
no logging console
This command will stop the logs on on the console login mode.
Let us know about this.
Regards,
Pravin
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