Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

disable SSH2 messages on Cisco switch

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

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 65

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

Cyber Threats to Small Businesses (Part 2)

The evolving cybersecurity landscape presents SMBs with a host of new threats to their clients, their data, and their bottom line. In part 2 of this blog series, learn three quick processes Webroot’s CISO, Gary Hayslip, recommends to help small businesses beat modern threats.

Question has a verified solution.

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

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
During and after that shift to cloud, one area that still poses a struggle for many organizations is what to do with their department file shares.
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 video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

927 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