恢复出厂设置

Router#erase startup-config 

Router#reload 

修改秘密

Router(config)#enable password cisco

Router#reload 

Proceed with reload? [confirm]

elf decompressing the p_w_picpath :

################

monitor: command "boot" aborted due to user interrupt

rommon 1 > confreg 0x2142

rommon 2 > reset

Continue with configuration dialog? [yes/no]: no


Router>en


Router#copy startup-config running-config 

%% Non-volatile configuration memory invalid or not present(这句话的意思是,文件空,说明刚刚没有保存文件需要重新设置并且保存)


Router(config)#enable password cisco

Router#write memory 

Building configuration...

[OK]

断电重启

Self decompressing the p_w_picpath :

################

monitor: command "boot" aborted due to user interrupt

rommon 1 > confreg 0x2142

rommon 2 > reset

Router#copy startup-config running-config 

Destination filename [running-config]? 


446 bytes copied in 0.416 secs (1072 bytes/sec)

Router#

%SYS-5-CONFIG_I: Configured from console by console

Router(config)#enable password 123456

Router#write memory 

Router#reload 

Self decompressing the p_w_picpath :

######

monitor: command "boot" aborted due to user interrupt

rommon 1 > confreg 0x2102

rommon 2 > reset


备份

首先准备一台服务器配置好IP地址

再配置路由器

Router(config)#inter f0/0

Router(config-if)#ip add

Router(config-if)#ip address 192.168.1.2 255.255.255.0

Router(config-if)#no shu

Router(config-if)#no shutdown 

Router#copy running-config tftp

Address or name of remote host []? 192.168.1.1

460 bytes copied in 3.08 secs (0 bytes/sec)


路由器升级

Router#copy tftp flash:

Address or name of remote host []? 192.168.1.1

Source filename []? c2600-advipservicesk9-mz.124-15.T1.bin

Accessing tftp://192.168.1.1/c2600-advipservicesk9-mz.124-15.T1.bin...

Loading c2600-advipservicesk9-mz.124-15.T1.bin from 192.168.1.1: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

[OK - 33591768 bytes]