Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Enable "Ignore System Config Info"? Y/n (N) : y

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

For Future Reference, here is how to Recovery a lost Cisco router or switch password:

Please note, these are the GENERAL procedures but procedures vary on varying devices!

1. power off and back on the device


2. hold down control and hit BREAK (may have to do this a few times)
3. Once you are at the rommon> prompt, type confreg.
4. Say "n" to all options except this one:
enable "ignore system config info"? y/n [n]: y
5. Say "n" to all other options
6. once back at the rommon prompt, type reset
7. the device will reboot
8. Once the device is booted, you will know that you are bypassing the config because you will be asked
this question (say no):
Would you like to enter the initial configuration dialog? [yes/no]: no
9. Once booted, if you do a show version, you will see that your config register is 0x2142.
10. Now, you can either go to enable mode and do a show startup-config to see what the enable
password is OR, if you have an enable secret password set, you can replace it by doing a copy start run,
then going into global configuration and creating a new enable secret with enable secret cisco, then
copy it back with copy run start.
11. Now, you want to change the config register back. In global configuration, type config-register
0x2102
12. save your configuration with wr or copy run start
13. reboot the device and you should be back with your original configuration but with a password that
you know!

Attached to this message is a log file of exactly how I did this on my Cisco 2600 series router.

Post your Cisco Router & Switch questions here!

======================================================================

In a word: intelligence.

Hubs, switches, and routers are all devices that let you connect one or more computers to
other computers, networked devices, or to other networks. Each has two or more connectors
called ports into which you plug in the cables to make the connection. Varying degrees of magic
happen inside the device, and therein lies the difference. I often see the terms misused so let's
clarify what each one really means.


A hub is typically the least expensive, least intelligent, and least complicated of the three. Its
job is very simple: anything that comes in one port is sent out to the others. That's it. Every
computer connected to the hub "sees" everything that every other computer on the hub sees.
The hub itself is blissfully ignorant of the data being transmitted. For years, simple hubs have
been quick and easy ways to connect computers in small networks.

A switch does essentially what a hub does but more efficiently. By paying attention to the traffic
that comes across it, it can "learn" where particular addresses are. For example, if it sees traffic
from machine A coming in on port 2, it now knows that machine A is connected to that port and
that traffic to machine A needs to only be sent to that port and not any of the others. The net
result of using a switch over a hub is that most of the network traffic only goes where it needs
to rather than to every port. On busy networks this can make the network significantly faster.

"Varying degrees of magic happen inside the device, and therein lies the difference."

A router is the smartest and most complicated of the bunch. Routers come in all shapes and
sizes from the small four-port broadband routers that are very popular right now to the large
industrial strength devices that drive the internet itself. A simple way to think of a router is as a
computer that can be programmed to understand, possibly manipulate, and route the data its
being asked to handle. For example, broadband routers include the ability to "hide" computers
behind a type of firewall which involves slightly modifying the packets of network traffic as they
traverse the device. All routers include some kind of user interface for configuring how the
router will treat traffic. The really large routers include the equivalent of a full-blown
programming language to describe how they should operate as well as the ability to
communicate with other routers to describe or determine the best way to get network traffic
from point A to point B.

A quick note on one other thing that you'll often see mentioned with these devices and that's
network speed. Most devices now are capable of both 10mps (10 mega-bits, or million bits, per
second) as well as 100mbs and will automatically detect the speed. If the device is labeled with
only one speed then it will only be able to communicate with devices that also support that
speed. 1000mbs or "gigabit" devices are starting to slowly become more common as well.
Similarly many devices now also include 802.11b or 802.11g wireless transmitters that simply
act like additional ports to the device.

These instructions are for all unmanaged hubs and switches.  Managed switches are more
complex and may require additional troubleshooting.

Any step may restore connectivity, so consider testing when you have fixed anything in the
process.

 Check that the hub or switch is plugged in and power light is lit.
 Check whether link lights are lit solid on hub or switch ports connected to other devices.
If a port light is blinking, change ports or reconnect the cable.
 If some computers on your network are connected, then check the network settings on
computers that do not. (That is, troubleshoot that computer's connectivity.)
 Change the speed of the network adapter card to 10 Mbs (if the card and your network
support it).
 If a link light is still blinking, reset the hub or switch.
 Replace cables with known good cables.
 Connect two computers together with a crossover cable, (removing the hub or switch)
and see if data will pass between them.
 Check your model's product support page at the manufacturer's website to see whether
there is a software or firmware upgrade.

How to Reset a Terminal Concentrator Port


When a port on the terminal concentrator is busy, you can reset the port to disconnect its user.
This procedure is useful if you need to perform an administrative task on the busy port.

A busy port returns the following message when you try to connect to the terminal concentrator.

telnet: Unable to connect to remote host: Connection refused

If you use the port selector, you might see a port busy message. See How to Correct a Port
Configuration Access Error for details on the port busy message.

1. Connect to the terminal concentrator port.

# telnet tc-name
2. tc-name
3. Specifies the name of the terminal concentrator
4. Press Return again after you make the connection and select the command-line interface
to connect to the terminal concentrator.

Enter Annex port name or number: cli


annex:

5. Type the su command and password.

The default password is the terminal concentrator's IP address.


annex: su
Password:

6. Determine which port to reset.

The who command shows ports that are in use.

annex# who

7. Reset the port that is in use.

annex# admin reset port-number

8. Disconnect from the terminal concentrator.

annex# hangup

9. You can now connect to the port.

Example 2–4 Resetting a Terminal Concentrator Connection

The following example shows how to reset the terminal concentrator connection on port 2.

admin-ws# telnet tc1


Trying 192.9.200.1 ...
Connected to 192.9.200.1.
Escape character is '^]'.
[Return]
...
Enter Annex port name or number: cli
...
annex: su
Password: root-password
annex: who
Port What User Location When Idle Address
2 PSVR --- --- --- 1:27 192.9.75.12
v1 CLI --- --- ---
192.9.76.10
annex# admin reset 2
annex# hangup
How to Reset a HP Procurve 1700/1800 Switch to Factory Default
Settings
Instructions

Things You'll Need:

 HP Procurve 1700/1800 Switch


 Ethernet Cable

1. Step 1

Power off your HP procurve 1700/1800 switch by pulling the power adapter plug from
the back of the unit.

2. Step 2

Plug one end of the ethernet cable into port one on the switch and the other end of the
ethernet cable into port two on the switch. This will create a loop on the switch. (This is
following the HP manual's procedure for resetting the procurve switch.)

3. Step 3

Power the switch back on and let it fully boot up. This will take around 30 seconds. Once
you see the lights stop blinking you will know that it has fully recycled.

4. Step 4

Power the switch back off, unplug the ethernet cable and then power the switch back on.
The switch should now be fully reset and back to the factory default settings and IP of:
192.168.2.10.

You might also like