Professional Documents
Culture Documents
CCNA Command Summary Cheat Sheet: Basic Router Commands
CCNA Command Summary Cheat Sheet: Basic Router Commands
enable
disable
Exit or logoff
Previous Command
Up arrow or Ctrl-P
Next Command
<ctrl>c
<tab>
Setting Passwords
Set Password for Console Port
line console 0
login
password password
line vty 0 4
login
password password
enable password password
configure terminal
copy run start
1
show version
show running-config
show startup-config
show flash
show interfaces
Configuring an Interface
To access an interface
shutdown
Configuring TCP/IP
To enable IP routing on a Router
To disable IP routing on a Router
show ip protocols
show ip route
IPX configuration
Enable IPX on a router
To enable load balancing
To assign a IPX network address to an
interface
To set the encapsulation type on an
interface
ipx routing
ipx maximum-paths number
ipx network network number
encap novell-ether
encap sap
encap arpa
encap snap
show ipx route
show ipx interface
show ipx servers
show ipx traffic
debug ipx routing activity
debug ipx sap
3
Copyright 2001 TNS Consulting Group, Inc. All rights reserved.
no cdp run
No cdp enable
cdp timer seconds
cdp holdtime seconds
Access-Lists
IP Standard Access Lists 1-99
Set parameters for this access list
test statement
Enable an interface to become part
of a group that uses the specified
access list.
IP Extended Access Lists 100-199
Set parameters for this access list
entry
access-list access-list-number,
permit |deny, source, [source-mask]
protocol access-group access-listnumber, in | out
access-list Access-list-number,
permit |deny, protocol, source,
source-mask,
destination, destination-mask,
[operator
operand], [established]
protocol access-group accesslist-number, in | out
ip access-list standard |
extended name
ip access-group name | 1-199,
in | out
show ip interfaces
show access-lists
access-list Access-list-number,
permit | deny, source-network
[.source-node],
[source-node-mask], [destinationnetwork],
[.destination-node] [destinationnodemask]
ipx access-group access-listnumber, in | out
access-list Access-list-number,
permit |
deny, protocol, source-network
[[[.source-node]source-node-mask] |
[.source-node
source-network-mask.source-nodemask]],
[source-socket], [destinationnetwork],[[[.
destination-node] destination-nodemask] | [destination-node
destination-network-
4
Copyright 2001 TNS Consulting Group, Inc. All rights reserved.
mask.destination-node-mask]],
[destination-socket], [log]
Enable an interface to become part
of a group that uses the specified
access list.
IPX SAP Filter Access Lists 10001099
Creates an entry in a SAP filter
list
WAN configuration
PPP Authentication
On each router defines the username
and password to
expect from the remote router
Configure the interface for ppp
encapsulation
Configure ppp authentication type
encapsulation ppp
PPP authentication chap | chap pap
|pap chap | pap
ppp pap sent-username
username password password
ppp chap hostname hostname
ppp chap password secret
encapsulation frame-relay
[cisco | ietf]
frame-relay lmi-type ansi |
cisco | q933i
frame-relay inverse-arp
[protocol] [dlci]
5
Copyright 2001 TNS Consulting Group, Inc. All rights reserved.
interface serial
number.subinterface-number
multipoint | point-to-point
Misc. Commands
Remove 10 minute interval router
waits for input
Set clock
Change number of lines history will
record (max 256)
Sets token ring speed to 16 Mbps
no exec-timeout or exec-timeout 0 0
clock set 20:26:00 04 July 2001
terminal history size lines
ring-speed 16
early-token release
media-type 10baseT
config-register 0x2102
www.RouterPrep.com
6
Copyright 2001 TNS Consulting Group, Inc. All rights reserved.