Cisco Router Configuration Commands
Requirement Cisco Command
Set a console password Router(config)#line con 0
to cisco 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 Router(config)#enable
to cisco password cisco
Set the enable secret
password to peter. Router(config)#enable secret
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(config-if)clock rate
router with a DCE cable 64000
to 64K
Set a logical bandwidth Router(config-if)bandwidth 64
assignment of 64K to
the serial interface Note that the zeroes are not
missing
To add an IP address to Router(config-if)#ip addr
a interface 10.1.1.1 255.255.255.0
To enable RIP on all Router(config)#router rip
172.16.x.y interfaces Router(config-router)#network
172.16.0.0
Disable RIP Router(config)#no router rip
To enable IRGP with a Router(config)#router igrp
AS of 200, to all 200
interfaces Router(config-router)#network
172.16.0.0
Disable IGRP Router(config)#no router igrp
200
Static route the remote Router(config)#ip route
network is 172.16.1.0, 172.16.1.0 255.255.255.0
with a mask of 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 Router(config)#no cdp run
whole router
Enable CDP for he Router(config)#cdp run
whole router
Disable CDP on an Router(config-if)#no cdp
interface 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 show flash
space
Shows all logs that the show log
router has in its memory
View the interface status of show interface e0
interface e0
Overview all interfaces on show ip interfaces brief
the router
View type of serial cable show controllers 0 (note the
on s0 space between the 's' and the
'0')
Display a summary of show cdp neighbor
connected cdp devices
Display detailed show cdp entry *
information on all devices
Display current routing show ip protocols
protocols
Display IP routing table show ip route
Display access lists, this show access-lists
includes the number of
displayed matches
Check the router can see show isdn status
the ISDN switch
Check a Frame Relay PVC show frame-relay pvc
connections
show lmi traffic stats show frame-relay lmi
Display the frame inverse show frame-relay map
ARP table
Cisco Router Basic Operations
Requirement Cisco Command
Enable Enter privileged mode
Return to user mode from disable
privileged
Exit Router Logout or exit or quit
Recall last command up arrow or
Recall next command down arrow or
Suspend or abort
Refresh screen output
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
Requirement Cisco Command
Enable debug for RIP debug ip rip
Enable summary IGRP debug ip igrp events
debug information
Enable detailed IGRP debug ip igrp transactions
debug information
Debug IPX RIP debug ipx routing activity
Debug IPX SAP debug IPX SAP
Enable debug for CHAP debug ppp authentication
or PAP
Switch all debugging off no debug all
undebug all