cisco路由器修改特權密碼

Router(config)# interface f0/0              

Router(config-if)# ip address 192.168.1.1 255.255.255.0

Router(config-if)# no shutdown

Router(config-if)# exit

Router(config)#

Router(config)#exit

Router #

Router # configure terminal                   !進入全局模式

Enter configuration commands, one per line.  End with CNTL/Z.

Router (config)# enable password cisco        !設置特權密碼

Router # write memory                         !保存當前配置文件到NVRAM

Router # reload                               !重新引導系統

                         重啓間,按Ctrl + C

rommon 1 〉confreg 0x2142                     !忽略NVRAM中的配置文件

rommon 2 〉reset                              !重啓系統

Continue with configuration dialog? [yes/no]:no      !手工配置

Router〉

Router〉enable                      !進入特權模式

Router #

Router #copy startup-config running-config     !將NVRAM中的配置文件拷貝到內存

Router(config)#enable password 123            !重新設置密碼

Router #write memory                           !保存新的配置文件

Router #reload                                 !重新啓動系統

rommon 1 〉confreg 0x2102                      !重新從NVRAM中加載配置文件

rommon 2 〉reset                               !重啓系統密碼修改成功













發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章