Anda di halaman 1dari 5

1/3/2014

Cisco Catalyst Fixed Configuration Layer 2 and Layer 3 Switches - Cisco

Cisco Catalyst 2950 Series Switches

Cisco Catalyst Fixed Configuration Layer 2 and Layer 3 Switches


HOME SUPPORT PRODUCT SUPPORT END-OF-SALE AND END-OF-LIFE PRODUCTS CISCO CATALYST 2950 SERIES SWITCHES TROUBLESHOOT AND ALERTS PASSWORD RECOVERY Cisco Catalyst Fixed Configuration Layer 2 and Layer 3 Switches Introduction Before You Begin Conventions Prerequisites Step-by-Step Procedure Related Information Related Cisco Support Community Discussions

Contents

Introduction
This document describes the password recovery procedure for the Cisco Catalyst Layer 2 fixed configuration switches 2900XL/3500XL, 2940, 2950/2955, 2960, and 2970 Series, as well as the Cisco Catalyst Layer 3 fixed configuration switches 3550, 3560, and 3750 Series.

Before You Begin


Conventions
For more information on document conventions, see the Cisco Technical Tips Conventions.

Prerequisites
There are no specific prerequisites for this document.

Step-by-Step Procedure
Follow the password recovery procedure below. 1. Attach a terminal or PC with terminal emulation (for example, Hyper Terminal) to the console port of the switch. Use the following terminal settings: Bits per second (baud): 9600 Data bits: 8 Parity: None Stop bits: 1 Flow Control: Xon/Xoff Note: For additional information on cabling and connecting a terminal to the console port, refer to Connecting a Terminal to the Console Port on Catalyst Switches. 2. Unplug the power cable. 3. Power the switch and bring it to the s w i t c h :prompt: For 2900XL, 3500XL, 2940, 2950, 2960, 2970, 3550, 3560, and 3750 series switches, do this: Hold down the mode button located on the left side of the front panel, while you reconnect the power cable to the switch. Catalyst Switch LED Behavior and Mode Button Release Action Series 2900XL, 3500XL, 3550 2940, 2950 2960, 2970 Release the Mode button when the LED above Port1x goes out. Release the Mode button after approximately 5 seconds when the Status (STAT) LED goes out. When you release the Mode button, the SYST LED blinks amber. Release the Mode button when the SYST LED blinks amber and then turns solid green. When you release the

http://www.cisco.com/c/en/us/support/docs/switches/catalyst-2950-series-switches/12040-pswdrec-2900xl.html

1/5

1/3/2014

Cisco Catalyst Fixed Configuration Layer 2 and Layer 3 Switches - Cisco


2970 3560, 3750 amber and then turns solid green. When you release the Mode button, the SYST LED blinks green. Release the Mode button after approximately 15 seconds when the SYST LED turns solid green. When you release the Mode button, the SYST LED blinks green.

Note: LED position may vary slightly depending on the model. Catalyst 3524XL

Catalyst 2950-24

For 2955 series switches only: The Catalyst 2955 series switches do not use an external mode button for password recovery. Instead the switch boot loader uses the break-key detection to stop the automatic boot sequence for the password recovery purposes. The break sequence is determined by the terminal application and operating system used. Hyperterm running on Windows 2000 uses Ctrl + Break. On a workstation running UNIX, Ctrl-C is the break key. For more information, refer to Standard Break Key Sequence Combinations During Password Recovery. The example below uses Hyperterm to break into switch: mode on a 2955.
C 2 9 5 5B o o tL o a d e r( C 2 9 5 5 H B O O T M )V e r s i o n1 2 . 1 ( 0 . 0 . 5 1 4 ) ,C I S C OD E V E L O P M E N TT E S T V E R S I O N C o m p i l e dF r i1 3 D e c 0 21 7 : 3 8b ym a d i s o n W S C 2 9 5 5 T 1 2s t a r t i n g . . . B a s ee t h e r n e tM A CA d d r e s s :0 0 : 0 b : b e : b 6 : e e : 0 0 X m o d e mf i l es y s t e mi sa v a i l a b l e . I n i t i a l i z i n gF l a s h . . . f l a s h f s [ 0 ] :1 9f i l e s ,2d i r e c t o r i e s f l a s h f s [ 0 ] :0o r p h a n e df i l e s ,0o r p h a n e dd i r e c t o r i e s f l a s h f s [ 0 ] :T o t a lb y t e s :7 7 4 1 4 4 0 f l a s h f s [ 0 ] :B y t e su s e d :4 5 1 0 7 2 0 f l a s h f s [ 0 ] :B y t e sa v a i l a b l e :3 2 3 0 7 2 0 f l a s h f s [ 0 ] :f l a s h f sf s c kt o o k7s e c o n d s . . . . d o n ei n i t i a l i z i n gf l a s h . B o o tS e c t o rF i l e s y s t e m( b s : )i n s t a l l e d ,f s i d :3 P a r a m e t e rB l o c kF i l e s y s t e m( p b : )i n s t a l l e d ,f s i d :4 * * *T h es y s t e mw i l la u t o b o o ti n1 5s e c o n d s* * * S e n db r e a kc h a r a c t e rt op r e v e n ta u t o b o o t i n g .

