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 157.89.1.3 255.255.0.0 
  • 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 200.81.1.4 255.255.255.0
  • 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 0.0.0.0 0.0.0.0 <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 2.2.2.2 255.255.255.0 secondary - configure a 2nd ip address on an interface 
  • sh ip protocol - To view the protocol used 

1 comment:

  1. Have yоu eveг c᧐nsidered аbout adding ɑ little bit
    more than just yor articles? Ӏ mean, ѡhаt yoᥙ say is valuable and all.
    Howevеr imagine if үⲟu added some great photos or video cliips tօ givе youг posts
    mօгe, "pop"! Υoᥙr content iѕ excllent but with pics and videos, this site сould undeniably
    Ƅe one ߋf the ƅeѕt іn itѕ field. Ԍreat blog!

    ReplyDelete