Switching between routing protocols

exkor5000exkor5000 Member Posts: 54 ■■□□□□□□□□
if for instance I issue the commands
R1(config)#router rip
R1(config-router)#network 192.168.10.0

and then I issue
R1(config)#router osfp 1
R1(config-router)#network 192.168.10.0 0.0.0.255 area 0

would the router switch from RIP to OSFP, or would it now use RIP and OSPF simultaneously?

Thanks
X

Comments

  • mikej412mikej412 Member Posts: 10,086 ■■■■■■■■■■
    Run both simultaneously.

    If the exact same network(s) are known to both routing protocols, then the one with the lower Administrative Distance will be the preferred route and placed in the routing table.
    :mike: Cisco Certifications -- Collect the Entire Set!
  • exkor5000exkor5000 Member Posts: 54 ■■□□□□□□□□
    great! ok so now if for instance i make a mistake and i want to disable RIP. What commands would I issue for this?

    wild guess >> no router rip? :D

    Thank
    X
  • mwgoodmwgood Member Posts: 293
    exkor5000 wrote:
    great! ok so now if for instance i make a mistake and i want to disable RIP. What commands would I issue for this?

    wild guess >> no router rip? :D

    Yep. In global config mode.
  • exkor5000exkor5000 Member Posts: 54 ■■□□□□□□□□
    yep that worked

    Thanks!!
  • Ching01Ching01 Member Posts: 83 ■■□□□□□□□□
    OSPF AD is 110 and RIP is 120 so the lowest Administrative Distance will populate the routing table. Running multiple routing protocols on a router is wasting bandwidth and CPU memory.
  • exkor5000exkor5000 Member Posts: 54 ■■□□□□□□□□
    thanks for the feedback
    i know about ADs.

    actually a good way to remember them is by the acronym:
    EIORE
    90, 100, 110, 120, 170

    Thanks
    X
Sign In or Register to comment.