Home > OSPF Questions

OSPF Questions

July 28th, 2019 in ROUTE 300-101 Go to comments

Quick OSPF Overview

OSPF router ID selection:

OSPF uses the following criteria to select the router ID:
1. Manual configuration of the router ID (via the “router-id x.x.x.x” command under OSPF router configuration mode).
2. Highest IP address on a loopback interface.
3. Highest IP address on a non-loopback and active (no shutdown) interface.

OSPF forms neighbor relationship with other OSPF routers on the same segment by exchanging hello packets. The hello packets contain various parameters. Some of them should match between neighboring routers. These include:

+ Hello and Dead intervals
+ Area ID
+ Authentication type and password
+ Stub Area flag
+ Subnet ID and Subnet mask

When OSPF neighbor relationship is formed, a router goes through several state changes before it becomes fully adjacent with its neighbor. The states are Down -> Attempt (optional) -> Init -> 2-Way -> Exstart -> Exchange -> Loading -> Full. Short descriptions about these states are listed below:

Down: no information (hellos) has been received from this neighbor

Attempt: only valid for manually configured neighbors in an NBMA environment. In Attempt state, the router sends unicast hello packets every poll interval to the neighbor, from which hellos have not been received within the dead interval

Init: specifies that the router has received a hello packet from its neighbor, but the receiving router’s ID was not included in the hello packet

2-Way: indicates bi-directional communication has been established between two routers

Exstart: Once the DR and BDR are elected, the actual process of exchanging link state information can start between the routers and their DR and BDR

Exchange: OSPF routers exchange and compare database descriptor (DBD) packets

Loading: In this state, the actual exchange of link state information occurs. Outdated or missing entries are also requested to be resent

Full: routers are fully adjacent with each other

When OSPF is run on a network, two important events happen before routing information is exchanged:
+ Neighbors are discovered using multicast hello packets.
+ DR and BDR are elected for every multi-access network to optimize the adjacency building process. All the routers in that segment should be able to communicate directly with the DR and BDR for proper adjacency (in the case of a point-to-point network, DR and BDR are not necessary since there are only two routers in the segment, and hence the election does not take place).
For a successful neighbor discovery on a segment, the network must allow broadcasts or multicast packets to be sent.

In an NBMA network topology, which is inherently nonbroadcast, neighbors are not discovered automatically. OSPF tries to elect a DR and a BDR due to the multi-access nature of the network, but the election fails since neighbors are not discovered. Neighbors must be configured manually to overcome these problems

Each OSPF area only allows some specific LSAs to pass through. Below is a summarization of which LSAs are allowed in each OSPF area:

Area Restriction
Normal None
Stub No Type 5 AS-external LSA allowed
Totally Stub No Type 3, 4 or 5 LSAs allowed except the default summary route
NSSA No Type 5 AS-external LSAs allowed, but Type 7 LSAs that convert to Type 5 at the NSSA ABR can traverse
NSSA Totally Stub No Type 3, 4 or 5 LSAs except the default summary route, but Type 7 LSAs that convert to Type 5 at the NSSA ABR are allowed

OSPF Summarization
OSPF offers two methods of route summarization:
1) Summarization of internal routes performed on the ABRs
2) Summarization of external routes performed on the ASBRs

1) To summarize routes at the area boundary (ABRs), use the command:
area area-id range ip-address mask [advertise | not-advertise] [cost cost]

An internal summary route is generated if at least one subnet within the area falls in the summary address range and the summarized route metric is equal to the lowest cost of all the subnets within the summary address range. Interarea summarization can only be done for the intra-area routes of connected areas, and the ABR creates a route to Null0 to avoid loops in the absence of more specific routes.

2) To summarize external routes on the domain boundary (ASBRs), use the command:
summary-address {{ip-address mask} | {prefix mask}} [not-advertise] [tag tag]
The ASBR will summarize external routes before injecting them into the OSPF domain as type 5 external LSAs.

Note: An exception of using the “summary-address” is at the boundary of a NSSA area.

In both methods of route summarization described above, a summarized route is only generated if at least one subnet in the routing table falls in the summary address range.

Question 1

