01-31-2022 01:04 PM
Hello,
Is there anyone who knows about this issue?
I am using a console cable to connect to the 2960-L cisco switch and want to see the files in the memory.
When I typed and hit the dir command, the switch froze like below and it came back after 10 minutes.
Switch#dir
Directory of flash:/
516 drwx 2048 Jul 9 2024 01:24:24 +00:00 c2960l-universalk9-mz.152-6.E
707 drwx 2048 Jul 9 2024 01:24:24 +00:00 dc_profile_dir (freeze)
(after 10 minutes)
809 -rwx 1922 Jan 11 2022 13:11:02 +00:00 private-config.text
810 -rwx 2072 Jan 11 2022 13:11:02 +00:00 multiple-fs
261 -rwx 796 Nov 17 2021 19:56:09 +00:00 vlan.dat
2 drwx 2048 Mar 1 1993 00:00:02 +00:00 lost+found
I had tried several times but results were same.
Do you happen to know what is the reason for this?
Thank you
01-31-2022 01:16 PM - edited 01-31-2022 01:17 PM
Hi,
Maybe a CPU issue? Try "sh process cpu sort" and see the CPU utilization.
or
"sh process cpu sort | ex 0.00"
HTH
01-31-2022 01:19 PM
Thanks, I will check this but actually, this device is not connected anywhere and really basic configuration in it. but let me check the CPU loads after it is back.
01-31-2022 01:24 PM
Switch#show processes cpu sorted
CPU utilization for five seconds: 1%/0%; one minute: 1%; five minutes: 1%
CPU is okay.
01-31-2022 01:28 PM
ok, good to know that the CPU is working fine. Does "sh flash" also freezes the switch?
01-31-2022 01:44 PM
Yeah, It happens as well.
Interestingly, I just connected to the switch with one LAN cable to port number 1 and assigned ip address like 192.168.x.100 in port 1 on Switch and configured same subnet ip address l192.168.x.101 to see the CPU. Now I have 2 connections between my laptop and swtich (console / LAN port with IP)
I can telnet to switch and ping to switch with the ip address but once I hit the dir command on my console connection, switch kick the ip connection out and ping dropped.
I have never seen this before.
01-31-2022 01:46 PM
released many typo.
192.168.x.100 is assigned in port 1 on SW and 192.168.x.101 is assigned on the laptop to see the CPU load.
01-31-2022 02:46 PM
Hello,
check if there are hung tcp sessions:
show tcp brief
You can clear these sessions with the command:
clear tcp tcb
followed by the tcb session number.
01-31-2022 08:03 PM
I am away from the test lab now but I am pretty sure that there is no or little tcp connection.
because I tested after rebooting and there was no connection except between my laptop.
01-31-2022 01:53 PM
Could be a bug.
01-31-2022 08:03 PM
It could be. Do you think factory reset can solve this issue?
01-31-2022 11:40 PM
- Consider using the (latest) advisory software release (upgrade) for your device : https://software.cisco.com/download/home/281231709/type/280805680/release/12.2.55-SE12 , check if that can help.
M.
02-01-2022 06:23 PM
hi,
can you do a 'show flash' instead and observe if it also freezes?
what terminal emulator are you using for console? try other software, i.e. teraterm, secure CRT, etc.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide