码迷,mamicode.com
首页 > 其他好文 > 详细

设备配置路由恢复出厂及修改特权密码

时间:2015-03-18 06:38:28      阅读:196      评论:0      收藏:0      [点我收藏+]

标签:路由器

一、路由器恢复出厂设置

Router>en

Router#config

Configuring from terminal, memory, or network [terminal]? 

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

Router(config)#

Router(config)#interface f0/0

Router(config-if)#

Router(config-if)#ip address 192.168.1.1 255.255.255.0

Router(config-if)#no shutdown 

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

Router(config-if)#

Router(config-if)#^Z

Router#

%SYS-5-CONFIG_I: Configured from console by console

Router#

Router#erase startup-config 

Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]

[OK]

Erase of nvram: complete

%SYS-7-NV_BLOCK_INIT: Initialized the geometry of nvram

Router#

Router#reload

Proceed with reload? [confirm]

%SYS-5-RELOAD: Reload requested by console. Reload Reason: Reload Command.


System Bootstrap, Version 12.3(8r)T8, RELEASE SOFTWARE (fc1)

Cisco 1841 (revision 5.0) with 114688K/16384K bytes of memory.


Self decompressing the image :

########################################################################## [OK]

              Restricted Rights Legend


     --- System Configuration Dialog ---


Continue with configuration dialog? [yes/no]: n


Press RETURN to get started!

Router>

Router>en

Router#

Router#show running-config 

hostname Router

!

spanning-tree mode pvst

!

interface FastEthernet0/0

 no ip address

 duplex auto

 speed auto

 shutdown

end

二、修改特权密码


Router>

Router>en

Router#

Router#config

Configuring from terminal, memory, or network [terminal]? 

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

Router(config)#

Router(config)#enable password 123

Router(config)#^Z

Router#

%SYS-5-CONFIG_I: Configured from console by console

Router#

Router#write memory 

Building configuration...

[OK]

Router#reload

Proceed with reload? [confirm]

%SYS-5-RELOAD: Reload requested by console. Reload Reason: Reload Command.

##########

monitor: command "boot" aborted due to user interrupt

rommon 1 > confreg 0x2142

rommon 2 > reset

System Bootstrap, Version 12.1(3r)T2, RELEASE SOFTWARE (fc1)

Copyright (c) 2000 by cisco Systems, Inc.

Cisco 2621 (MPC860) processor (revision 0x200) with 253952K/8192K bytes of memory


Self decompressing the image :

########################################################################## [OK]


              Restricted Rights Legend




         --- System Configuration Dialog ---


Continue with configuration dialog? [yes/no]: n



Press RETURN to get started!

Router>

Router>en

Router#

Router#config

Configuring from terminal, memory, or network [terminal]? 

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

Router(config)#enable p sisco

Router(config)#^Z

Router#

%SYS-5-CONFIG_I: Configured from console by console

Router#

Router#write memory 

Building configuration...

[OK]

Router#reload

Proceed with reload? [confirm]

%SYS-5-RELOAD: Reload requested by console. Reload Reason: Reload Command.

Self decompressing the image :

#######

monitor: command "boot" aborted due to user interrupt


rommon 1 > confreg 0x2102

rommon 2 > reset

System Bootstrap, Version 12.1(3r)T2, RELEASE SOFTWARE (fc1)

Copyright (c) 2000 by cisco Systems, Inc.

Cisco 2621 (MPC860) processor (revision 0x200) with 253952K/8192K bytes of memory


Self decompressing the image :

########################################################################## [OK






本文出自 “IT女神经” 博客,请务必保留此出处http://liyaqi.blog.51cto.com/9976294/1621592

设备配置路由恢复出厂及修改特权密码

标签:路由器

原文地址:http://liyaqi.blog.51cto.com/9976294/1621592

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!