Cisco RJ-45 to DB-25 pin-outs and cable creation
Cisco RJ-45 to DE-9 pin-outs and cable creation
The cisco documentation notes that the console serial settings should be 9600,n,8,2 however I've always justed 9600,n,8,1
When you boot up for the first time the cisco should walk you through an
initial configuration dialog in which you can setup some IP addresses.
Generally I say no to pretty much everything, and just do it by hand.
The default is to enable IGRP which I don't recommend unless
you actually need it (most people don't).
If your router already has a configuration and you want to clear it and
start fresh, go into enable mode and type write erase and then
reload the router without saving the configuration.
Cisco's in general have two modes, normal user mode, and enable mode. To toggle between them you use the commands enable and disable and generally the prompt will change from hostname> to hostname# when going into enable mode.
Modern cisco's have a variety of passwords; there's the enable secret which is the password used to go into enable mode. There's also an 'enable password' which is used to go into enable mode when the encryption software is not running (this is rarely or never - I always use 'dummy' as the 'enable password'). There's a 'vty' password which is the password used when you telnet to the router, and there are also passwords for the console port and the aux port. Not all passwords are required, I normally only configure a vty password and an enable secret.
If for some reason you lose your enable password, login to the router and do a show version. Near the bottom of the output you will see something like:
Configuration register is XXXX0x2102 is a typical value. Then power cycle the router, and immediately after it shows the bootup banner, send a BREAK to the console. You should be dropped to a '>' prompt. At this prompt do the following:
> o/r > iand the router will then boot. When it comes up, it will not parse the configuration file, and you should be able to go into enable mode and set a new password. A word of caution: you will lose all non-trivial configuration such as dynamic routing, frame-relay, isdn - pretty much everything except static routes and interface IP addresses. Once you've reset the enable secret (and/or enable password) then issue:
router#config term Enter configuration commands, one per line. End with CNTL/Z. router(config)#config XXXX router(config)#^Z router#where XXXX is the value shown in the show version - if you were unable to login to view that value, try using 0x2102