更改路由器启动顺序:
| router(config)# boot system flash IOS-FileName router(config)# boot system tftp IOS-FileName TFTP-IP-Address router(config)# boot system rom router(config)# ^z |
修改寄存器数值:
| router(config)# config-register value <--Cisco出厂默认value=0x2102,value范围:0x2100(进入ROM监视器),0x2101(使系统从ROM启动), 0x2102~0x210F(使系统从NVRAM启动)。0x1=0x2101,从最小位开始改变--> |
在ROM监视器中更改寄存器数值:
| > o/r value |
路由器密码的恢复:
| > o/r 0x2142 <--25xx型路由器--> 或 > confreg 0x2142 <--16xx型路由器--> router> I router> n router> enable router# copy startup-config running-config router# configure terminal router(config)# enable secret New-Password router(config)# config-register 0x2102 router(config)# ^z router# copy running-config startup-config router# reload |
冷关机,然后再开机并在60秒内按< Ctrl>+进入ROM监视器模式
配置名称-主机入口:
| router(config)# ip host Set-Name [ TCP-Port-Number ] IP-Address [ IP-Address 2 ]... router(config)# ^z |
定义DNS主机:
| router(config)# ip name-server Server-Address [ Server-Address 2 ]... router(config)# ^z |
禁用DNS:
| router(config)# no ip domain-lookup router(config)# ^z |
配置水平分割:
| router(config-if)# ip split-horizon router(config-if)# no ip split-horizon router(config-if)# ^z |

