Professional Documents
Culture Documents
Ospf Tricky Questions
Ospf Tricky Questions
Metric: Cost
Fast Convergence
Metric Calculation
1.R1 ——- R2
On R1, we have process id of 100. On R2: we have process id of 200. Will R1 & R2
form neighbour ship or not ?
Ans.
OSPF process id is locally significant to router. It doesn’t matter if in a single area, there are
” n ” number of processes running. Process ID is just to create two instance on a single
router. OSPF has nothing to do with area or anything.
2.In OSPF, Give one example of neighbour ship & give one example of adjacency ?
Neighbors are routers who have exchanged Hello packets, but not LSA information and
don’t have same LSDB. Example : Two DROther routers.
Adjacent routers are routers who have exchanged Hello packet, LSA information and have
same LSDB. Example: DR & BDR
Illustrating the difference
As you know, in a LAN environment you have a DR election. After this election, the DR and
BDR are elected,
and all other routers( DROthers) form adjacencies with the DR/BDR.
Meaning, they pass the 2WAY state into ex-start and start exchanging LSA headers to begin
the route exchange.
However, between two DROther routers, you will never pass beyond 2WAY. That is to say,
they will exchange hello packets, but will never enter exstart, never exchange LSA headers,
never converge into adjaceny neighbors
3.In ” sh ip ospf database “, do we get topology of same area to which logged in device
belongs or, we get topology of complete OSPF network ?
Ans.
Ans.
ABR
Ans.
ABR
6.In case of area type, NSSA, default route is already present or it has to be configured
manually ?
Ans.
Ans.
8.To configure any area as a STUB area, do we need to put stub area configuration on ABR,
ASBR or all the routers of area ?
Ans.
Ans.
2-way state is normal. This state exists in case of BROADCAST network type.
All the DROTHER routers stays in 2-way state with each other. DROTHER routers maintains
full state with the DR.
10.In Broadcast network type, DR & BDR maintains which type of relationship ?
Ans.
Full state
Ans.
12.In ” sh ip ospf database ” output, what is the difference between fields, LINK id & ADV
router ?
Ans.
Example
13.On a single router, if we have connected two different networks with different process
id’s configured, will they communicate or not. If yes, what needs to be done, to
communicate with each other ?
Ans.
Two different processes on a single router do not communicate at all, until & unless we are
doing some redistribution.
Ans.
So, Redistribution can be done in different protocols or, within same protocol also, as per
requirement.
15.How to check if Hello packets are transferring or not, between OSPF neighbours without
using debug command ?
Ans.
Example
Rx: 0 0 0 0 0 0 0
Tx: 0 0 0 0 0 0 0
Ans.
Example
Rx: 0 0 0 0 0 0 0
Tx: 0 0 0 0 0 0 0
17.In NSSA, external routes enters as LSA-7. But, if LSA-7 is not required, what is the
command to stop LSA-7 ?
Ans.
18.In NSSA, we have one ASBR & two ABR’s. which ABR will do LSA-7 to LSA-5 conversion ?
Ans.
ABR, which is having lower cost to the ASBR, will convert LSA-7 into LSA-5
19.In NSSA, while receiving routes through LSA-7, can we receive selected subnets or stop
few subnets from receiving ?
Ans.
For example, you have a RIP learned route 141.108.10.0/24 that is injected into the OSPF
NSSA Area 1. You do not want this route to be leaked into the rest of the OSPF areas
Command
Happy Learning…
Thanks
Rakesh