2600系列的密码修改实例

2600系列的修改实例,使用

Ctrl+BREAK 中断启动.注意提示 monitor: command “boot” aborted due to user interrupt.

如下:

System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1)

(略)

PC = 0xfff0a530, Vector = 0x500, SP = 0x80004374




monitor: command “boot” aborted due to user interrupt

rommon 1 >confreg 0x2142

You must reset or power cycle for new config to take effect

提示重新启动,如下:

rommon 1>reset

重新启动后,进入特权模式,把 startup-config 复制到 running-config 中,并修改密码.如下:

Router#copy start run

Router#conf t

Router(config)#enable secret cisco

把 configuration register 的值还原,并保存,如下:

Router(config)#config-register 0x2102

Router(config)#^Z

Router#copy run start




cisco 2950 switch密码恢复

2950的密码恢复和2600路由器的密码恢复是不一样的。2950没有寄存器值让你改,而需要在重新加电后,把mode键按住;这时,用console口连接的话,机器上会显示flash_init,load_helper,switchboot这几条命令,运行


switch:flash_init


再运行dir flash:,配置文件就存储在config.text里面,当然密码也在里面。


rename flash:config.text flash:config.old

boot


启动完了以后,会问是否需要进入配置菜单, no

enable

rename flash:config.old flash:config.text

copy flash:config.text system:running-config

完了以后 ,

config terminal

no enable secret

enable secret cisco

exit

copy run start




r3#sh

*Mar  1 01:33:46.535: %SYS-5-CONFIG_I: Configured from console by console

r3#sh run

Building configuration...


Current configuration : 879 bytes

!

version 12.4

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname r3

!

boot-start-marker

boot-end-marker

!

!

no aaa new-model

memory-size iomem 5

!

!

ip cef

no ip domain lookup

!

!

!

interface Serial0/0

no ip address

shutdown

serial restart-delay 0

!

interface Serial0/1

ip address 200.1.1.12 255.255.255.0

serial restart-delay 0

!

interface Serial0/2

no ip address

shutdown

serial restart-delay 0

!

interface Serial0/3

no ip address

shutdown

serial restart-delay 0

!

interface FastEthernet1/0

no ip address

shutdown

duplex auto

speed auto

!

ip http server

no ip http secure-server

ip route 0.0.0.0 0.0.0.0 Serial0/1

!

!

!

control-plane

!

!

!

line con 0

exec-timeout 0 0

logging synchronous

line aux 0

line vty 0 4

no login

!

!

end



你可能感兴趣的:(网络,Cisco,思科,2600)