Routers: IOS
Packet Tracer 4.11 uses a simplified model of the Cisco IOS. Click on the CLI tab in the router configuration window to access the Cisco IOS command line interface for the router. Use the Copy and Paste buttons to copy and paste text to or from the command line. This page lists the Cisco IOS command tree for the Cisco 2811 router which uses the superset command tree of all routers in Packet Tracer 4.11. The Cisco 2620XM/2621XM routers use a subset of this command tree. The tree contains only Cisco IOS command chains that are supported by the Packet Tracer 4.11.
User Mode
Enable Mode
Global Mode
Standard Access List Configuration Mode
default
deny
A.B.C.D [ A.B.C.D ]
any
host A.B.C.D
permit
A.B.C.D [ A.B.C.D ]
any
host A.B.C.D
deny
A.B.C.D [ A.B.C.D ]
any
host A.B.C.D
exit
no
deny
A.B.C.D [ A.B.C.D ]
any
host A.B.C.D
permit
A.B.C.D [ A.B.C.D ]
any
host A.B.C.D
permit
A.B.C.D [ A.B.C.D ]
any
host A.B.C.D
remark LINE
Extended Access List Configuration Mode
default
[ deny | permit ] [ icmp | ip ] [ A.B.C.D A.B.C.D | any | host A.B.C.D ] [ A.B.C.D A.B.C.D | any | host A.B.C.D ]
[ deny | permit ] [ tcp | udp ] [ A.B.C.D A.B.C.D | any | host A.B.C.D ] [ A.B.C.D A.B.C.D | any | eq <0-65535> | host A.B.C.D | gt <0-65535> | lt <0-65535> | neq <0-65535> | range <0-65535> <0-65535> ] [ eq <0-65535> | gt <0-65535> | lt <0-65535> | neq <0-65535> | range <0-65535> <0-65535> ]
deny
[ icmp | ip ] [ A.B.C.D A.B.C.D | any | host A.B.C.D ] [ A.B.C.D A.B.C.D | any | host A.B.C.D ]
[ tcp | udp ] [ A.B.C.D A.B.C.D | any | host A.B.C.D ] [ A.B.C.D A.B.C.D | any | eq <0-65535> | host A.B.C.D | gt <0-65535> | lt <0-65535> | neq <0-65535> | range <0-65535> <0-65535> ] [ eq <0-65535> | gt <0-65535> | lt <0-65535> | neq <0-65535> | range <0-65535> <0-65535> ]
exit
no
[ deny | permit ] [ icmp | ip ] [ A.B.C.D A.B.C.D | any | host A.B.C.D ] [ A.B.C.D A.B.C.D | any | host A.B.C.D ]
[ deny | permit ] [ tcp | udp ] [ A.B.C.D A.B.C.D | any | host A.B.C.D ] [ A.B.C.D A.B.C.D | any | eq <0-65535> | host A.B.C.D | gt <0-65535> | lt <0-65535> | neq <0-65535> | range <0-65535> <0-65535> ] [ eq <0-65535> | gt <0-65535> | lt <0-65535> | neq <0-65535> | range <0-65535> <0-65535> ]
permit
[ icmp | ip ] [ A.B.C.D A.B.C.D | any | host A.B.C.D ] [ A.B.C.D A.B.C.D | any | host A.B.C.D ]
[ tcp | udp ] [ A.B.C.D A.B.C.D | any | host A.B.C.D ] [ A.B.C.D A.B.C.D | any | eq <0-65535> | host A.B.C.D | gt <0-65535> | lt <0-65535> | neq <0-65535> | range <0-65535> <0-65535> ] [ eq <0-65535> | gt <0-65535> | lt <0-65535> | neq <0-65535> | range <0-65535> <0-65535> ]
remark LINE
Ethernet / FastEthernet / GigabitEthernet Interface Mode
arp timeout <0-2147483>
bandwidth <1-10000000>
cdp enable
delay <1-16777215>
description LINE
duplex [ auto | full | half ]
exit
ip
access-group [ <1-199> | WORD ] [ in | out ]
address
hello-interval eigrp <1-65535> <1-65535>
nat [ inside | outside ]
ospf
authentication [ message-digest | null ]
authentication-key LINE
cost <1-65535>
dead-interval <1-65535>
hello-interval <1-65535>
message-digest-key <1-255> md5 LINE
priority <0-255>
split-horizon
summary-address eigrp <1-65535> A.B.C.D A.B.C.D [ <1-255> ]
mac-address H.H.H
no
arp timeout
bandwidth
cdp enable
delay
description
duplex
ip
access-group [ <1-199> | WORD ] [ in | out ]
address [ dhcp ]
hello-interval eigrp <1-65535>
nat [ inside | outside ]
ospf
authentication
authentication-key
cost
dead-interval
hello-interval
message-digest-key <1-255>
priority
split-horizon
summary-address eigrp <1-65535> A.B.C.D A.B.C.D [ <1-255> ]
mac-address
shutdown
speed
shutdown
speed [ 10 | 100 | 1000 | auto ] (10/100 options are only available for FastEthernet and GigabitEthernet
interfaces and 10/100/1000 options are only available for GigabitEthernet interfaces respectively)
Ethernet / FastEthernet / GigabitEthernet Sub-Interface
Mode
arp timeout <0-2147483>
bandwidth <1-10000000>
delay <1-16777215>
description LINE
encapsulation dot1Q <1-1005> [ native ]
exit
ip
access-group [ <1-199> | WORD ] [ in | out ]
address
hello-interval eigrp <1-65535> <1-65535>
nat [ inside | outside ]
ospf
authentication [ message-digest | null ]
authentication-key LINE
cost <1-65535>
dead-interval <1-65535>
hello-interval <1-65535>
message-digest-key <1-255> md5 LINE
priority <0-255>
split-horizon
summary-address eigrp <1-65535> A.B.C.D A.B.C.D [ <1-255> ]
no
arp timeout
bandwidth
delay
description
encapsulation dot1Q
ip
access-group [ <1-199> | WORD ] [ in | out ]
address [ dhcp ]
hello-interval eigrp <1-65535>
nat [ inside | outside ]
ospf
authentication
authentication-key
cost
dead-interval
hello-interval
message-digest-key <1-255>
priority
split-horizon
summary-address eigrp <1-65535> A.B.C.D A.B.C.D [ <1-255> ]
shutdown
shutdown
Serial Interface Mode
bandwidth <1-10000000>
cdp enable
clock rate <1200-4000000> (only
certain clock rates that are listed are valid)
delay <1-16777215>
description LINE
encapsulation
hdlc
ppp
frame-relay [ ietf ]
exit
frame-relay
interface-dlci <16-1007>
lmi-type [ ansi | cisco | q933a ]
map ip A.B.C.D <16-1007>
broadcast [ cisco | ietf ]
cisco [ broadcast ]
ietf [ broadcast ]
ip
access-group [ <1-199> | WORD ] [ in | out ]
address A.B.C.D A.B.C.D
hello-interval eigrp <1-65535> <1-65535>
nat [ inside | outside ]
ospf
authentication [ message-digest | null ]
authentication-key LINE
cost <1-65535>
dead-interval <1-65535>
hello-interval <1-65535>
message-digest-key <1-255> md5 LINE
priority <0-255>
split-horizon
summary-address eigrp <1-65535> A.B.C.D A.B.C.D [ <1-255> ]
keepalive
no
bandwidth <1-10000000>
cdp enable
clock rate
delay
description
encapsulation
frame-relay
interface-dlci <16-1007>
lmi-type [ ansi | cisco | q933a ]
map ip A.B.C.D
ip
access-group [ <1-199> | WORD ] [ in | out ]
address [ dhcp ]
hello-interval eigrp <1-65535>
nat [ inside | outside ]
ospf
authentication
authentication-key
cost
dead-interval
hello-interval
message-digest-key <1-255>
priority
split-horizon
summary-address eigrp <1-65535> A.B.C.D A.B.C.D [ <1-255> ]
keepalive
ppp
authentication
pap sent-username
shutdown
ppp
authentication chap [ pap ]
authentication pap [ chap ]
shutdown
VLAN Interface Mode
arp timeout <0-2147483>
bandwidth <1-10000000>
delay <1-16777215>
description LINE
exit
ip
access-group [ <1-199> | WORD ] [ in | out ]
address
hello-interval eigrp <1-65535> <1-65535>
nat [ inside | outside ]
ospf
authentication [ message-digest | null ]
authentication-key LINE
cost <1-65535>
dead-interval <1-65535>
hello-interval <1-65535>
message-digest-key <1-255> md5 LINE
priority <0-255>
split-horizon
summary-address eigrp <1-65535> A.B.C.D A.B.C.D [ <1-255> ]
mac-address H.H.H
no
arp timeout
bandwidth
delay
description
ip
access-group [ <1-199> | WORD ] [ in | out ]
address [ dhcp ]
hello-interval eigrp <1-65535>
nat [ inside | outside ]
ospf
authentication
authentication-key
cost
dead-interval
hello-interval
message-digest-key <1-255>
priority
split-horizon
summary-address eigrp <1-65535> A.B.C.D A.B.C.D [ <1-255> ]
mac-address
shutdown
shutdown
VLAN Configuration Mode
exit
no
vlan <1-1005>
vtp
client
password
transparent
v2-mode
vlan <1-1005> [ name ] [ WORD ]
vtp
client
domain WORD
password WORD
server
transparent
v2-mode
Line Configuration Mode
access-class [ <1-199> | <1300-2699> | WORD ] [ in | out ]
databits [ 5 | 6 | 7 | 8 ]
default [ databits | flowcontrol | history size |
parity | speed | stopbits ]
exit
flowcontrol [ NONE | hardware | software ]
history size <0-256>
login [ local ]
motd-banner
no [ access-class [ <1-199> | <1300-2699> | WORD ] [ in | out ] | databits | flowcontrol | history size | login | motd-banner | parity | password | session-limit | speed | stopbits ]
parity [ even | mark | none | odd | space ]
password
session-limit <0-4294967295>
speed <0-4294967295>
stopbits [ 1 | 1.5 | 2 ]
Router EIGRP Mode
auto-summary
exit
metric weights <0-8> <0-256> <0-256>
<0-256> <0-256> <0-256>
network A.B.C.D [ A.B.C.D ]
no
auto-summary
metric weights
network A.B.C.D [ A.B.C.D ]
passive-interface
Ethernet <0-9>/<0-24>[ . ][ <0-4294967295> ]
FastEthernet <0-9>/<0-24>[ . ][ <0-4294967295> ]
GigabitEthernet <0-9>/<0-24>[ . ][ <0-4294967295> ]
Loopback <0-2147483647>
Serial <0-9>/<0-24>
default
variance <1-128>
passive-interface
Ethernet <0-9>/<0-24>[ . ][ <0-4294967295> ]
FastEthernet <0-9>/<0-24>[ . ][ <0-4294967295> ]
GigabitEthernet <0-9>/<0-24>[ . ][ <0-4294967295> ]
Loopback <0-2147483647>
Serial <0-9>/<0-24>
default
variance <1-128>
Router OSPF Mode
area [ <0-4294967295> | A.B.C.D ] authentication [ message-digest ]
default-information originate
exit
log-adjacency-changes [ detail ]
network A.B.C.D A.B.C.D area [ <0-4294967295> | A.B.C.D ]
no
area [ <0-4294967295> | A.B.C.D ] authentication [ message-digest ]
default-information
log-adjacency-changes [ detail ]
network A.B.C.D A.B.C.D area [ <0-4294967295> | A.B.C.D ]
passive-interface
Ethernet <0-9>/<0-24>[ . ][ <0-4294967295> ]
FastEthernet <0-9>/<0-24>[ . ][ <0-4294967295> ]
GigabitEthernet <0-9>/<0-24>[ . ][ <0-4294967295> ]
Loopback <0-2147483647>
Serial <0-9>/<0-24>
default
passive-interface
Ethernet <0-9>/<0-24>[ . ][ <0-4294967295> ]
FastEthernet <0-9>/<0-24>[ . ][ <0-4294967295> ]
GigabitEthernet <0-9>/<0-24>[ . ][ <0-4294967295> ]
Loopback <0-2147483647>
Serial <0-9>/<0-24>
default
Router RIP Mode
auto-summary
default-information originate
distance <1-255>
exit
network A.B.C.D
no
auto-summary
default-information
distance <1-255>
network A.B.C.D
passive-interface
Ethernet <0-9>/<0-24>[ . ][ <0-4294967295> ]
FastEthernet <0-9>/<0-24>[ . ][ <0-4294967295> ]
GigabitEthernet <0-9>/<0-24>[ . ][ <0-4294967295> ]
Loopback <0-2147483647>
Serial <0-9>/<0-24>
default
timers basic
version <1-2>
passive-interface Ethernet <0-9>/<0-24>[ . ][ <0-4294967295> ]
FastEthernet <0-9>/<0-24>[ . ][ <0-4294967295> ]
GigabitEthernet <0-9>/<0-24>[ . ][ <0-4294967295> ]
Loopback <0-2147483647>
Serial <0-9>/<0-24>
default
timers basic <0-4294967295> <1-4294967295> <0-4294967295> <1-4294967295>
version <1-2>
DHCP Pool Configuration Mode
default-router A.B.C.D
dns-server A.B.C.D
exit
network A.B.C.D A.B.C.D
no dns-server
Rommon Mode
boot
confreg config-register-number
dir flash:
help
reset
set
tftpdnld
unset variable (where veriable = value)