Basic: Cisco IP Commands

Here is a list of the IP Commands

Configure IP on an interface: 
Serial interface
  • Router(config)#interface serial 0 
  • Router(config-if)#p address 
  • Router(config-if)#Clock rate 64000
  • Router(config-if)#encapsulation hdlc
  • Router(config-if)#no shutdown
  • Router(config-if)#exit

Fast ethernet interface
  • Router(config)#int fa 0/0 
  • Router(config-if)#ip address
  • Router(config-if)##no shutdown
  • Router(config-if)#exit

Other IP Commands: 

  • sh ip route - view ip routing table 
  • ip route <remote_network> <mask> <default_gateway> [administrative_distance] - configure a static IP route 
  • ip route <put gateway of the last resort here> - sets default gateway 
  • ip classless - use with static routing to allow packets destined for unrecognized subnets to use the best possible route 
  • sh arp - view arp cache; shows MAC address of connected routers 
  • ip address secondary - configure a 2nd ip address on an interface 
  • sh ip protocol - To view the protocol used 


Post a Comment