20.3 Tips and Tricks Cisco Forum FAQ
Links: home · search · speed test · login · more ·


Search for: in all FAQs
FAQ RevisionsEditors: skj, Covenant, aryoba, Phraxos
Last modified on 2008-11-21 15:11:04

20.3 Tips and Tricks

·Cisco CLI Handy Keys
·How do I remove a flash partition?
·Configure Cisco networking devices w/o knowledge of Cisco IOS® software
·Why should I remove the password 7 hash from my config before posting?
·I do not have a console cable! What can I do?
·What is the pin out for a T1 crossover cable?
·Unreadable output from Cisco Router Console
CLI Keys Description
Ctrl + A Beginning Line
Ctrl + B Backward Character
Ctrl + C Clear line
Ctrl + D Delete Character to the Right
Ctrl + E End Line
Ctrl + F Forward Character
Ctrl + H Backspace Character to the Left
Ctrl + I Refresh Line and Goto End
Ctrl + J Return
Ctrl + K Delete everything on the Right of cursor
Ctrl + L Refresh Line
Ctrl + M Return
Ctrl + N Next Command
Ctrl + P Previous Command
Ctrl + R Refresh Line
Ctrl + T Flip Last 2 Characters
Ctrl + U Clear Line and Put in Buffer
Ctrl + V Allows A Control Character To Be Typed
Ctrl + W Delete Word Backwards and Put in Buffer
Ctrl + X Clear Line to the Left and Put in Buffer
Ctrl + Y Paste Buffer Contents


feedback form

by Covenant edited by aryoba
last modified: 2005-11-13 13:46:05

lab_monkey>en
lab_monkey#conf t
Enter configuration commands, one per line. End with CNTL/Z.
lab_monkey(config)#conf
lab_monkey(config)#config-register 0x2101
lab_monkey(config)#end
lab_monkey#sh ve

Ascertain that it says this at the bottom of the "sh ve":

Configuration register is 0x2102 (will be 0x2101 at next reload)

Reload the router and it will ask you if you want to save the configuration settings, state YES, and it should boot in ROM memory (boot mode).

lab_monkey(boot)#sh flash

You should see something like this but in your case it will be 2 or more partitions with the IOS on one and possibly something else on the other partition(s).

System flash directory:
File Length Name/status
1 14598352 /c2500-ik8os-l.122-19a.bin
[14598416 bytes used, 2178800 available, 16777216 total]
16384K bytes of processor board System flash (Read/Write)

lab_monkey(boot)#

Now, type this out:

lab_monkey(boot)#erase flash

It will ask you which partition to erase. Erase the one WITHOUT the IOS on it, usually its number 2. Repeat that for all the partitions except the one with the IOS on it.

Then type:

lab_monkey(boot)#config t
lab_monkey(boot)(config)#no partition flash
lab_monkey(boot)(config)#exit

Afterwhich:

lab_monkey(boot)#show version
[verify flash partition has been eliminated]

Once the flash paritition has been eliminated, change the config. register to 0x2102:

lab_monkey(boot)#conf t
Enter configuration commands, one per line. End with CNTL/Z.
lab_monkey(boot)(config)#config
lab_monkey(boot)(config)#config-register 0x2102
lab_monkey(boot)(config)#end
lab_monkey(boot)#sh ve

And again checking the last line to see if it states the config register will be 0x2102 at next reload by the sh ve command. Reboot and it should come online with no partitions:

lab_monkey(boot)#reload

It will ask you if you want to save the settings, state YES again.



feedback form


Any feedback you provide (corrections, updates or suggestions) are sent to the owner of this FAQ
and anyone else involved in writing or editing this item.



by Covenant edited by aryoba
last modified: 2005-11-13 13:45:29

Cisco ConfigMaker is an easy-to-use Microsoft Windows application used to configure a small network of Cisco routers (800, 1000, 1600, 1700, 2500, 2600, 3600, and 4000 series), switches, hubs, and other network devices from a single PC without requiring knowledge of Cisco IOS® software.

Cisco ConfigMaker is designed for resellers and network administrators of small to medium-sized businesses who are proficient in LAN and WAN fundamentals and basic network design.

InfoSource= Cisco ConfigMaker Software Download