! -W a i tu n t i ly o us e et h i sm e s s a g eb e f o r e ! -y o ui s s u et h eb r e a ks e q u e n c e . ! -C t r l + B r e a ki se n t e r e du s i n gH y p e r t e r m .

T h es y s t e mh a sb e e ni n t e r r u p t e dp r i o rt oi n i t i a l i z i n gt h ef l a s hf i l es y s t e mt of i n i s h l o a d i n gt h eo p e r a t i n gs y s t e ms o f t w a r e :

http://www.cisco.com/c/en/us/support/docs/switches/catalyst-2950-series-switches/12040-pswdrec-2900xl.html

2/5

1/3/2014

Cisco Catalyst Fixed Configuration Layer 2 and Layer 3 Switches - Cisco


l o a d i n gt h eo p e r a t i n gs y s t e ms o f t w a r e : f l a s h _ i n i t l o a d _ h e l p e r b o o t s w i t c h :

4. Issue the flash_init command.


s w i t c h :f l a s h _ i n i t I n i t i a l i z i n gF l a s h . . . f l a s h f s [ 0 ] :1 4 3f i l e s ,4d i r e c t o r i e s f l a s h f s [ 0 ] :0o r p h a n e df i l e s ,0o r p h a n e dd i r e c t o r i e s f l a s h f s [ 0 ] :T o t a lb y t e s :3 6 1 2 6 7 2 f l a s h f s [ 0 ] :B y t e su s e d :2 7 2 9 4 7 2 f l a s h f s [ 0 ] :B y t e sa v a i l a b l e :8 8 3 2 0 0 f l a s h f s [ 0 ] :f l a s h f sf s c kt o o k8 6s e c o n d s . . . . d o n eI n i t i a l i z i n gF l a s h . B o o tS e c t o rF i l e s y s t e m( b s : )i n s t a l l e d ,f s i d :3 P a r a m e t e rB l o c kF i l e s y s t e m( p b : )i n s t a l l e d ,f s i d :4 s w i t c h : ! -T h i so u t p u ti sf r o ma2 9 0 0 X Ls w i t c h .O u t p u tf r o m ! -o t h e rs w i t c h e sw i l lv a r ys l i g h t l y .

5. Issue the load_helper command.


s w i t c h :l o a d _ h e l p e r s w i t c h :

6. Issue the dir flash: command. Note: Make sure to type a colon ":" after the dir flash. The switch file system is displayed:
s w i t c h :d i rf l a s h : D i r e c t o r yo ff l a s h : / 2 r w x 1 8 0 3 3 5 7 < d a t e >

c 3 5 0 0 x l c 3 h 2 s m z . 1 2 0 5 . W C 7 . b i n

! -T h i si st h ec u r r e n tv e r s i o no fs o f t w a r e . 4 r w x 1 1 3 1 < d a t e > c o n f i g . t e x t

