最近想摆弄一下带vpn的router,凑巧好友处有台CISCO 2611,呵呵,抢来研究下啦
竟然有密码的说!网上找教程现学现卖啦,以下是清除密码的过程,呵呵,比找来的教程要详尽些,做个记号以备以后学习之用。
1、接上console线,配置超级终端。
2、启动路由,看它自检:
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 32768 Kbytes of main memory
Copyright (c) 1999 by cisco Systems, Inc.
TAC:Home:SW:IOS:Specials for info
C2600 platform with 32768 Kbytes of main memory
program load complete, entry point: 0x80008000, size: 0x34362c
Self decompressing the image : ##################
Self decompressing the image : ##################
到这个时候(出现#####时),果断的ctrl+break 中断它!
这是会出现提示:monitor: command “boot” aborted due to user interrupt
rommon 1 >
rommon 1 >
3、键入confreg 0x2142 回车
提示:You must reset or power cycle for new config to take effect
rommon 2 >
rommon 2 >
听提示的,键入reset 重启路由。
4、重启,一切按部就班的运行。直至出现提示:
— System Configuration Dialog —
Would you like to enter the initial configuration dialog? [yes/no]:
键入n回车
Press RETURN to get started!
5、进入到:Router>
Router>en
Router#copy start run
Destination filename [running-config]?
Router#copy start run
Destination filename [running-config]?
*Mar 1 00:02:00 UTC: %LINK-3-UPDOWN: Interface BRI0/0:1, changed state to down
*Mar 1 00:02:00 UTC: %LINK-3-UPDOWN: Interface BRI0/0:2, changed state to down
9839 bytes copied in 6.50 secs (1639 bytes/sec)
yantaisolo#
*Mar 1 00:02:04 UTC: %LINK-5-CHANGED: Interface Dialer0, changed state to stand by mode
*Mar 1 00:02:00 UTC: %LINK-3-UPDOWN: Interface BRI0/0:2, changed state to down
9839 bytes copied in 6.50 secs (1639 bytes/sec)
yantaisolo#
*Mar 1 00:02:04 UTC: %LINK-5-CHANGED: Interface Dialer0, changed state to stand by mode
6、yantaisolo#config t
Enter configuration commands, one per line. End with CNTL/Z.
yantaisolo(config)#enable secret cisco
呵呵,这样就把密码改成cisco了。。
Enter configuration commands, one per line. End with CNTL/Z.
yantaisolo(config)#enable secret cisco
呵呵,这样就把密码改成cisco了。。
7、yantaisolo(config)#config-register 0x2102
yantaisolo(config)#exit
yantaisolo#
*Mar 1 00:05:57 UTC: %SYS-5-CONFIG_I: Configured from console by console
yantaisolo#wr
Building configuration…
[OK]
yantaisolo(config)#exit
yantaisolo#
*Mar 1 00:05:57 UTC: %SYS-5-CONFIG_I: Configured from console by console
yantaisolo#wr
Building configuration…
[OK]
把寄存器值改回,再保存下配置,ok了。
8、yantaisolo#reload
Proceed with reload? [confirm]
Proceed with reload? [confirm]
重新加载配置,重启,呵呵,至此密码都改完了。
对了还有呀,重启后所有的接口都down掉了,还需要NO SHUT一下了。