Note:
Last time I check, Cisco no longer support ConfigMaker software. Therefore the software might only work for older Cisco equipments. Fortunately, new Cisco equipments are built with GUI (Graphical User Interface) feature. This way, any average Joe should be able to configure Cisco equipments via their existing Internet browser (i.e. Internet Explorer, Netscape) just like configuring SOHO equipments from (let's say) Linksys or Netgear.

feedback form

by nozero edited by aryoba
last modified: 2008-02-25 15:22:32

Because it can easily be decoded. Here is one such example of how this can be accomplished.

Just look for a line like

username chad password 7 1500020F0C

If you cut and paste the sample hash above, 1500020F0C into the following site, and hit submit, you will see how easy it is to determine the correct password for hash 1500020F0C is rich.

http://www2.tongzweb.com/tools/cisco.asp

It is suggested to use the secret 5 instead that is based on MD5 (Message Digest 5). The secret 5 MD5 uses higher-bit encryption level which makes the secret is much more difficult to decrypt. In other words, using secret 5 is more secure than password 7.

feedback form

by nozero edited by aryoba
last modified: 2008-07-15 14:43:52

The simplest solution should be buying one. A console cable is basically an RS-232 serial cable. It depends on the cable model; one end could be having RJ-45 and another has DB-9 or DB-25.

Console cable should be available at any local computer store. You can also check for "Cisco console kit" on ebay to buy online.

When it is not feasible to buy online or from local computer store, you can consider to make one on your own. Keep in mind that when you are not used to make your own cable, the result could be unexpected.

If you are more of "make-your-own-cable person" and need to have specification, then this should be a good start.

Following is the instruction to make your own console cable.

You can make a custom serial cable with an RJ45 on one end to connect directly to a Cisco console port.

This is done by cutting one end of the serial cable off, stripping about 2” of the shielding, and pinning the individual wires to their correct locations in an RJ45 connector as shown in this FAQ.

Things that you will need:
A continuity tester
A knife
A paper clip
Wire strippers
RJ45 crimping tool
A standard serial cable
One RJ45
A pen or pencil
A piece of paper for notes.



RJ-45 DB-9
1 8
2 6
3 2
4 5
5 extra
6 3
7 4
8 7

Steps:

1. Cut one end of your serial cable off.
2. Strip about 2” of the shielding off exposing the individual wires.
3. Expose about 1 centimeter of the end of each wire by stripping it with a knife for continuity testing.
4. Unfold your paperclip.
5. Write the numbers 1-8 down each on their own line on your paper.
6. Insert the unfolded paperclip into pin 8 on the remaining DB9 connector of your serial cable.
7. Using the continuity tester find that wire and write the color down next to number one on your paper.
8. Once you find what wire pin 8 is connected to note that that wire will go into pin 1 on the RJ45.
9. Repeat this step for pins 6, 2, 5, 3, 4, 7 on the DB9.
10. You should have one wire that you haven’t identified. This is your 2nd ground wire. It will go to pin 5 on your RJ45 so put it next to number 5 on your paper ensuring you have noted them correctly.
11. Now you should have a list of colors next to their corresponding numbers. Make up the RJ45 using the pin out pattern.

If done correctly you will have a serial cable that you can use to directly connect to most Cisco devices.

feedback form

by yaplej edited by aryoba
last modified: 2008-03-31 13:33:11

Table C-1 T1/E1 Connector Pinouts using RJ45s


Pin Number Signal Name

1 ----- RX ring

2 ----- RX tip

3 ----- RX Ground

4 ----- TX ring

5 ----- TX tip

6 ----- TX Ground

7 ----- Not used

8 ----- Not used

Connect pin 1 to 4, 2 to 5, and 3 to 6.



Courtesy of yaplej.

feedback form

by yaplej edited by aryoba
last modified: 2005-11-13 13:44:55

You try to console into a Cisco router but have unreadable output? Most of the time problem is the speed mismatch between your computer (terminal simulator software) serial port and the router console port.

The idea to fix it is basically match them back. Therefore in general you should try to change baud speed of your terminal emulator software. Specifically for 2600 and 3600 series router, you also can reposition the router's jumper. Following is the Cisco link for details.

Cisco 2600 and 3600 Console Baud Reset Jumper

Check out the following thread for discussion.

/forum/remark,14259843
»2600 issues with Hyperterminal

When your router is neither 2600 nor 3600 series, then you might want to implement steps on the following FAQ.
»Cisco Forum FAQ »Used wrong config-register and now the router does not boot!

feedback form

by aryoba
last modified: 2008-05-13 14:51:19


Thank you for using lo-fi dslreports.com - report bugs
© 99-2008 silver matrix LLC