cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1942
Views
5
Helpful
6
Replies

Catalyst 2950 24port - console help

David2011
Level 1
Level 1

Hello,

I have a Catalyst 2950 24port - seems to me is a new one(but probably is possible was configured), but I can't get a DHCP adress for the inicial config and the reset don't help me too .

The console works via Hyperterminal but I can't go to "enable" mode - I don't know the password . I was traing somethink like - shutdown switch and press CTRL+Break when the switch starts, but no effect . The inicial startup seems to me have several errors - is it OK ? I'm new in Cisco HW so no experience yet how to solve myself .


C2950 Boot Loader (C2950-HBOOT-M) Version 12.1(11r)EA1, RELEASE SOFTWARE (fc1)
Compiled Mon 22-Jul-02 17:18 by antonino
WS-C2950-24 starting...
Base ethernet MAC Address: 00:13:c4:0f:fa:c0
Xmodem file system is available.
Initializing Flash...
flashfs[0]: 18 files, 2 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 7741440
flashfs[0]: Bytes used: 4502016
flashfs[0]: Bytes available: 3239424
flashfs[0]: flashfs fsck took 8 seconds.
...done initializing flash.
Boot Sector Filesystem (bs:) installed, fsid: 3
Parameter Block Filesystem (pb:) installed, fsid: 4
Loading "flash:/c2950-i6q4l2-mz.121-12c.EA1.bin"...#############################
################################################################################
################################################################################
################################################################################
#################################

File "flash:/c2950-i6q4l2-mz.121-12c.EA1.bin" uncompressed and installed, entry
point: 0x80010000
executing...

              Restricted Rights Legend

Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.

           cisco Systems, Inc.
           170 West Tasman Drive
           San Jose, California 95134-1706



Cisco Internetwork Operating System Software
IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(12c)EA1, RELEASE SOFTWARE
(fc1)
Copyright (c) 1986-2002 by cisco Systems, Inc.
Compiled Sun 24-Nov-02 23:31 by antonino
Image text-base: 0x80010000, data-base: 0x80562000


Initializing flashfs...
flashfs[1]: 18 files, 2 directories
flashfs[1]: 0 orphaned files, 0 orphaned directories
flashfs[1]: Total bytes: 7741440
flashfs[1]: Bytes used: 4502016
flashfs[1]: Bytes available: 3239424
flashfs[1]: flashfs fsck took 8 seconds.
flashfs[1]: Initialization complete.
Done initializing flashfs.
POST: System Board Test : Passed
POST: Ethernet Controller Test : Passed
ASIC Initialization Passed

POST: FRONT-END LOOPBACK TEST : Passed
cisco WS-C2950-24 (RC32300) processor (revision R0) with 21002K bytes of memory.

Processor board ID FCZ0917W0CL
Last reset from system-reset
Running Standard Image
24 FastEthernet/IEEE 802.3 interface(s)

32K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address: 00:13:C4:0F:FA:C0
Motherboard assembly number: 73-5781-13
Power supply part number: 34-0965-01
Motherboard serial number: FOC09150LQ0
Power supply serial number: DAB09020YFN
Model revision number: R0
Motherboard revision number: A0
Model number: WS-C2950-24
System serial number: FCZ0917W0CL
interface GigabitEthernet0/1
           ^
% Invalid input detected at '^' marker.

description Link to Distribution Switch
   ^
% Invalid input detected at '^' marker.

switchport trunk encapsulation dot1q
  ^
% Invalid input detected at '^' marker.

switchport mode trunk
  ^
% Invalid input detected at '^' marker.

switchport trunk allowed vlan 1,8,1002-1005
  ^
% Invalid input detected at '^' marker.

no ip address
        ^
% Invalid input detected at '^' marker.

snmp trap link-status
      ^
% Invalid input detected at '^' marker.

no shutdown
% Incomplete command.

interface GigabitEthernet0/2
           ^
% Invalid input detected at '^' marker.

shutdown
% Incomplete command.



Press RETURN to get started!

d --
Cisco Internetwork Operating System Software
IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(12c)EA1, RELEASE SOFTWARE
(fc1)
Copyright (c) 1986-2002 by cisco Systems, Inc.
Compiled Sun 24-Nov-02 23:31 by antonino
00:00:26: Bootstrap Emulator called with code 45
00:00:26: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state t
o downGenesis QHSIA Access Switch
51266_GQ_AS1.6>

6 Replies 6

cadet alain
VIP Alumni
VIP Alumni

Hi,

Take a look here for password recovery: http://www.cisco.com/en/US/products/hw/switches/ps628/products_password_recovery09186a0080094184.shtml

Regards.

Alain.

Don't forget to rate helpful posts.

Peter Paluch
Cisco Employee
Cisco Employee

Hello David,

There seems to be some kind of  configuration that does not align very well with the current switch IOS.  Nevertheless, there is a way how to bypass the stored configuration  when booting the device.

Power off the switch, then  press and hold the MODE button on the front panel, and while holding it,  power the switch back on (some assistance by a second person may be  necessary here). Hold the MODE button pressed for several more seconds  (10-15) and observe the output on the console. When a bootloader message  stating that the boot process has been interrupted shows up, release  the button.

Next, use the console to type in these  commands (three of them will already be suggested on the screen as the  part of the displayed output):

flash_init

load_helper

rename flash:config.text flash:config.old

boot

The first command will initialize the flash filesystem.  The second command does not actually do nothing on 2950 platform but it  does not hurt to enter it. The third command will rename the  configuration file to a different name so that it won't be loaded when  the switch boots up, and the last command will make the switch restart  the booting process.

After these steps, your switch  should start with an empty configuration (the VLAN database will remain  intact, though - if you want to remove it as well you should delete it  using the command delete flash:vlan.dat once your IOS boots up  properly and you are able to access the privileged mode and then reload  once again without storing any configuration - this will put your device  in a completely erased and factory clean state).

Feel welcome to ask further! Also please check the following document:

http://www.cisco.com/en/US/products/hw/switches/ps628/products_password_recovery09186a0080094184.shtml

Best regards,

Peter

Ok, here what I get . What else no command for rename

switch: rename flash:config.text flash:config.old
rename: invalid argument

C2950 Boot Loader (C2950-HBOOT-M) Version 12.1(11r)EA1, RELEASE SOFTWARE (fc1)
Compiled Mon 22-Jul-02 17:18 by antonino
WS-C2950-24 starting...
Base ethernet MAC Address: 00:13:c4:0f:fa:c0
Xmodem file system is available.

The system has been interrupted prior to initializing the
flash filesystem.  The following commands will initialize
the flash filesystem, and finish loading the operating
system software:

    flash_init
    load_helper
    boot

switch:

David,

Please, first enter the flash_init and load_helper commands. Only then use the rename flash:config.text flash:config.old command.

Also please note that the bootloader does not recognize any special keys - arrow keys, TAB key, Home/End etc. If you happen to press one of those, the current command on the prompt will not be recognized (due to a control character associated with these keys which is invisible but remains recorded in the prompt buffer). You will have to press Enter at least once to get a clean prompt, then type your command again - without using any of these special keys.

Best regards,

Peter

Thank you for the answer. Now it's solved.

Hi David,

I am glad to hear that.

Best regards,

Peter

Review Cisco Networking products for a $25 gift card