CONFIG T
ENABLE SECRET secret (where the first secret is the enable mode, and the second “secret” is the password)
LINE CON 0
PASSWORD password (where the first password is the viewing password and the second “password” is the actual password)
LOGIN (forces you to login in order to even view anything)
CONFIG T
LINE VTY 0 4 (Note that it is 0 4 NOT 0-4)
PASSWORD telnet (where “telnet” is the password used)
LOGIN
EXIT or CTRL Z
CONFIG T
SERVICE PASSWORD-ENCRYPTION
CONFIG T
USERNAME ROOT SECRET MY$PASSWORD
CONFIG T
LINE CON 0
LOGIN LOCAL
LINE AUX 0
LOGIN LOCAL
LINE VTY 0 4
LOGIN LOCAL
CONFIG T
INT E0
IP ADDRESS 10.200.50.1 255.255.255.0
NO SHUTDOWN
type in CTRL Z to exit config mode
to exit the config-if submode: type in EXIT
CONFIG T
INT S0 (or S1) (NOTE: for 2600 series, all interfaces are labeled E0/0 or S0/0 or S0/1 etc.)
IP ADDRESS 131.107.252.1 255.255.255.252
CLOCKRATE 56000 (DCE Interface ONLY)
NO SHUTDOWN
DESCRIPTION Network to ISP (This is like a comment field)
CONFIG T
IP ROUTE 0.0.0.0 0.0.0.0 192.168.0.1 (IP address of next hop router)
OR
IP DEFAULT-NETWORK 192.168.0.0 (You can use one or the other, but not both)
CONFIG T
IP ROUTE 10.200.50.1 255.255.255.0 192.168.0.1
(where 10.200.50.1 is the IP address of the router and 192.168.0.1 is the next hop router IP address)
COPY RUN START (copies the running config to the startup config)
COPY START TFTP (copies the startup config to a TFTP server- usually the laptop or PC attached to the E0 or E1 interface)
COPY TFTP RUN (copies the file specified in the TFTP server to the running config- assists in setting up your backup router in approx 2 min instead of wading through configuration AGAIN)
COPY FLASH TFTP (copies the IOS to the TFTP server- good for backups)
COPY TFTP FLASH (copies the backup or the new IOS to FLASH)
CONFIG T
HOSTNAME goofy
SHOW IP ROUTE
SHOW IP INTERFACE BRIEF
SHOW CONTROLLER S0 (shows whether or not the serial cable is DCE or DTC)
PING ip address
TRACE ip address (NOT TRACERT- that is a WINDOWS command!!)
DEBUG IP RIP (to turn off NO DEBUG ALL- run this command FIRST, so that it’s in the buffer)
SHOW CDP NEIGHBORS
SHOW CDP NEIGHBORS DETAIL
SHOW IP PROTOCOLS
SHOW VERSION (shows WHICH IOS version is currently running- also shows config-register setting)
SHOW FLASH (contains all of the IOS versions stored in FLASH)
CONFIG T
NO IP DOMAIN-LOOKUP
CONFIG T
IP NAME-SERVER IP-ADDRESS (or possibly 10.200.200.1 – DNS Server IP address)
CONFIG T
BANNER MOTD~ enter text message here …end with the ~ character (lets the router know when to stop the banner)
CONFIG T
NO LOGGING CONSOLE
CONFIG T
NO IP HTTP SERVER
CONFIG T
ALIAS EXEC S SH RUN (this enables you to simply type in S instead of SHOW RUNNING-CONFIGURATION)