how to clear ssh process
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2022 02:51 AM
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
- Labels:
-
LAN Switching
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2022 03:18 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2022 04:26 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2022 04:28 AM
Is there a DNAC appliance?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2022 04:32 AM
Not DNAC but we have Solar wind to tak periodic backups
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2022 04:59 AM
@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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2022 05:01 AM
Try clearing all the session any one logged in (kick them out and check is this ok ?) if not as suggeted reboot and monitor.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2022 05:29 AM
strange thing is that in one of the switch we have done image upgrade as per latest code but still same issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2022 01:06 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2022 03:46 AM
This command should work for you.
clear tcp local
clear tcp tcb 808E9EB4
clear tcp tcb *
Jitendra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2022 05:18 AM
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.
Jitendra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2022 06:53 AM
- Use latest advisory release : https://software.cisco.com/download/home/284832160/type/280805680/release/15.2.7E6 , check if that can help.
M.
-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '
