bjghzly 发表于 2018-7-19 11:31:55

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 #>  重启间,按Ctrl + C
  rommon 1 〉confreg 0x2142                     !忽略NVRAM中的配置文件
  rommon 2 〉reset                              !重启系统
  Continue with configuration dialog? :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                               !重启系统密码修改成功
页: [1]
查看完整版本: cisco路由器修改特权密码