cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2059
Views
0
Helpful
12
Replies

Every time when I hit the 'dir' command, it is freeze.

CATYO
Level 1
Level 1

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

12 Replies 12

Reza Sharifi
Hall of Fame
Hall of Fame

Hi,

Maybe a CPU issue? Try "sh process cpu sort" and see the CPU utilization.

or

"sh process cpu sort | ex 0.00"

 

 

HTH

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.

Switch#show processes cpu sorted

CPU utilization for five seconds: 1%/0%; one minute: 1%; five minutes: 1%

 

CPU is okay. 

ok, good to know that the CPU is working fine. Does "sh flash" also freezes the switch?

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.  

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. 

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.

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. 

Leo Laohoo
Hall of Fame
Hall of Fame

Could be a bug.

It could be. Do you think factory reset can solve this issue?

 

marce1000
VIP
VIP

 

 - 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.



-- 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! '

johnlloyd_13
Level 9
Level 9

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.

Review Cisco Networking for a $25 gift card