! -T h i si st h ec o n f i g u r a t i o nf i l e . 5 r w x 1 0 9 < d a t e > i n f o 6 r w x 3 8 9 < d a t e > e n v _ v a r s 7 d r w x 6 4 0 < d a t e > h t m l 1 8 r w x 1 0 9 < d a t e > i n f o . v e r 4 0 3 9 6 8b y t e sa v a i l a b l e( 3 2 0 8 7 0 4b y t e su s e d ) s w i t c h : ! -T h i so u t p u ti sf r o ma3 5 0 0 X Ls w i t c h .O u t p u tf r o m ! -o t h e rs w i t c h e sw i l lv a r ys l i g h t l y .

7. Type rename flash:config.text flash:config.old to rename the configuration file.


s w i t c h :r e n a m ef l a s h : c o n f i g . t e x tf l a s h : c o n f i g . o l d s w i t c h : ! -T h ec o n f i g . t e x tf i l ec o n t a i n st h ep a s s w o r d ! -d e f i n i t i o n .

8. Issue the boot command to boot the system.


s w i t c h :b o o t L o a d i n g" f l a s h : c 3 5 0 0 x l c 3 h 2 s m z . 1 2 0 5 . W C 7 . b i n " . . . # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # F i l e" f l a s h : c 3 5 0 0 x l c 3 h 2 s m z . 1 2 0 5 . W C 7 . b i n "u n c o m p r e s s e da n di n s t a l l e d ,e n t r yp o i n t :0 x 3 0 0 0 e x e c u t i n g . . . ! -O u t p u ts u p p r e s s e d . ! -T h i so u t p u ti sf r o ma3 5 0 0 X Ls w i t c h .O u t p u tf r o mo t h e rs w i t c h e s ! -w i l lv a r ys l i g h t l y .

9. Enter "n" at the prompt to abort the initial configuration dialog.


-S y s t e mC o n f i g u r a t i o nD i a l o gA ta n yp o i n ty o um a ye n t e raq u e s t i o nm a r k' ? 'f o rh e l p . U s ec t r l ct oa b o r tc o n f i g u r a t i o nd i a l o ga ta n yp r o m p t . D e f a u l ts e t t i n g sa r ei ns q u a r eb r a c k e t s' [ ] ' . C o n t i n u ew i t hc o n f i g u r a t i o nd i a l o g ?[ y e s / n o ] :n ! -T y p e" n "f o rn o .

http://www.cisco.com/c/en/us/support/docs/switches/catalyst-2950-series-switches/12040-pswdrec-2900xl.html

3/5

1/3/2014

Cisco Catalyst Fixed Configuration Layer 2 and Layer 3 Switches - Cisco


P r e s sR E T U R Nt og e ts t a r t e d . ! -P r e s sR e t u r no rE n t e r . S w i t c h > ! -T h eS w i t c h >p r o m p ti sd i s p l a y e d .

10. At the switch prompt, type en to enter enable mode.


S w i t c h > e n S w i t c h #

11. Type rename flash:config.old flash:config.text to rename the configuration file with its original name.
S w i t c h # r e n a m ef l a s h : c o n f i g . o l df l a s h : c o n f i g . t e x t D e s t i n a t i o nf i l e n a m e[ c o n f i g . t e x t ] ! -P r e s sR e t u r no rE n t e r . S w i t c h #

12. Copy the configuration file into memory.


S w i t c h # c o p yf l a s h : c o n f i g . t e x ts y s t e m : r u n n i n g c o n f i g D e s t i n a t i o nf i l e n a m e[ r u n n i n g c o n f i g ] ? ! -P r e s sR e t u r no rE n t e r . 1 1 3 1b y t e sc o p i e di n0 . 7 6 0s e c s S w 1 #

The configuration file is now reloaded. 13. Overwrite the current passwords that you do not know. Choose a strong password with at least one capital letter, one number, and one special character. Note: Overwrite the passwords which are necessary. You need not overwrite all of the mentioned passwords.
S w 1 #c o n ft

! -T oo v e r w r i t ee x i s t i n gs e c r e tp a s s w o r d S w 1 ( c o n f i g ) # e n a b l es e c r e t< n e w _ s e c r e t _ p a s s w o r d >

