Solved

disable SSH2 messages on Cisco switch

Posted on 2015-01-27
5
44 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

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

For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

749 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