Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

disable SSH2 messages on Cisco switch

Posted on 2015-01-27
5
Medium Priority
?
78 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 64

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 1000 total points
ID: 40575551
> no debug

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

Assisted Solution

by:btan
btan earned 1000 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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
Make the most of your online learning experience.
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

704 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