! -T oo v e r w r i t ee x i s t i n ge n a b l ep a s s w o r d S w 1 ( c o n f i g ) # e n a b l ep a s s w o r d< n e w _ e n a b l e _ p a s s w o r d >

! -T oo v e r w r i t ee x i s t i n gv t yp a s s w o r d S w 1 ( c o n f i g ) # l i n ev t y01 5 S w 1 ( c o n f i g l i n e ) # p a s s w o r d< n e w _ v t y _ p a s s w o r d > S w 1 ( c o n f i g l i n e ) # l o g i n

! -T oo v e r w r i t ee x i s t i n gc o n s o l ep a s s w o r d S w 1 ( c o n f i g l i n e ) # l i n ec o n0 S w 1 ( c o n f i g l i n e ) # p a s s w o r d< n e w _ c o n s o l e _ p a s s w o r d >

14. Write the running configuration to the configuration file with the write memory command.
S w 1 # w r i t em e m o r y B u i l d i n gc o n f i g u r a t i o n . . . [ O K ] S w 1 #

Related Information
Password Recovery Procedures Switches Product Support LAN Switching Technology Support Technical Support & Documentation - Cisco Systems

Was this document helpful?

Yes

No

http://www.cisco.com/c/en/us/support/docs/switches/catalyst-2950-series-switches/12040-pswdrec-2900xl.html

4/5

1/3/2014

Cisco Catalyst Fixed Configuration Layer 2 and Layer 3 Switches - Cisco


Open a Support Case
(Requires a Cisco Service Contract.)

Related Cisco Support Community Discussions

Re: CISCO 7600 SERIES ROUTERS


Cisco Catalyst Express 500 Series Sw itches Cisco Catalyst 6500 Series Sw itches Cisco Catalyst 4900 Series Sw itches Cisco Catalyst 4500 Series Sw itches Cisco ... in Product Review s by sharma_sunil 7 years and 11 months ago Last Reply 4 years and 11 months ago

Re: Vlan?
We w ill be starting fresh w ith Cisco Catalyst 3750 Series sw itches in 8 of the buildings the 9th already has Catalyst 2950 Series sw itches w ith no Vlans set ... in Getting Started w ith LANs by albolabris 8 years and 2 months ago Last Reply 8 years and 2 months ago

Re: Switch problem


Model Cisco Catalyst 2950 Series Sw itches! all the hosts can't communicated to each other! in Other Netw ork Infrastructure Subjects by sophaunsim 6 years and 3 months ago Last Reply 6 years and 3 months ago

SmartNet Contract Understanding


My understanding is that customers are entitled to softw are updates w ithin their license feature set, as long as they are the original license holder of the ... in Other Netw ork Infrastructure Subjects by Eric Reichel 2 years and 1 month ago Last Reply 2 years and 1 month ago

Re: IP Accounting on Catalyst 2950


Hello, IP Accounting is indeed not supported on the 2950. Check this link for a listing of all unsupported features on the 2950: CISCO CATALYST 2950 SERIES ... in Other Netw ork Infrastructure Subjects by gpauw en 9 years and 11 months ago Last Reply 9 years and 11 months ago

The Cisco Support Community is a forum for you to ask and answer questions, share suggestions, and collaborate with your peers. Refer to Cisco Technical Tips Conventions for information on conventions used in this document.

Updated: May 12, 2005

Document ID: 12040

Enterprise Networks
Products Solutions Design Zone Architecture Services Case Studies Community

Information For
Small Business Midsize Business Service Provider Executives Home (Linksys)

Support
Dow nloads Documentation

About Cisco
Investor Relations Corporate Social Responsibility Environmental Sustainability Tomorrow Starts Here Career Opportunities

Communities
Developer Netw ork Learning Netw ork Support Community

Industries Contacts
Contact Cisco Find a Partner

Programs
Cisco Designated VIP Program Cisco Pow ered Financing Options

Video Portal

Contacts |

Feedback | Help | Site Map | Terms & Conditions | Privacy Statement | Cookie Policy | Trademarks

http://www.cisco.com/c/en/us/support/docs/switches/catalyst-2950-series-switches/12040-pswdrec-2900xl.html

5/5

Anda mungkin juga menyukai