Explanation

LSA Type 7 is generated by an ASBR inside a Not So Stubby Area (NSSA) to describe routes redistributed into the NSSA. LSA 7 is translated into LSA 5 as it leaves the NSSA. These routes appear as N1 or N2 in the routing table inside the NSSA. Much like LSA 5, N2 is a static cost while N1 is a cumulative cost that includes the cost upto the ASBR -> LSA Type 7 only exists in an NSSA area.

Question 2

Question 3

Explanation

Answer B is not correct because using “passive-interface” command on ASW1 & ASW2 does not prevent DSW1 & DSW2 from sending routing updates to two access layer switches.

Question 4

Explanation

From the output above, we see the following LSAs:

+ Router Link States (Area 0): LSA Type 1 (Area 0)
+ Net Link States (Area 0): LSA Type 2 (Area 0)
+ Summary Net Link States (Area 0): LSA Type 3 (Area 0)
+ Router link States (Area 4): LSA Type 1 (Area 4)
+ Net Link States (Area 4): LSA Type 2 (Area 4)
+ Summary Net Link States (Area 4): LSA Type 3 (Area 4)

There are two areas represented on this router, which are Area 0 & Area 4. So we conclude this is an ABR router.

Just for your information, from the Router Link States (Area 0) part, we only see one entry 15.15.15.33. It is both the Link ID and ADV Router so we can conclude this is an IP address of one of the interfaces on the local router.

Question 5

Question 6

Questions 7

Explanation

When OSPF is run on a network, two important events happen before routing information is exchanged:
+ Neighbors are discovered using multicast hello packets.
+ DR and BDR are elected for every multi-access network to optimize the adjacency building process. All the routers in that segment should be able to communicate directly with the DR and BDR for proper adjacency (in the case of a point-to-point network, DR and BDR are not necessary since there are only two routers in the segment, and hence the election does not take place).
For a successful neighbor discovery on a segment, the network must allow broadcasts or multicast packets to be sent.

In an NBMA network topology, which is inherently nonbroadcast, neighbors are not discovered automatically. OSPF tries to elect a DR and a BDR due to the multi-access nature of the network, but the election fails since neighbors are not discovered. Neighbors must be configured manually to overcome these problems -> C is not correct while D is correct.

In Point-to-Multipoint network: This is a collection of point-to-point links between various devices on a segment. These networks also allow broadcast or multicast packets to be sent over the network. These networks can represent the multi-access segment as multiple point-to-point links that connect all the devices on the segment. -> A is correct.

Question 8

Explanation

OSPF forms neighbor relationship with other OSPF routers on the same segment by exchanging hello packets. The hello packets contain various parameters. Some of them should match between neighboring routers. These include:

+ Hello and Dead intervals
+ Area ID
+ Authentication type and password
+ Stub Area flag
+ Subnet ID and Subnet mask

So there are three correct answers in this question. Maybe in the exam you will see only two correct answers.

Question 9

Explanation

Let’s have a quick review of LSAs Type 4 & 5:

Summary ASBR LSA (Type 4) – Generated by the ABR to describe an ASBR to routers in other areas so that routers in other areas know how to get to external routes through that ASBR. For example, suppose R8 is redistributing external route (EIGRP, RIP…) to R3. This makes R3 an Autonomous System Boundary Router (ASBR). When R2 (which is an ABR) receives this LSA Type 1 update, R2 will create LSA Type 4 and flood into Area 0 to inform them how to reach R3. When R5 receives this LSA it also floods into Area 2.

OSPF_LSAs_Types_4.jpg

In the above example, the only ASBR belongs to area 1 so the two ABRs send LSA Type 4 to area 0 & area 2 (not vice versa). This is an indication of the existence of the ASBR in area 1.

Note:
+ Type 4 LSAs contain the router ID of the ASBR.
+ There are no LSA Type 4 injected into Area 1 because every router inside area 1 knows how to reach R3. R3 only uses LSA Type 1 to inform R2 about R8 and inform R2 that R3 is an ASBR.

