View Full Version : Hỏi về config router khi bị mất pass
lexuanhung
10-03-2004, 01:18 PM
Khi tôi muốn config router nhưng bị mất pass thì có phương pháp nào để xoá toàn bộ lệnh config trước để config lại từ đầu được không.
monkey
10-03-2004, 01:46 PM
ban có thể crack pass từ cổng console.
Khởi động router và nhấn ctrl break lúc router đang khởi động.
Đối với Series 2500 thì gõ lệnh o/r 0x2142 và lệnh i
Đối với Seires 2600 thì gõ lệnh confreg 0x2141 và lệnh init (or reload, sorry khúc này ko nhớ rõ :D)
Sau khi reboot lại router, bạn vô xoá startup config or đổi password lại.
Nhớ đổi lại thanh ghi boot, router-config>config-register 0x2102
leminhkhoi
10-03-2004, 03:18 PM
hello monkey,
Không biết có dùng lệnh config-register từ user mode được không nhỉ, hình như là không.
Còn tại sao 2600 phải cấu hình là confreg 0x2141 mà không là confreg 0x2142.
to lexuanhung, bạn xem thử cấu hình này nhé:
ystem Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1)
Copyright (c) 1999 by cisco Systems, Inc.
TAC:Home:SW:IOS:Specials for info
C2600 platform with 65536 Kbytes of main memory
rommon 1 >
rommon 1 > ?
alias set and display aliases command
boot boot up an external process
break set/show/clear the breakpoint
confreg configuration register utility
cont continue executing a downloaded image
context display the context of a loaded image
cookie display contents of cookie PROM in hex
dev list the device table
dir list files in file system
dis display instruction stream
dnld serial download a program module
frame print out a selected stack frame
help monitor builtin command help
history monitor command history
meminfo main memory information
repeat repeat a monitor command
reset system reset
set display the monitor variables
stack produce a stack trace
sync write monitor environment to NVRAM
sysret print out info from last system return
tftpdnld tftp image download
unalias unset an alias
unset unset a monitor variable
xmodem x/ymodem image download
rommon 2 > confreg 0x2142
You must reset or power cycle for new config to take effect
rommon 3 > init
System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1)
Copyright (c) 1999 by cisco Systems, Inc.
TAC:Home:SW:IOS:Specials for info
C2600 platform with 65536 Kbytes of main memory
--- System Configuration Dialog ---
Would you like to enter the initial configuration dialog? [yes/no]: no
Press RETURN to get started!
Router>ena
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#config-register 0x2102
Router(config)#^Z
Router#copy run startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
Router#
Thân chào
monkey
10-03-2004, 10:53 PM
thnx mod for ur correction.
lexuanhung
11-03-2004, 10:33 AM
cám ơn mọi người rất nhiều
brightdawn
02-06-2004, 08:27 AM
Tôi muốn config router 3600 nhưng tôi ko biết password tức là phải crack pass rồi, vậy cho tôi hỏi khi cracks password bằng cổng console thi password cũ có bị mất không và có phải các router khác nhau thì crack pass bằng cổng console là khác nhau ko ?
admin
02-06-2004, 09:08 AM
hi
Khi crack thì mật khẩu cũ sẽ bị mất. Các routers khác nhau sẽ có các lệnh cụ thể khác nhau để crack mật khẩu. Cụ thể: cách crack mật khẩu trên Cisco 2500 sẽ khác với cách được áp dụng trên Cisco 2600/3600. Cách crack trên Catalyst switch sẽ khác với cách crack trên router.
cám ơn,
imported_abc
02-06-2004, 10:30 AM
Hi Admin
Trong trường hợp vẫn muốn giữ lại mật khẩu cũ tưc là sau khi crack mật khẩu xong , và mình lại muốn để cấu hình trở lại nguyên trạng như cũ thì vẫn được .
chỉ cần dùng lệnh copy startup-config running-config
admin
02-06-2004, 11:36 AM
Hi abc
Sau khi dùng lệnh
copy startup-config running-config
bạn sẽ làm gì để vẫn bảo lưu được password cũ?
a. Password cũ sẽ hiển thị trong running-config?
b. Nếu password bị mã hóa, bạn sẽ làm cách nào?
Cám ơn nhiều nha,
Powered by vBulletin® Version 4.1.9 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.