' Internetwork Operating System

Internetwork Operating System

The IOS shell is a little old fashioned, as command interpreters go. It remembers context or state.

ESCAPE

CTRL SHIFT 6
Use of masks is erratic: Light grey shows privileged commands.
CommandExampleExplanation

show interfaces
show version
show ip route
show ip interface ethernet0

show interfaces
show version
show ip route
show ip interface ethernet0
Show public configuration

enable

enable
Enter privileged mode (root/admin)

show interfaces
show version
show ip route
show ip interface ethernet0

show running-config

show interfaces
show version
show ip route
show ip interface ethernet0

show running-config

configure terminal
 
   interface interface
   ip address address netmask

   router rip

      network    classed network
      no network classed network

   router ospf AS

      network     network wildmask area number
      no network  network wildmask area number

   debug ip rip
   no debug ip rip

configure terminal
 
   interface ethernet0
   ip address 128.39.89.1 255.255.255.0

   router rip

      network    128.39.89.0
      no network 128.39.89.0

   router ospf 100

      network    128.39.89.0     0.0.0.255    area 1
      no network 128.39.89.0     0.0.0.255    area 1

   debug ip rip
   no debug ip rip
  • Set IP address on interface
  • Add route
  • Delete route
    with RIP and OSPF
  • 
    copy running-config startup-config
    
    
    copy running-config startup-config
    
    Save changes before reboot