Thông tin tài liệu:
Tuy nhiên, với dòng Switch 2955 series, chúng ta không thể sử dụng nút "mode" đểrecovery password. Mà ta tiến hành các bước sau...
Nội dung trích xuất từ tài liệu:
crack password switchViệc crack password switch cực kỳ đơn giản trong các dòng switch sau:2900XL, 3500XL, 2940, 2950, 2960, 2970, 3550, 3560, and 3750 series switchesNhấn và giữ nút mode , bên trái của switch, cho đến khi thấy switch hiện các câuthông báo ... password recovery mechanism is enable..Và đợi switch khởi động lại, Lúc này ta được cấu hình rỗng. Ta đã vào được modeprivileged . Để copy file cấu hình cũ lên lại, mục đích sửa, xoá password, ta dùng lệnh :Quote:Switch#copy flash:config.text.rename running-configCCNA#Sau khi sửa password đã quên, ta lưu cấu hình lại bình thường .Tuy nhiên, với dòng Switch 2955 series, chúng ta không thể sử dụng nút mode đểrecovery password. Mà ta tiến hành các bước sau :Gỡ cáp nguồn switch, và gắn lại, cũng tương tự router, ta nhấn CTRL + Break để nhắttiến trình boot. ( Lưu ý : tuỳ vào hệ điều hành mà ta có tổ hợp phím ngắt khác nhau )Quote:C2955 Boot Loader (C2955-HBOOT-M) Version 12.1(0.0.514), CISCODEVELOPMENT TESTVERSIONCompiled Fri 13-Dec-02 17:38 by madisonWS-C2955T-12 starting...Base ethernet MAC Address: 00:0b:be:b6:ee:00Xmodem file system is available.Initializing Flash...flashfs[0]: 19 files, 2 directoriesflashfs[0]: 0 orphaned files, 0 orphaned directoriesflashfs[0]: Total bytes: 7741440flashfs[0]: Bytes used: 4510720flashfs[0]: Bytes available: 3230720flashfs[0]: flashfs fsck took 7 seconds....done initializing flash.Chờ đợi thấy màn hình hiện ra :Quote:The system has been interrupted prior to initializing the flash file system to finishloading the operating system software:flash_initload_helperbootNhấn CTRL + BreakQuote:switch:Gõ command :Quote:switch: flash_initInitializing Flash...flashfs[0]: 143 files, 4 directoriesflashfs[0]: 0 orphaned files, 0 orphaned directoriesflashfs[0]: Total bytes: 3612672flashfs[0]: Bytes used: 2729472flashfs[0]: Bytes available: 883200flashfs[0]: flashfs fsck took 86 seconds....done Initializing Flash.Boot Sector Filesystem (bs installed, fsid: 3Parameter Block Filesystem (pb installed, fsid: 4Gõ commandQuote:switch: load_helperswitch:Tiếp tục ta gõ dir flash để xem IOS trên switch(Lưu ý, có dấu : sau chữ flash)Quote:switch: dir flash:Directory of flash:/-rwx 1803357 c3500xl-c3h2s-mz.120-5.WC7.bin-rwx 1131 config.text ( file lưu cấu hình )-rwx 109 info-rwx 389 env_varsdrwx 640 html-rwx 109 info.ver403968 bytes available (3208704 bytes used)switch:Ta sửa file cấu hình đã lưu passwordQuote:switch: rename flash:config.text flash:config.oldEnter boot commandQuote:switch: bootLoading flash:c3500xl-c3h2s-mz.120-5.WC7.bin...################################################################################################################################################################# ####################File flash:c3500xl-c3h2s-mz.120-5.WC7.bin uncompressed and installed, entry point: 0x3000executing...Sau khi khởi động lên :Quote:--- System Configuration Dialog ---At any point you may enter a question mark ? for help.Use ctrl-c to abort configuration dialog at any prompt.Default settings are in square brackets [].Continue with configuration dialog? [yes/no]: nPress RETURN to get started.Switch>Switch>enSwitch#Sửa file config lại thành file config.text như lúc đầu :Quote:Switch#rename flash:config.old flash:config.textDestination filename [config.text]Copy file password cũ lên để xoá, sửa :Quote:Switch#copy flash:config.text system:running-configSwpass#Ta sửa password xong, lưu lại , kết thúc quá trình recovery password :Quote:Sw1#write memoryBuilding configuration...[OK]