1、启动路由器,在30秒那按ctrl+break,进入rommon模式
System Bootstrap, Version 12.1(3r)T2, RELEASE SOFTWARE (fc1) Copyright (c) 2000 by cisco Systems, Inc. C2600 platform with 65536 Kbytes of main memory PC = 0xfff0ab6c, Vector = 0x500, SP = 0x80004884 monitor: command "boot" aborted due to user interrupt rommon 1 > |
2、然后输入
rommon 1 > confreg 0x2142 You must reset or power cycle for new config to take effect rommon 2 > reset |
3、路由器会重新启动
System Bootstrap, Version 12.1(3r)T2, RELEASE SOFTWARE (fc1) Copyright (c) 2000 by cisco Systems, Inc. C2600 platform with 65536 Kbytes of main memory program load complete, entry point: 0x80008000, size: 0x8a7f8c Self decompressing the image : 中间引导过程忽略。。。。。 --- System Configuration Dialog --- Would you like to enter the initial configuration dialog? [yes/no]: |
4、按ctrl+c
Press RETURN to get started! Router> Router>enable Router#copy startup-config running-config Destination filename [running-config]? 816 bytes copied in 0.884 secs router1# router1#conf t Enter configuration commands, one per line. End with CNTL/Z. router1(config)# router1(config)#enable secret cisco router1(config)#enable password 12345 router1(config)#line con 0 router1(config-line)#login router1(config-line)#password cisco router1(config-line)#exit router1(config)#line aux 0 router1(config-line)#login router1(config-line)#password cisco router1(config-line)#exit router1(config)#line vty 0 4 router1(config-line)#login router1(config-line)#password cisco router1(config-line)#exit router1(config)#config-register 0x2102 router1(config)#exit router1# router1#copy running-config startup-config Destination filename [startup-config]? Building configuration... [OK] router1# |

