Search this Blog

Friday, August 27, 2010

How can we restore a Cisco 1811 Router to it's default settings.


We are trying to set up a Cisco 1811 router, and we restored the factory defaults using this method:

Method 1

This method uses the config-register 0x2102 command in global configuration mode.

1. Check the configuration register on the router by issuing the show version command.The configuration register setting is displayed in the last line of the show version command output and should be set to 0x2102. If this is not the case, enter the config-register 0x2102 command once in global configuration mode.

router#configure terminal
router(config)#config-register 0x2102
router(config)#end
router#

If the show version command is issued again, the same line in the command output will have '(will be 0x2102 at next reload)' appended to the current register setting.

2. Erase the current start-up configuration on the router with the write erase command.

3. Reload the router with the reload command. When prompted to save the configuration, DO NOT save.
router#reload
System configuration has been modified. Save? [yes/no]: n
Proceed with reload? [confirm]

Once the router reloads, the System Configuration Dialog appears.

--- System Configuration Dialog ---
Would you like to enter the initial configuration dialog? [yes/no]:

The router is now reset to the original factory defaults.Got to the line that said " Would you like to enter the initial configuration dialog? [yes/no]:" and we quit out of the hyper terminal as we wanted to do the configuration via the web interface . The problem is the router isn't giving any ip addresses. We tried the default address (10.10.10.1) but that didn't work. The computer won't even recognize that cat 5 cable is plugged in (we have verified that both the computer and cat5 cable work). All that is plugged into the router is a straight through cable coming from the modem (to get Internet) in FastEthernet 0 and a straight through plugged into port number 5 going to the computer. How can we get the router back to the settings it had when we took it out of the box. Those settings allowed to simply plug in a cat 5 cable to a computer, the computer would get an ip address (usually 10.10.10.2) we would open up a web browser and type in 10.10.10.1 the web interface would pop up .

Tips:

The router comes with a config on it that allows you do just plug a pc in, get an IP address and configure it using the ASDM but you've erased this.Boot the router, go into enable mode by typing 'en' and press enter.Type 'conf t' and press enter,then copy and paste the config below in. Once your done type 'exit' and press enter then type 'wr' and enter

hostname yourname
!
logging buffered 51200 warnings
!
username cisco privilege 15 secret 0 cisco
!
ip dhcp excluded-address 10.10.10.1
!
ip dhcp pool sdm-pool
import all
network 10.10.10.0 255.255.255.248
default-router 10.10.10.1
lease 0 2
!
no ip domain lookup
ip domain-name yourdomain.com
!
interface FastEthernet2
no ip address
no shutdown
!
interface FastEthernet3
no ip address
no shutdown
!
interface FastEthernet4
no ip address
no shutdown
!
interface FastEthernet5
no ip address
no shutdown
!
interface FastEthernet6
no ip address
no shutdown
!
interface FastEthernet7
no ip address
no shutdown
!
interface FastEthernet8
no ip address
no shutdown
!
interface FastEthernet9
no ip address
no shutdown
!
interface Vlan1
description $ETH-SW-LAUNCH$$INTF-INFO-FE 2$
ip address 10.10.10.1 255.255.255.248
ip tcp adjust-mss 1452
!
ip http server
ip http access-class 23
ip http secure-server
ip http authentication local
ip http timeout-policy idle 60 life 86400 requests 10000
!
access-list 23 permit 10.10.10.0 0.0.0.7
!
banner login ^
-----------------------------------------------------------------------
Cisco Router and Security Device Manager (SDM) is installed on this device.
This feature requires the one-time use of the username "cisco"
with the password "cisco". The default username and password have a privilege level of 15.

Please change these publicly known initial credentials using SDM or the IOS CLI.
Here are the Cisco IOS commands.

username privilege 15 secret 0
no username cisco

Replace and with the username and password you want to use.

For more information about SDM please follow the instructions in the QUICK START
GUIDE for your router or go to http://www.cisco.com/go/sdm
-----------------------------------------------------------------------
^
!
no cdp run
!
!
line con 0
login local
line vty 0 4
access-class 23 in
privilege level 15
login local
transport input telnet
transport input telnet ssh
line vty 5 15
access-class 23 in
privilege level 15
login local
transport input telnet
transport input telnet ssh
!
! End of SDM default config file

end

Also try the following:

leave your PC on DHCP on the router;

en
conf t
int vlan 1
no shut
exit
exit
wr

Citation - This blog post does not reflect original content from the author. Rather it summarizes content that are relevant to the topic from different sources in the web. The sources might include any online discussion boards, forums, websites and others.

No comments :

Post a Comment

 
/* Google Analytics begin ----------------------------------------------- */ /* Google Analytics end ----------------------------------------------- */