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

一、路由器恢复出厂设置

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






你可能感兴趣的:(路由器,恢复出厂,修改特权密码)