Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Display debugging on monitor (ssh session)

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

2 REPLIES

Re: Display debugging on monitor (ssh session)

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.

Re: Display debugging on monitor (ssh session)

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

44386
Views
5
Helpful
2
Replies