恢復出廠
在特權模式下
#erase startup-confiig 來清除啓動配置
#reload 來進行重啓
這樣就完成了。
2.修改特權密碼
假如我們忘記了自己設置的密碼就用這個方法可以進行修改
在啓動路由器是 按下Ctrl+c進入rom檢測模式然後輸出
rom1>confreg 0x2142 來忽略nvram中的配置文件
rom2>reset 進行重啓
重啓後在
Continue with configuration dialong[yes/no]:選擇no
進入路由器用戶模式
router>enable 進入特權模式
router#copy startup-confiig running-config 將nvram中的配置文件拷貝到內存
然後進入全局模式重新設置密碼
router(config)#enable password cisco
在特權模式下保存新的配置
router#write memory
然後重啓系統
router#reload
進入rom模式
rom1>confreg 0x2102 重新從nvram 中加載配置文件
rom2>reset 重啓系統密碼修改就完成了。
3.通過tftp服務器拷貝路由器的配置文件到本地
先將服務器的IP地址設置文192.168.1.1
然後進入路由器配置
router>enable
router#configure terminal
router(config)#interfiguer f0/0
router(config-if)#ip address 192.168.1.2 255.255.255.0
router(config-if)#no shutdown
然後退入到特權模式
router#write memory 進行保存
然後測試是否能ping通服務器的IP
router#ping 192.168.1.1
然後進行拷貝
router#copy running-config tftp
address or name of remote host[]?192.168.1.1 在問號後面輸入服務器的IP
然後保持默認敲擊回車就完成了。
4.路由器IIOS鏡像升級
router#copy tftp:flash:
Address or name of remote host []? 在問號後面打入要升級的版本然後雙擊
然後進行重啓
進入特權模式
#show version 來查看是否更新成功