Display debugging on monitor (ssh session)

Unanswered Question
Jun 10th, 2008
User Badges:

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


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Collin Clark Tue, 06/10/2008 - 08:29
User Badges:
  • Purple, 4500 points or more

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.

Pravin Phadte Tue, 06/10/2008 - 09:23
User Badges:
  • Silver, 250 points or more

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

Actions

This Discussion