1/5 Document Type Document Title
Author Date, Version
Unit/Dept. For internal use
Cisco Router Configuration Commands
Requirement Cisco Command
Set a console password to cisco Router(config)#line con 0
Router(config-line)#login
Router(config-line)#password cisco
Set a telnet password Router(config)#line vty 0 4
Router(config-line)#login
Router(config-line)#password cisco
Stop console timing out Router(config)#line con 0
Router(config-line)#exec-timeout 0 0
Set the enable password to cisco Router(config)#enable password cisco
Set the enable secret password to Router(config)#enable secret peter
peter.
This password overrides the
enable password and is
encypted within the config file
Enable an interface Router(config-if)#no shutdown
To disable an interface Router(config-if)#shutdown
Set the clock rate for a router Router(config-if)clock rate 64000
with a DCE cable to 64K
Set a logical bandwidth Router(config-if)bandwidth 64
assignment of 64K to the serial Note that the zeroes are not missing
interface
To add an IP address to a Router(config-if)#ip addr 10.1.1.1
interface 255.255.255.0
To enable RIP on all 172.16.x.y Router(config)#router rip
interfaces Router(config-router)#network
172.16.0.0
2/5 Document Type Document Title
Author Date, Version
Unit/Dept. For internal use
Disable RIP Router(config)#no router rip
To enable IRGP with a AS of Router(config)#router igrp 200
200, to all interfaces Router(config-router)#network
172.16.0.0
Disable IGRP Router(config)#no router igrp 200
Static route the remote network Router(config)#ip route 172.16.1.0
is 172.16.1.0, with a mask of 255.255.255.0 172.16.2.1 5
255.255.255.0, the next hop is
172.16.2.1, at a cost of 5 hops
Disable CDP for the whole Router(config)#no cdp run
router
Enable CDP for he whole router Router(config)#cdp run
Disable CDP on an interface Router(config-if)#no cdp enable
Cisco Router Show Commands
Requirement Cisco Command
View version information show version
View current configuration show running-config
(DRAM)
View startup configuration show startup-config
(NVRAM)
Show IOS file and flash space show flash
Shows all logs that the router has show log
in its memory
View the interface status of show interface e0
interface e0
3/5 Document Type Document Title
Author Date, Version
Unit/Dept. For internal use
Overview all interfaces on the show ip interfaces brief
router
View type of serial cable on s0 show controllers 0 (note the space
between the 's' and the '0')
Display a summary of connected show cdp neighbor
cdp devices
Display detailed information on show cdp entry *
all devices
Display current routing protocols show ip protocols
Display IP routing table show ip route
Display access lists, this includes show access-lists
the number of displayed matches
Check the router can see the show isdn status
ISDN switch
Check a Frame Relay PVC show frame-relay pvc
connections
show lmi traffic stats show frame-relay lmi
Display the frame inverse ARP show frame-relay map
table
Cisco Router Basic Operations
Requirement Cisco Command
Enable Enter privileged mode
Return to user mode from disable
privileged
4/5 Document Type Document Title
Author Date, Version
Unit/Dept. For internal use
Exit Router Logout or exit or quit
Recall last command up arrow or <Ctrl-P>
Recall next command down arrow or <Ctrl-N>
Suspend or abort <Shift> and <Ctrl> and 6 then x
Refresh screen output <Ctrl-R>
Compleat Command TAB
Cisco Router Copy Commands
Requirement Cisco Command
Save the current configuration copy running-config startup-config
from DRAM to NVRAM
Merge NVRAM configuration to copy startup-config running-config
DRAM
Copy DRAM configuration to a copy runing-config tftp
TFTP server
Merge TFTP configuration with copy tftp runing-config
current router configuration held
in DRAM
Backup the IOS onto a TFTP copy flash tftp
server
Upgrade the router IOS from a copy tftp flash
TFTP server
Cisco Router Debug Commands
5/5 Document Type Document Title
Author Date, Version
Unit/Dept. For internal use
Requirement Cisco Command
Enable debug for RIP debug ip rip
Enable summary IGRP debug debug ip igrp events
information
Enable detailed IGRP debug debug ip igrp transactions
information
Debug IPX RIP debug ipx routing activity
Debug IPX SAP debug IPX SAP
Enable debug for CHAP or PAP debug ppp authentication
Switch all debugging off no debug all
undebug all