itprofes
Bạn có muốn phản ứng với tin nhắn này? Vui lòng đăng ký diễn đàn trong một vài cú nhấp chuột hoặc đăng nhập để tiếp tục.

Recovery Password Switch

Go down

Recovery Password Switch Empty Recovery Password Switch

Bài gửi  admin 24/3/2010, 4:21 pm

Trong trường hợp bạn mua thiết bị switch của cisco. Và trong lúc sử dụng bạn thay đổi password nhiều lần dẫn đến quên mất password vừa mới đổi.
Mình sẽ trình bày cách để bạn có thể đổi password đó.

1. Nối máy tính với console port của switch và trên máy tính chạy chương trình terminal ( Hyper Terminal ). Chọn các thông số cho chương trình terminal như sau:

Code:
Bits per second (baud): 9600
Data bits: 8
Parity: None
Stop bits: 1
Flow Control: Xon/Xoff

2. Tháo dây nguồn của switch.
3. Giữ nút Mode của switch trong khi gắng nguồn lại cho switch
Ø Đối với 2900/3500XL và 3550 Series switches: Giữ nút Mode cho đến khi đèn của port 1 tắt
§ Vị trí đèn có thể khác nhau ở các dòng sản phẩm

Ø Đối với 2950 Series switches: Giữ nút Mode cho đến khi đèn STAT tắt
§ Vị trí đèn có thể khác nhau ở các dòng sản phẩm

4. Bạn sẽ thấy xuất hiện:

Code:
Example: switch: flash_init
Initializing Flash...
flashfs[0]: 143 files, 4 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 3612672
flashfs[0]: Bytes used: 2729472
flashfs[0]: Bytes available: 883200
flashfs[0]: flashfs fsck took 86 seconds
....done Initializing Flash.
Boot Sector Filesystem (bs:) installed, fsid: 3
Parameter Block Filesystem (pb:) installed, fsid: 4
switch:
5. Ghõ lệnh flash_init

Code:
Example: switch: flash_init
Initializing Flash...
flashfs[0]: 143 files, 4 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 3612672
flashfs[0]: Bytes used: 2729472
flashfs[0]: Bytes available: 883200
flashfs[0]: flashfs fsck took 86 seconds
....done Initializing Flash.
Boot Sector Filesystem (bs:) installed, fsid: 3
Parameter Block Filesystem (pb:) installed, fsid: 4
switch:

6.Ghõ lệnh load_helper

Code:
Example: switch: load_helper
switch:

7. Ghõ lệnh dir flash:

Code:
Example: switch: dir flash:
Directory of flash:/
2 -rwx 1803357 c3500xl-c3h2s-mz.120-5.WC7.bin

!--- This is the current version of software.

4 -rwx 1131 config.text

!--- This is the configuration file.

5 -rwx 109 info
6 -rwx 389 env_vars
7 drwx 640 html
18 -rwx 109 info.ver
403968 bytes available (3208704 bytes used)
switch:

8. Ghõ lệnh rename flash:config.text flash:config.old để thây đổi tên của file cấu hình.

Code:
Example: switch: rename flash:config.text flash:config.old
switch:

9. Ghõ lệnh boot để restart lại switch:

Code:
Example: switch: boot
Loading "flash:c3500xl-c3h2s-mz.120-5.WC7.bin"...###############################
################################################################## ##############
######################################################################
File "flash:c3500xl-c3h2s-mz.120-5.WC7.bin" uncompressed and installed, entry po
int: 0x3000
executing...

10. Sau khi switch khởi động lại, ta đổi lại tên file cấu hình 1 lần nữa: rename flash:config.old flash:config.text

Code:
Example: Switch#rename flash:config.old flash:config.text
Destination filename [config.text]
!--- Press Return or Enter.
Switch#

11. Copy file cấu hình lênh bộ nhớ Ram:

Code:
Example: Switch#copy flash:config.text system:running-config
Destination filename [running-config]?

!--- Press Return or Enter.

1131 bytes copied in 0.760 secs
Switch#
12. Sau đó bạn bỏ password củ và cấu hình lại password mới.

Code:
Example: Switch#configure terminal
Switch(config)#no enable secret
Switch(config)#enable password Cisco

13. Cuối cùng bạn lưu lại cấu hình mới: write memory

Code:
Example: Switch#write memory
Building configuration...
[OK]
Switch#

Như thế là bạn đã reset passwork rồi đó smile smile
admin
admin
Thiếu Úy III
Thiếu Úy III

Tổng số bài gửi : 627
Diem : 6552
Thank : 4
Join date : 24/03/2010
Đến từ : Bỉm Sơn - Thanh hóa

https://itprofes.forumvi.com

Về Đầu Trang Go down

Về Đầu Trang

- Similar topics

 
Permissions in this forum:
Bạn không có quyền trả lời bài viết