External Link LSA (LSA 5) – Generated by ASBR to describe routes redistributed into the area and point the destination for these external routes to the ASBR. These routes appear as O E1 or O E2 in the routing table. In the topology below, R3 generates LSAs Type 5 to describe the external routes redistributed from R8 and floods them to all other routers and tell them “hey, if you want to reach these external routes, send your packets to me!”. But other routers will ask “how can I reach you? You didn’t tell me where you are in your LSA Type 5!”. And that is what LSA Type 4 do – tell other routers in other areas where the ASBR is!

OSPF_LSAs_Types_5.jpg

Each OSPF area only allows some specific LSAs to pass through. Below is a summarization of which LSAs are allowed in each OSPF area:

Area Restriction
Normal None
Stub No Type 5 AS-external LSA allowed
Totally Stub No Type 3, 4 or 5 LSAs allowed except the default summary route
NSSA No Type 5 AS-external LSAs allowed, but Type 7 LSAs that convert to Type 5 at the NSSA ABR can traverse
NSSA Totally Stub No Type 3, 4 or 5 LSAs except the default summary route, but Type 7 LSAs that convert to Type 5 at the NSSA ABR are allowed

Reference: http://www.cisco.com/c/en/us/support/docs/ip/open-shortest-path-first-ospf/13703-8.html

Therefore there are two OSPF areas that prevent LSAs Type 4 & 5: Totally Stub & NSSA Totally Stub areas

