Solved

disable SSH2 messages on Cisco switch

Posted on 2015-01-27
5
43 Views
Last Modified: 2016-10-14
How to you disable constant logging messages for SSH2 on a Cisco 6500 switch -- these messages are filling up our logs fast.
Jan 27 16:59:23.317 PST: SSH2 0: ssh_receive: 52 bytes received
Jan 27 16:59:23.317 PST: SSH2 0: input: packet len 32
Jan 27 16:59:23.317 PST: SSH2 0: partial packet 16, need 16, maclen 20
Jan 27 16:59:23.317 PST: SSH2 0: MAC #1417 ok
Jan 27 16:59:23.317 PST: SSH2 0: input: padlen 17
Jan 27 16:59:23.317 PST: SSH2 0: received packet type 94
Jan 27 16:59:23.317 PST: SSH2 0: send: len 32 (includes padlen 17)
Jan 27 16:59:23.317 PST: SSH2 0: done calc MAC out #1849
Jan 27 16:59:23.373 PST: SSH2 0: ssh_receive: 52 bytes received
Jan 27 16:59:23.373 PST: SSH2 0: input: packet len 32
Jan 27 16:59:23.373 PST: SSH2 0: partial packet 16, need 16, maclen 20
Jan 27 16:59:23.377 PST: SSH2 0: MAC #1418 ok
Jan 27 16:59:23.377 PST: SSH2 0: input: padlen 17
Jan 27 16:59:23.377 PST: SSH2 0: received packet type 94
Jan 27 16:59:23.377 PST: SSH2 0: send: len 32 (includes padlen 17)
Jan 27 16:59:23.377 PST: SSH2 0: done calc MAC out #1850
Jan 27 16:59:23.453 PST: SSH2 0: ssh_receive: 52 bytes received
Jan 27 16:59:23.453 PST: SSH2 0: input: packet len 32
Jan 27 16:59:23.453 PST: SSH2 0: partial packet 16, need 16, maclen 20
Jan 27 16:59:23.453 PST: SSH2 0: MAC #1419 ok
Jan 27 16:59:23.453 PST: SSH2 0: input: padlen 17
Jan 27 16:59:23.453 PST: SSH2 0: received packet type 94
Jan 27 16:59:23.453 PST: SSH2 0: send: len 32 (includes padlen 17)
Jan 27 16:59:23.453 PST: SSH2 0: done calc MAC out #1851
Jan 27 16:59:23.589 PST: SSH2 0: ssh_receive: 52 bytes received
Jan 27 16:59:23.589 PST: SSH2 0: input: packet len 32
Jan 27 16:59:23.589 PST: SSH2 0: partial packet 16, need 16, maclen 20
Jan 27 16:59:23.589 PST: SSH2 0: MAC #1420 ok
Jan 27 16:59:23.589 PST: SSH2 0: input: padlen 17
Jan 27 16:59:23.589 PST: SSH2 0: received packet type 94
Jan 27 16:59:23.589 PST: SSH2 0: send: len 32 (includes padlen 17)
Jan 27 16:59:23.593 PST: SSH2 0: done calc MAC out #1852
Jan 27 16:59:23.709 PST: SSH2 0: ssh_receive: 52 bytes received
Jan 27 16:59:23.709 PST: SSH2 0: input: packet len 32
Jan 27 16:59:23.709 PST: SSH2 0: partial packet 16, need 16, maclen 20
Jan 27 16:59:23.709 PST: SSH2 0: MAC #1421 ok
Jan 27 16:59:23.709 PST: SSH2 0: input: padlen 17
Jan 27 16:59:23.709 PST: SSH2 0: received packet type 94
Jan 27 16:59:23.709 PST: SSH2 0: send: len 32 (includes padlen 17)
Jan 27 16:59:23.709 PST: SSH2 0: done calc MAC out #1853
0
Comment
Question by:sbarstow
  • 2
  • 2
5 Comments
 
LVL 62

Expert Comment

by:gheist
ID: 40575225
reduce logging level. debug is for short use only
0
 
LVL 63

Expert Comment

by:btan
ID: 40575260
I was wondering if it s due to traces or debug enabled... from forum it stated
To turn on debugs, issue the set trace ssh 4 command.
To turn off debugs, issue the set trace ssh 0 command.

debug ip ssh
no debug ip ssh
0
 
LVL 62

Accepted Solution

by:
gheist earned 250 total points
ID: 40575551
> no debug

You dont need that unless cisco support asks you.
0
 
LVL 63

Assisted Solution

by:btan
btan earned 250 total points
ID: 40576496
Typically most use the debug commands only to troubleshoot specific problems or during troubleshooting sessions with Cisco technical support staff. If at any time you enabled a debugging that floods your screen with a great amount of messages the quickest way to turn it off is to run the undebug all or for short the un all command. Then use the show debug command to verify that you have stopped the debug.

Separately to share the commands no logging console and terminal no monitor are used only to prevent debug output from being displayed on the console, aux or vty ports respectively. But remember, these commands do not stop the debugging process.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Windows 10 - Devices and Printers slow loading 29 158
google exe file 5 68
USB management software on a network of computers 4 32
software inventory tools 3 40
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question