Skip navigation
Login   |   Register
Cisco Learning Home > CCNP R&S Study Group > Discussions
7280 Views 8 Replies Latest reply: Mar 9, 2011 4:50 PM by Paul Stewart - CCIE Security RSS

Currently Being Moderated

EIGRP and OSPF comparison

Mar 1, 2011 9:18 PM

Deepak 312 posts since
Jun 25, 2008

Hi,

 

Question may sound weird but just to tease your brain...

 

     What is the difference between EIGRP topology table and OSPF topology table?

 

 

 

 

Regards,

Deepak

  • Wesley Kirby 154 posts since
    Aug 28, 2008
    Currently Being Moderated
    1. Mar 1, 2011 10:01 PM (in response to Deepak)
    Re: EIGRP and OSPF comparison

    EIGRP only shows successor and feasible successor routes...OSPF shows all routes it knows.

    Join this discussion now: Login / Register
  • Brian 2,971 posts since
    Aug 17, 2009
    Currently Being Moderated
    2. Mar 1, 2011 10:53 PM (in response to Deepak)
    Re: EIGRP and OSPF comparison

    Well, technically OSPF does not have a topology table, it is known as the OSPF database.  But as Wesley mentions, the EIGRP topology table list only successor and FS routes, whereas the OSPF database shows all known routes.  You can have EIGRP show all known routes withe keyword "all-links" at the end of the "sh ip eigrp top" command.

     

    To summarize each protocol, they both have three "tables", which you can view with the appropriate "show" command,

     

    EIGRP

    eigrp neighbor table

    eigrp topology table

    eigrp routing table

     

    OSPF

    ospf neighbor table

    ospf database

    ospf routing table

     

    HTH

     

    Message was edited by: Brian

    Join this discussion now: Login / Register
  • Currently Being Moderated
    3. Mar 2, 2011 1:50 AM (in response to Deepak)
    Re: EIGRP and OSPF comparison

    EiGRP keeps limited information for each prefix / lenght and its associated routes in its Topology Table: ASN, State, Metric, Outgoing interface, metric vectors + MTU ad hop count.

    Sh eigrp topology only shows Successor and Feasible Successor Routes while sh eigrp topo all-links also list those routes that are neither S nor FS.

    Hence the fast convergence process of EIGRP as a "second best backup" or FS is already kept in memory and in case the "best route" or S fails, can imeditely be used.

    The fact that the FS's requirement is that its Reported Distance (from a Neighbor's perspctive) must be lower than the S Feasible Distance (local) garantee that the Feasible Successor offers a loop-free alternative.

     

    On the other hand, Link-state protocols, like OSPF must keep an indentical database of LSA: all OSPF routers will have the same LSDB (minus the simplification via DR-BDR) and they keep a "topological view" of the entire network in their OSPF databse (with the Advertising router been a directly connected neighbour).

    Join this discussion now: Login / Register
  • anjaz@123 19 posts since
    Apr 21, 2010
    Currently Being Moderated
    4. Mar 2, 2011 3:22 AM (in response to Deepak)
    Re: EIGRP and OSPF comparison

    Hi,


    I guess this could help you out.... Please get back if you have any doubt on this ....


    Column1characteristic_ClassificationRIPEIGRPOSPF
    Communication typeRip send entire routing update   to all directly connected interfaceEigrp send multicast Hello   Packet to the NeighborsOspf send multicast Hello Packet   to the Neighbors
    UDP 520 port for broadcast
    Interface TypeRip classifies routers as active   and passive interfaceEigrp also classifies routers as   acitve and passive interface/routeOspf does not classify a router   a acitve and passive interface/route
    MulticastRiv2 Multicast Address 224.0.0.9Eigrp Multicast Address   224.0.0.10Riv2 Multicast Address 224.0.0.5   (Spoke Router) and 224.0.0.6 (DR & BDR)
    ConceptEigrp concept : Neighbor Table,   Topology Table, Fessible Successor, Route States
    Auto Summeryauto-summery command enable by   default on routerauto-summery command enable by   default on router
    Global ConfigStatic Routeconfig# ip route 0.0.0.0 0.0.0.0   null0
    Support For CIDR and VLSMconfig# no ip classless (by   default enable)Eigrp support CIDR, VLSM
    Turn off routingconfig#no router ip(turn off   routing)Config# no router eigrp 101
    Starting CommandConfig#router ripConfig# router eigrp 101Config# router ospf 100
    Router configNetwork InclusionConfig-router#Network   192.168.10.1Config-router#Network   192.168.10.1Config-router#Network   192.168.10.1 area 1
    Neighbor StatementConfig-routerNeighbor   192.168.10.1Config-routerNeighbor   192.168.10.1Config-routerNeighbor   192.168.10.1 area 1
    Area or Domain ConceptConfig-routerNeighbor   192.168.10.1 0.0.255.255 area 1(put a no. of subnet into area 1)
    Config-routerNeighbor   0.0.0.0  255.255.255.255 area 1(any   interface into area 1)
    config-router#log-adjecy-changes   detail
    config-router# area 1 (config   normal area)
    config-router# area 1 stub   (config stub area)
    config-router# area 1 stub   no-summery(config Totally stub area)
    config-router# area 1   NSSA(config Not so stuby area)
    config-router# area 1 NSSA   no-summery(config Not so stuby Totally stuby area)
    Routes SummerizationRiv2 Summerize the network as   classfull boundaryEigrp   summerization support classless
    Turn off Auto Summeryconfig-router# no auto-summeryconfig-router# no auto-summeryconfig-router# no auto-summery
    Maximum Path showed by Routing   PorotocolConfig-router# Maximum-paths ?   (default=4,maximum=6)Config-router# Maximum-paths ?   (default=4)
    Support for Static route to be   advertisedconfig-router#redistribute   staticconfig-router#redistribute   staticconfig-router#redistribute   static
    Timerstimer basic 30 180 180   360(Update, Invalid, Hold Down, Flush)config-router#   default-information-originate
    Default Root Generationconfig-router#   default-information-originateconfig-router#   default-information ?(Allowed, in, out)config-router#   default-information-originate always(these 2 command usually used on ASBR)
    Version StatementConfig-if#ip rip send version   1/2
    Config-if#ip rip receive version   1/2
    Interface ConfigBandwidth  Allocationconfig-if#bandwidth X(allow   eigrp to make better matric calculationconfig-if#bandhwidth 128 (kbps)
    Othersconfig-if#ip   bandwidth-percentage 75 100 (Admin Dist=75 & %=100)config-if#ip ospf priority 50   (to become DR & BDR)
    config-if#ip ospf cost 1564
    Authentication modeconfig-if#ip rip authenticaion   mode (text | md5)config-if#ip authentication mode   eigrp 101 md5config-if# ip ospf   massege-digest-key 1 md5 pswd
    Authentication commandconfig-if#ip rip authenticaion   key-chain pswdconfig-if#ip authentication   key-chain eigrp 101 pswd
    config-if#ip summery-address   ip+maskconfig-if#ip ospf hello interval   30
    config-if# ip ospf dead interval   120
    summerization commandconfig-if#ip summery-address   192.168.2.10 255.255.255.0config-if#ip summery-address   eigrp 101 192.168.2.10 255.255.255.0 75 (Admin Distance=75)Config-router#summery-address ip   mask prefix mask (not-advertise){summery-address 192.168.1.1 255.255.255.0   192.168.1.1 255.255.255.0}
    Join this discussion now: Login / Register
  • Tambo 6 posts since
    May 16, 2010
    Currently Being Moderated
    5. Mar 6, 2011 11:38 PM (in response to Deepak)
    Re: EIGRP and OSPF comparison

    OSPF and EIGRP both have 3 Tables as Brian said, but the Topology Table in OSPF refers as the OSPF Database. So the difference is that:

     

    * OSPF database keeps all known routes. In other words it is a Road Map of the entire network, where all routers within the same OSPF autonomous System must have identical database.

     

    In contrast

     

    * EIGRP Topology table only keeps the SUCCESSOR and the FEASIBLE SUCCESSOR, the best route and the backup route. In other words the Plan A and Plan B.

      From the topology table the DUAL is ran to figure out the best route (plan A) and put into the Routing Table.

    Join this discussion now: Login / Register
  • mdbarrera07 42 posts since
    Jun 24, 2008
    Currently Being Moderated
    6. Mar 7, 2011 7:12 AM (in response to Deepak)
    Re: EIGRP and OSPF comparison

    Just wanted to point out there can be from one to six EIGRP feasible successors.

    Join this discussion now: Login / Register
  • Elvin Arias 2,504 posts since
    Mar 12, 2010
    Currently Being Moderated
    7. Mar 9, 2011 4:44 PM (in response to Deepak)
    Re: EIGRP and OSPF comparison

    The first that you have to know is that OSPF is a link-state routing protocol and EIGRP is an advanced distance vector.

     

    The main diferences is that EIGRP topology table don't have knowledge about all the routes in a network and the OSPF topology table do. In the EIGRP topology table are just the sucessor and the feasible sucessors routes and in the OSPF topology table are all the routes for every path in the network.

    Join this discussion now: Login / Register
  • Paul Stewart  -  CCIE Security 7,570 posts since
    Jul 18, 2008
    Currently Being Moderated
    8. Mar 9, 2011 4:50 PM (in response to Brian)
    Re: EIGRP and OSPF comparison

    "EIGRP only shows successor and feasible successor routes...OSPF shows all routes it knows."

     

    Actually the EIGRP Topology table contains everything.  It just hides it by default.  To see everything--"show ip eigrp topology all-links"

    Join this discussion now: Login / Register

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)