Comments
Comment pages
1 2 1390
  1. Anonymous
    August 27th, 2017

    For Question 7 , the listed answer is A and D but the Explanation as given in the “Link” is seem to be C and D.
    Based on the reference book, manually config. (discover) neighbor is needed for 1) the Point-to-multipoint (non-broadcast) and 2) NBMA (or Frame relay). This question has to be read very carefully – as stated ” C is not correct while D is correct”.

  2. 1Way
    October 21st, 2017

    Q9. Stub areas do not receive type 4 LSA’s either, so answers should be B,C and F.

  3. Hiram
    November 9th, 2017

    Passed today, used the 440q dumps from IT-Libraries . you can find them for free with a google search

  4. Jonathan
    November 9th, 2017

    Passed with the 539q dumps, all questions were from there.

  5. Cisco BigWig
    November 9th, 2017

    Hey Hiram and Jonathan,
    Kindly share the dumps with me {email not allowed}.
    Thanks

  6. Cisco BigWig
    November 9th, 2017

    Hey Hiram and Jonathan,
    Kindly share the dumps with me tomnyanjong(at)gmail(.)com.
    Thanks

  7. Malcolm
    November 21st, 2017

    sharing my collection of dumps https://drive.google.com/open?id=0B5mAFqgydmCzNno3dnFocF9HckU . Passed my CCNP with 8xx + using the ones shared here.

  8. Emory
    November 28th, 2017

    Passed, if you go the exam study the 440q dumps.

  9. Catalin
    November 29th, 2017

    Hi,

    Can someone please send me the latest dumps at catalin.ctin.lungu(at)gmail(.)com ?

    Thanks in advance!!

  10. Nick
    November 29th, 2017

    DO NOT USE http://www.myexamcollection.com/ ITS A FAKE

  11. Anonymous
    December 11th, 2017

    Agree with 1Way. Stubby areas (stubby or nssa) do not forward Type 4 LSA because they are meaningless without Type 5 LSA. I don’t understand why the answers aren’t A, B, C, and F, with the best two being A and C since they restrict ONLY Type 4 and Type 5 LSA.

  12. ExamSoon
    January 11th, 2018

    Hi, new questions I have.
    Which three restrictions apply to OSPF stub areas? (Choose three)?
    A. No virtual links are allowed.
    B. The area cannot be a backbone area.
    C. Redistributions not allowed unless the packet is changed to a type 7 packet.
    D. The area has no more then 10 routers.
    E. No autonomous system border routers are allowed.
    F. Interarea routers are supressed.

    What are the answers? ABC or ABE or maybe BCE ?

  13. JOB
    January 15th, 2018

    HI Exam soon i think the answer is ABE b/c -Routers inside stub areas cannot redistribute external routes into the stubby area, because that would require a Type 5 LSA in the area.(not type 7 LSA)

  14. Shannon
    January 16th, 2018

    According to this post (http://packetlife.net/blog/2008/jun/24/ospf-area-types/), Q9 is wrong. There is no LSA’s type 4 or 5 in Stub, Totally Stub, NSSA nor Tottally NSSA area. Am I missing something in that question?

    Thanks

  15. LATEST DUMPS + VCE Player + LABs + etc
    February 20th, 2018

    Guaranteed Latest Stuff to pass exam.
    HERE Instant DOWNLOAD
    20 US$ only

    Copy Below link
    docs.google.com/document/d/1afXgWBvIWTSr8R0Mt-kDRdMmFCI3ytfuSK-1vOyWov0/edit

  16. jrocky
    February 21st, 2018

    @digitaltut
    I’m confused with Q9, agree with @Shannon. From my understanding, stuby, totally stubby, NSSA and NSSA totally stub won’t accept external routes. So no LSA 4 and 5 in any case.
    Maybe we can think as NSSA and NSSA totally stub generating LSA4 which ABR converts to LSA5 in normal areas, so maybe the best answer would be B and C??? (stub and totally stub).

  17. born2learn
    February 26th, 2018

    Where i can find the question

  18. jrocky
    March 3rd, 2018

    @born2learn you can see the questions by paying for 1 month subscription, it’s 12$. I think it’s worth it. Also you have quizzes and simulations included.

  19. good
    March 13th, 2018

    Nice

  20. cococc
    March 30th, 2018

    2018 new exam ccnp dumps
    dumpspro.com/ccnp_dumps.php

  21. Anonymous
    April 1st, 2018

    i need latest dumps plz
    {email not allowed}

  22. Anonymous
    April 1st, 2018

    i need latest dumps plz
    amr.anwar7777 gmail

  23. ab
    April 10th, 2018

    For the question 3, the answer is C but why is not A. If i put all the interface in passive-interface default, there is no update. What is the difference between A and C?

  24. Marcus
    April 13th, 2018

    @ab in case “A” the neighborship between the Core and the Distribution layer will be lost, isn’t it?

  25. Anonymous
    April 16th, 2018

    someone can help me please i wanna do the exam and i have not a new dump. if someone have a new dump CCNP R&S please send me. troco97gmail.com

  26. Csnavarro
    April 24th, 2018

    I believe that question 9 is wrong too, because stub areas by default doesn’t allow LSA 4 or 5, just 1,2,3 and 7.

  27. Marcus
    May 4th, 2018

    Q8 in other dump looks like:
    Using new backup router in spite of faulty one in OSPF domain but relationship with neighbor in one interface only not working, what is the reason of this problem? (Choose two)

    A. area ID mismatch
    B. authentication mismatch
    C. process id of OSPF not match
    D. OSPF timers not match
    E. MTU mismatch

    Is says it’s not working “in one interface only”.
    C – obviouslly incorrect
    A – area settings is settings for ospf process rather than interface
    B – authentication can be set up as in ospf process as an interface too
    D – OSPF timers is an interface properties
    E – MTU also is an interface property

    So, possible answer may be D and E, because it is more plausible. Are you agree?

  28. Anonymous
    May 31st, 2018

    For Q8) Using new backup router in spite of faulty one in OSPF domain but relationship with neighbor in one interface only not working, what is the reason of this problem? (Choose two)

    A. area ID mismatch
    B. authentication mismatch
    C. process id of OSPF not match
    D. OSPF timers not match

    Answer: A, D

    You can read the following Cisco document for the answer. If there was an Authentication mismatch, then two Routers would not become neighbors at all (on all interfaces and not just one)

    https://www.cisco.com/c/en/us/support/docs/ip/open-shortest-path-first-ospf/13699-29.html

  29. T’Challa
    August 18th, 2018

    Wakanda Forever!

  30. Treyon
    August 22nd, 2018

    Which three restrictions apply to OSPF stub areas? (Choose three)?
    A. No virtual links are allowed.
    B. The area cannot be a backbone area.
    C. Redistributions not allowed unless the packet is changed to a type 7 packet.
    D. The area has no more then 10 routers.
    E. No autonomous system border routers are allowed.
    F. Interarea routers are supressed.

    ABE – A and E because they defeat the purpose of stub not to carry external routes. B naturally

  31. Elena
    September 3rd, 2018

    I passed my exam on the first attempt. with Braindumpscerts ROUTE 300-101 Dumps PDF was very user-friendly including all points of the exam course. It helped me out in an actual understanding. I got a 92% score on the exam. I would like to say thanks to Braindumpscerts.com team for the proper & satisfactory support.

  32. Rrr
    September 13th, 2018

    Question 7
    C & d is the good answer
    In the poin to multipoint network no need to ad the neighbor command in ospf

  33. Shaun
    September 21st, 2018

    Passed, it-libraries questions are still good. check the comments on this forum for the new questions since there are a couple of them posted here.

  34. 6UU
    September 29th, 2018

    Real and effective, can be used as a reference, very effective, I hope to help you.
    W w

    w.cc iedumps.xyz/ccie_rs.php?ut m_source=bbs&utm_medium=bbs

  35. Dmitry
    October 5th, 2018

    Actually about Q7: right answers are C and D.
    A isn’t correct, because in point-to-multipoint networks use multicast for automatically finding neighbors. But non-broadcast networks type need to manually configured neighbors.
    You can read this link:
    https://learningnetwork.cisco.com/thread/35730

  36. win
    October 29th, 2018

    i need latest dumps plz
    forctranq0 gmail

  37. Lazio
    November 14th, 2018

    Q9
    I think A, B, C and F are all correct.

  38. Anonymous
    December 5th, 2018

    DWS or DSW answer and diagram are different :D

  39. agree
    December 31st, 2018

    Q7 is wrong..

    point-to-multipoint doesnt need any neighbor cmd.

  40. comeon
    December 31st, 2018

    Q9 is jacked up..

    no stub area will see type 4 or 5 ever. doesnt need to be totally even..

    stub will see 1,2,3
    nssa will see 1,2,3,7

    totally stubby will see 1,2 and default
    totally nssa will see 1,2,7 and default

  41. comeon1
    December 31st, 2018

    sorry stub and nssa also see a default route

  42. wow
    December 31st, 2018

    Q9:

    the cisco link provided above does say no type 4 allowed in the totallys.. interesting.

  43. Anonymous
    January 10th, 2019

    Can someone send me pdf dump to shohel1988@yahoo dot com ?

  44. fhkah4iudj
    January 17th, 2019

    h t t p : / / b i t . l y / 2 H o U N 3 A good site for you to study.

  45. Alex
    January 22nd, 2019

    Q8 I think answer is: A, B
    Interface command OSPF:
    Router(config-if)# ip ospf 10 area 0
    https://www.cisco.com/c/en/us/td/docs/ios/12_0s/feature/guide/ospfarea.html#wp1057303
    Router(config-if)#ip ospf authentication-key c1$c0
    https://www.cisco.com/c/en/us/support/docs/ip/open-shortest-path-first-ospf/13697-25.html

  46. True call
    February 26th, 2019

    Router(config-if)#ip ospf 10 hello-interval
    Router(config-if)#ip ospf 10 dead-interval

  47. stefanoironic
    May 15th, 2019
  48. mickey
    June 14th, 2019

    what LSA Type has OSPF DOWN bit?

  49. @Digitaltut Mistake!
    July 12th, 2019

    You made a mistake in the July document.

    Question 30 page 16: D and E are the correct answers. A is wrong, in v3 the routing process is automatically created when the interface is enabled and configured for ospfv3!

    Source: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/iproute_ospf/configuration/15-mt/iro-15-mt-book/ip6-route-ospfv3.html

  50. Q9
    August 30th, 2019

    Q9
    If we take into consideration that NSSA and Totally NSSA has LSA type 7, which is just a type 5 covered by 7, that makes sense for an answer Totally Stub and Stub which is B and C.
    That would explain why all Stubby Areas are there. Type 7 is the only difference.
    I would go with B and C. Stubby and Totally Stubby area.

Comment pages
1 2 1390
  1. No trackbacks yet.