Current configuration:
!
version 11.2
no service password-encryption
no service udp-small-servers
no service tcp-small-servers
!
hostname Router
!
enable secret 5 $1$w1kK$AJK69fGOD7BqKhKcSNBf6.
!
ip subnet-zero
!
interface FastEthernet1/0
!
interface FastEthernet1/0.1
encapsulation isl 1
ip address 10.230.2.56 255.255.255.0
!
interface FastEthernet1/0.2
encapsulation isl 777
ip address 10.230.3.56 255.255.255.0
!
interface FastEthernet1/0.3
encapsulation isl 888
ip address 10.230.4.56 255.255.255.0
!
no ip classless
!
line con 0
line aux 0
line vty 0 4
password router
login
!
end
Router#
参考:
1、Cisco路由器口令恢复
当Cisco路由器的口令被错误修改或忘记时,可以按如下步骤进行操作:
1. 开机时按<Ctrl+Break>使进入ROM监控状态
2. 按o 命令读取配置寄存器的原始值
> o 一般值为0x2102
3. 作如下设置,使忽略NVRAM引导
>o/r0x**4* Cisco2500系列命令
rommon 1 >confreg 0x**4* Cisco2600、1600系列命令
一般正常值为0x2102
4. 重新启动路由器
>I
rommon 2 >reset
5. 在"Setup"模式,对所有问题回答No
6. 进入特权模式
Router>enable
7. 下载NVRAM
Router>configure memory
8. 恢复原始配置寄存器值并激活所有端口
"hostname"#configure terminal
"hostname"(config)#config-register 0x"value"
"hostname"(config)#interface xx
"hostname"(config)#no shutdown
9. 查询并记录丢失的口令