cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
336
Views
0
Helpful
11
Replies

how to clear ssh process

Noovi
Beginner
Beginner

Hi Guys,

i am getting issues to write confgurayion on cisco switch.

I am observing some ssh process logs as shwon below. Can we clear this ssh process from CLI?

Sw(config)#do sh proc cpu sor | i SSH
3 1483 808 1835 0.00% 0.00% 0.00% 1 SSH Process
417 16 3713 4 0.00% 0.00% 0.00% 0 SSH Event handle
420 874 1436 608 0.00% 0.00% 0.00% 2 SSH Process
421 143 171 836 0.00% 0.00% 0.00% 3 SSH Process
422 2047 1249 1638 0.00% 0.00% 0.00% 4 SSH Process
423 1554 636 2443 0.00% 0.00% 0.00% 5 SSH Process
425 3220 2152 1496 0.00% 0.07% 0.18% 6 SSH Process

 

Jul 7 06:44:32.367 GMT-3: %PARSER-6-WMLRETRY: Write memory lock currently held by pid '3', automatic retry. -Process= "SSH Process", ipl= 0, pid= 420
Jul 7 06:44:37.778 GMT-3: %PARSER-6-WMLRETRY: Write memory lock currently held by pid '3', automatic retry. -Process= "SSH Process", ipl= 0, pid= 423
Jul 7 06:44:45.198 GMT-3: %PARSER-6-WMLRETRY: Write memory lock currently held by pid '3', automatic retry. -Process= "SSH Process", ipl= 0, pid= 421

11 Replies 11

balaji.bandi
VIP Community Legend VIP Community Legend
VIP Community Legend

what device model is this, what IOS XE code running on this. (why i was asking this, see any bugs, so you can upgrade the code to fix and reboot)

 

just give hint, you may need to reboot device to fix this.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Device model is WS-C2960XR-48LPS-I with image c2960x-universalk9-mz.152-2.E7.bin

actually we tried reboot also but still issue is there

Leo Laohoo
VIP Community Legend VIP Community Legend
VIP Community Legend

Is there a DNAC appliance?

Not DNAC but we have Solar wind to tak periodic backups

Leo Laohoo
VIP Community Legend VIP Community Legend
VIP Community Legend

@Noovi wrote:

Not DNAC but we have Solar wind to tak periodic backups


Ok, humour me a bit.  

Do this to the switch: 

conf t
 login on-success log
end
wr

And then reboot the switch.  Once the switch boots up, look at the logs.  The above command will state in the logs WHO have logged in.  

balaji.bandi
VIP Community Legend VIP Community Legend
VIP Community Legend

Try clearing all the session any one logged in (kick them out and check is this ok ?) if not as suggeted reboot and monitor.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

strange thing is that in one of the switch we have done image upgrade as per latest code but still same issue

Jitendra Kumar
Rising star
Rising star

 

This command should work for you.

clear tcp local

clear tcp tcb 808E9EB4

clear tcp tcb *

 

Thanks,
Jitendra

Jitendra Kumar
Rising star
Rising star

Workaround: Use show tcp brief all command to view TCB that have local and foreign addresses as “*.*”. Clear those entries using the following command clear tcp tcb address of the TCB.

 

However when VRFs are configured, such TCB can be reused only for that VRF. If there are several VRFs configured in the box, one TCB per VRF will be leaked. And there is a limit of 20 such “wild TCBs” in the system. So, once we reach the limit of 20, because we leak one per each different VRF, any connection request coming in will be denied.

Thanks,
Jitendra

marce1000
VIP Mentor VIP Mentor
VIP Mentor

 

 - Use latest advisory release : https://software.cisco.com/download/home/284832160/type/280805680/release/15.2.7E6  , check if that can help.

 M.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: