Devices

Cisco IOS Supported Commands: Routers

This page lists all IOS commands for routers supported in Packet Tracer 3.2.

User Mode commands:

- enable
- exit
- logout
- ping WORD
- show
  - access-lists { <1-999> | WORD }
  - history
  - interfaces
    - Ethernet <0-9> <0-0>
    - FastEthernet <0-9> <0-0>
    - GigabitEthernet <0-9> <0-0>
    - Serial <0-9> <0-0>
  - ip
    - access-lists
    - interface brief
    - nat translations
    - route
  - version
- traceroute WORD

Enable Mode commands:

- configure
  - terminal
- copy
  - running-config startup-config
  - startup-config running-config
- disable
- enable
- erase startup-config
- exit
- logout
- ping WORD
- reload
- show
  - access-lists { <1-999> | WORD }
  - arp
  - cdp
    - entry
      - * [version | protocol]
      - WORD [version | protocol]
    - interface [ Ethernet <0-9> <0-0> | FastEthernet <0-9> <0-0> | GigabitEthernet <0-9> <0-0> | Serial <0-9> <0-0> ]
    - neighbors [detail]
  - dhcp
  - history
  - interfaces
    - Ethernet <0-9> <0-0>
    - FastEthernet <0-9> <0-0>
    - GigabitEthernet <0-9> <0-0>
    - Serial <0-9> <0-0>
  - ip
    - access-lists
    - interface brief
    - nat translations
    - route
  - running-config
  - startup-config
  - version
- traceroute [WORD]
- write { erase | memory | terminal }

Global Mode commands:

- access-list
  - <1-99>
    - {deny | permit} A.B.C.D
    - {deny | permit} {A.B.C.D A.B.C.D | any | host A.B.C.D}
  - <100-199>
    - {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} [{eq <0-65535> | gt <0-65535> | lt <0-65535> | neq <0-65535> | range <0-65535> <0-65535>}] {A.B.C.D A.B.C.D | any | host A.B.C.D} [{eq <0-65535> | gt <0-65535> | lt <0-65535> | neq <0-65535> | range <0-65535> <0-65535>}]
  - {<1-99> | <100-199>} remark LINE
- cdp run
- end
- exit
- hostname WORD
- interface
  - Ethernet <0-9> <0-0>
  - FastEthernet <0-9> <0-0>
  - GigabitEthernet <0-9> <0-0>
  - Serial <0-9> <0-0>
- ip
  - access-list
    - extended {<100-199> | WORD}
    - standard {<1-99> | WORD}
  - dhcp
  - nat
    - inside source
      - list {<1-199> | WORD} interface {Ethernet | FastEthernet | GigabitEthernet | Serial} <0-9> [overload]
      - list {<1-199> | WORD} pool WORD [overload]
      - static A.B.C.D A.B.C.D
      - static {tcp | udp} A.B.C.D <1-65535> A.B.C.D <1-65535>
    - pool WORD A.B.C.D A.B.C.D
      - netmask A.B.C.D
      - prefix-length <1-32>
  - route
    - A.B.C.D A.B.C.D A.B.C.D
    - A.B.C.D A.B.C.D A.B.C.D <1-255>
- line console <0-0>
- no
  - access-list {<1-99> | <100-199>}
  - cdp run
  - hostname
  - ip
    - access-list
      - extended {<100-199> | WORD}
      - standard {<1-99> | WORD}
    - hostname
    - nat
      - inside source
        - list {<1-199> | WORD}
        - static A.B.C.D A.B.C.D
        - static {tcp | udp} A.B.C.D <1-65535> A.B.C.D <1-65535>
      - pool WORD
    - route
      - A.B.C.D A.B.C.D
      - A.B.C.D A.B.C.D A.B.C.D
      - A.B.C.D A.B.C.D A.B.C.D <1-255>
  - router rip
- router rip

Standard Access List Configuration Mode commands:

- default
  - {deny | permit} A.B.C.D
  - {deny | permit} {A.B.C.D A.B.C.D | any | host A.B.C.D}
- deny
  - A.B.C.D
  - {A.B.C.D A.B.C.D | any | host A.B.C.D}
- exit
- no
  - {deny | permit} A.B.C.D
  - {deny | permit} {A.B.C.D A.B.C.D | any | host A.B.C.D}
- permit
  - A.B.C.D
  - {A.B.C.D A.B.C.D | any | host A.B.C.D}
- remark LINE

Extended Access List Configuration Mode commands:

- 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} [{eq <0-65535> | gt <0-65535> | lt <0-65535> | neq <0-65535> | range <0-65535> <0-65535>}] {A.B.C.D A.B.C.D | any | host A.B.C.D} [{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}
  - {deny | permit} {tcp | udp} {A.B.C.D A.B.C.D | any | host A.B.C.D} [{eq <0-65535> | gt <0-65535> | lt <0-65535> | neq <0-65535> | range <0-65535> <0-65535>}] {A.B.C.D A.B.C.D | any | host A.B.C.D} [{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} [{eq <0-65535> | gt <0-65535> | lt <0-65535> | neq <0-65535> | range <0-65535> <0-65535>}] {A.B.C.D A.B.C.D | any | host A.B.C.D} [{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}
  - {deny | permit} {tcp | udp} {A.B.C.D A.B.C.D | any | host A.B.C.D} [{eq <0-65535> | gt <0-65535> | lt <0-65535> | neq <0-65535> | range <0-65535> <0-65535>}] {A.B.C.D A.B.C.D | any | host A.B.C.D} [{eq <0-65535> | gt <0-65535> | lt <0-65535> | neq <0-65535> | range <0-65535> <0-65535>}]
- remark LINE

Ethernet / FastEthernet / GigabitEthernet Interface Mode commands:

- cdp enable
- description LINE
- duplex {auto | full | half }
- exit
- ip
  - access-group {<1-199> | WORD} {in | out}
  - address A.B.C.D A.B.C.D
  - nat {inside | outside}
- mac-address H.H.H
- no
  - description
  - duplex
  - ip
    - access-group {in | out}
    - address
    - nat {inside | outside}
  - mac-address
  - shutdown
- shutdown
- speed { 10 | 100 | 1000 | auto} (100 and 1000 subcommands only available for FastEthernet and GigabitEthernet ports respectively)

Serial Interface Mode commands:

- clock rate <300-4000000> (only certain clock rates that are listed are valid)
- description LINE
- exit
- ip
  - access-group {<1-199> | WORD} {in | out}
  - address A.B.C.D A.B.C.D
  - nat {inside | outside}
- no
  - clock rate
  - description
  - duplex
  - ip
    - access-group {in | out}
    - address
    - nat {inside | outside}
  - shutdown
- shutdown

Line Console Mode commands:

- databits {5 | 6 | 7 | 8}
- default { databits | flowcontrol | history size | parity | speed | stopbits }
- exit
- flowcontrol {NONE | hardware | software}
- history size <0-256>
- ip
  - access-group {<1-199> | WORD} {in | out}
  - address A.B.C.D A.B.C.D
  - nat {inside | outside}
- no
  - default { databits | flowcontrol | history size | parity | speed | stopbits }
- parity {even | mark | none | odd | space}
- speed <0-4294967295>
- stopbits {1 | 1.5 | 2}

Router RIP Mode commands:

- auto-summary
- exit
- network A.B.C.D
- no
  - auto-summary
  - network A.B.C.D
  - passive-interface
    - Ethernet <0-9> <0-0>
    - FastEthernet <0-9> <0-0>
    - GigabitEthernet <0-9> <0-0>
    - Serial <0-9> <0-0>
    - default
  - version
- passive-interface
  - Ethernet <0-9> <0-0>
  - FastEthernet <0-9> <0-0>
  - GigabitEthernet <0-9> <0-0>
  - Serial <0-9> <0-0>
  - default
- version