More Cisco information



Set a console password to cisco

Other information: Set a telnet password

Stop console timing out

Cisco Command - Cisco Router Commands - Cisco IP Addressing Commands - Cisco IP Services Commands Router(config)#line con 0 - Cisco Router and Switch Commands Router(config-line)#login - Cisco Router Configuration Commands Router(config-line)#password cisco - LAB 1 Basic Cisco configuration commands - IP6 Next Generation Overview Router(config)#line vty 0 4 - Linux Commands Router(config-line)#login - Tom's MCSE Notes Router(config-line)#password cisco - Tom's A+ Plus Notes - Tom's Networking+ (Net+) Plus Notes Router(config)#line con 0 Router(config-line)#exec-timeout 0 0 Router(config)#enable password cisco Router(config)#enable secret peter

Set the enable password to cisco Set the enable secret password to peter. This password overrides the enable password and is encypted within the config file Enable an interface To disable an interface Set the clock rate for a router with a DCE cable to 64K Set a logical bandwidth assignment of 64K to the serial interface

Router(config-if)#no shutdown Router(config-if)#shutdown Router(config-if)clock rate 64000 Router(config-if)bandwidth 64 Note that the zeroes are not missing Router(config-if)#ip addr Router(config)#router rip Router(config-router)#network Router(config)#no router rip Router(config)#router igrp 200 Router(config-router)#network Router(config)#no router igrp 200 Router(config)#ip route 5 Router(config)#no cdp run Router(config)#cdp run Router(config-if)#no cdp enable

To add an IP address to a interface

To enable RIP on all 172.16.x.y interfaces

Disable RIP To enable IRGP with a AS of 200, to all interfaces

Disable IGRP Static route the remote network is, with a mask of, the next hop is, at a cost of 5 hops Disable CDP for the whole router Enable CDP for he whole router Disable CDP on an interface

Cisco Router Configuration Commands
Cisco Router Show Commands Requirement Requirement View version information Enable View current configuration (DRAM) Return to user mode from privileged View startup configuration (NVRAM) Exit Router Show IOS file and flash space Recall last command Shows all logs that the router has in its memory Recall next command View the interface status of interface e0 Suspend or abort Overview all interfaces on the router Refresh screen output View type of serial cable on s0 Compleat Command Display a summary of connected cdp devices Display detailed information on all devices Display current routing protocols Display IP routing table Display access lists, this includes the number of displayed matches Check the router can see the ISDN switch Check a Frame Relay PVC connections show lmi traffic stats Display the frame inverse ARP table Cisco Router Basic Operations show version Cisco Command Cisco Command

Enter privileged mode show running-config disable show startup-config

Logout or exit or quit show flash up arrow or <Ctrl-P> show log down arrow or <Ctrl-N> show interface e0 <Shift> and <Ctrl> and 6 then x show ip interfaces brief <Ctrl-R> TAB show controllers 0 (note the space between the 's' and the '0') show cdp neighbor show cdp entry * show ip protocols show ip route show access-lists

show isdn status show frame-relay pvc show frame-relay lmi show frame-relay map

Cisco Router Copy Commands Requirement Save the current configuration from DRAM to NVRAM Merge NVRAM configuration to DRAM Copy DRAM configuration to a TFTP server Merge TFTP configuration with current router configuration held in DRAM Backup the IOS onto a TFTP server Upgrade the router IOS from a TFTP server Cisco Router Debug Commands Requirement Enable debug for RIP Enable summary IGRP debug information Enable detailed IGRP debug information Debug IPX RIP Debug IPX SAP Enable debug for CHAP or PAP Switch all debugging off debug ip rip debug ip igrp events debug ip igrp transactions debug ipx routing activity debug IPX SAP debug ppp authentication no debug all undebug all Cisco Command Cisco Command copy running-config startup-config

copy startup-config running-config copy runing-config tftp copy tftp runing-config

copy flash tftp copy tftp flash

Router (Router commands) working with two main ports, configuration and communication port. We manage all router setting using configuration port. Here are some useful router commands to manage router configuration.

Set Line Console Password

• • • • • • •

router>enable router#configure terminal router(config)#line console 0 router(config-line)#login router(config-line)#password submask router(config-line)#exit router(config)#exit

Remove Console password

• • • • • • •

router>enable router#configure terminal router(config)#line console 0 router(config-line)#no login router(config-line)#no password router(config-line)#exit router(config)#exit

Remove Secret Password • • • • router>enable router#configure terminal router(config)#no enable secret router(config)#exit

How to check Configuration Register Value • • router>enable router#show version

How to Administratively shutdown Router's Interface • • • • router>enable router#configure terminal router(config)#int s0/0 router(config-if)#shutdown

To Enable Router's Serial Interface

• • •

router#configure terminal router(config)#int s0/0 router(config-if)#no shutdown

To check Serial Interface • • router>enable router(config)#show interfaces s0/0

To set Clock rate on Router's Serial Interface • • • • router>enable router#configure terminal router(config)#interface s0/0 router(config-if)#clock rate 64000

DTE/DCE Status • • router>enable router#show controllers s0/0

To Save Running Configuratoin • router#copy running-config startup-config

IOS uploading from Router to TFTP Server • router#copy flash: tftp

Backup Startup Configuration to TFTP • router#copy startup-config tftp

To Save Running Configuration • router#write memory

Deletion of NVRAM Configuration • router#write erase

To check NVRAM Configuration

router#show staratup-config