设为首页收藏本站language 语言切换
查看: 3243|回复: 3
收起左侧

[其他] 看到老外的CASE4的题目是这样的,大家碰到过么?

[复制链接]
发表于 2015-3-25 00:09:59 | 显示全部楼层 |阅读模式
You have been asked to evaluate an OSPF network setup in a test lab and to answer questions a customer has about its operation. The customer has disabled your access to the show running-config command.2 L( \' I; d( _6 ]* w2 p+ ~
( E8 |8 F- N: U% n/ [: [6 G; \4 q
Although in this sim we are not allowed to use “show running-config” command but we post the configuration here so that you can understand more about the topology.; z0 E0 V6 T- ?  A
R1. a$ f9 d9 N( d- s+ j0 T* D
interface Loopback0% x) @# `2 l% ]2 m7 q
ip address 1.1.1.1 255.255.255.2555 x4 t+ M5 \% h0 b. d# c
!- p5 C9 f/ r! ^  j- \, _* p
interface Serial0/0
- y' T( {; w! I! |/ ?3 mip address 192.168.13.1 255.255.255.0
9 M# `: z2 l2 U7 B7 n+ p+ ^ip ospf network non-broadcast7 T: W5 L% f9 n* h
!7 s1 {  ~+ n1 s5 c4 l% G9 g% n
router ospf 14 J" b% P& h! A4 e2 x6 V0 d; K
network 192.168.13.0 0.0.0.255 area 0" M( D0 k7 i3 u, V" V4 k
network 1.1.1.1 0.0.0.0 area 0R2! S" E+ ]) P; G5 P9 c5 Q
interface Loopback 0
- v  o% d$ O: m) zip address 2.2.2.2 255.255.255.255- A0 m" y  |9 X# ?6 O
!
' W& n4 P: \2 b" r" J( uinterface S0/0
+ A' r  s5 e& Y' u+ v2 |2 B: Lip address 192.168.23.2 255.255.255.0. V& [9 f+ b) X) L
ip ospf network non-broadcast8 O# [, B* S0 S0 y
!
( q$ z4 |5 e; [+ ~% W5 g  jrouter ospf 1
5 v7 j6 X% m7 S( T8 A+ i7 E& m8 knetwork 192.168.23.0 0.0.0.255 area 0
: |9 ^+ l# n8 e( u4 W! M. xnetwork 2.2.2.2 0.0.0.0 area 0
3 p9 M( v. G! \5 z( u0 Pneighbor 192.168.23.3R3
3 h3 ^% @" Y; b6 W- V; ?# Vinterface Loopback 00 f8 ^8 G; p! g! ~. A
ip address 3.3.3.3 255.255.255.255) O6 U+ V3 _! j
!
' A- f7 }+ q2 I* F  v$ E' minterface Ethernet0/0
7 o1 X3 A. A  t5 A( [/ jip address 192.168.34.3 255.255.255.0
" Y2 P$ r) ^7 q4 \5 X7 C!
, u* g0 }) G: l6 n( Xinterface S1/0) c4 _& g7 `3 i0 i
ip address 192.168.23.3 255.255.255.0
" H! s# Y5 K- Z/ E, i. L4 ]ip ospf network non-broadcast
1 L+ y# g- x% j!! O+ I  @- z5 M, j6 ?
interface S1/1& `% @  B% F5 i) {: p+ l
ip address 192.168.13.3 255.255.255.0- ^! |) L! v4 g2 k
ip ospf network non-broadcast
4 Q2 J4 }+ L6 _: W' n!1 v' Q; Y( P6 j  y1 E. H- l
router ospf 1) Y- y' o( ?# W4 n" s8 y
network 192.168.13.0 0.0.0.255 area 00 A1 f: ?* @* k9 f
network 192.168.23.0 0.0.0.255 area 0
6 X2 l( K6 |8 V0 ?; Hnetwork 192.168.34.0 0.0.0.255 area 16 i9 [) @# i) c- W1 p
network 3.3.3.3 0.0.0.0 area 02 A7 {, [7 e" }; Z2 E' p. p
area 1 virtual-link 4.4.4.4+ O% F( i) i+ L
neighbor 192.168.23.2R4! G: Z" i5 K  X1 y2 s
interface Loopback 0
5 l4 R0 G5 L, ]3 i) r$ xip address 4.4.4.4 255.255.255.2551 K5 Q- j% J0 ?" `5 |% n/ L
interface FastEthernet0/06 t: T1 y0 t8 P! M
ip address 192.168.34.4 255.255.255.0- _$ z; R. t# R# p' Y
!
! i4 S4 c- x. Q7 Jinterface Ethernet0/1
$ P+ g& V2 V9 K& i1 fip address 192.168.45.4 255.255.255.0
/ g: a  L% {8 @5 {, Rno shut5 t, l5 s$ E+ S
!8 i9 M: J1 [3 ?# l; m/ A* i! C
interface Ethernet0/26 ^; w5 R' A8 D
ip address 192.168.46.4 255.255.255.07 X- n% h. v( F' e, k8 p, \8 Z7 G" F
no shut
' l6 L/ z( k' u- n!
3 u5 d8 |* d1 y/ xrouter ospf 1' X% D: i. _; ]; O0 N7 L4 w
network 192.168.34.0 0.0.0.255 area 15 A' u$ @8 M" x# t9 `2 ^
network 192.168.45.0 0.0.0.255 area 2# B5 M+ ?0 ~0 l3 B
network 192.168.46.0 0.0.0.255 area 3' F* M- W( W4 w/ A& B6 C
network 4.4.4.4 0.0.0.0 area 1. g* N3 c  U% Z9 K6 U& @
area 1 virtual-link 3.3.3.3
: b! V9 V' ?; h0 l8 |" ^; narea 2 nssa3 z- e4 a7 s% q: D6 n4 f
area 3 stub no-summaryR5; r& T; x! E3 e2 x9 V2 J3 z$ Z2 I$ n  E
interface Loopback0
$ K, A' O4 n4 r4 K6 e2 nip address 5.5.5.5 255.255.255.255
, O, S, f$ v* `% vinterface Loopback1
" n8 {+ q! |! Y1 L  Lip address 5.5.1.1 255.255.255.255
& g% k8 U5 o' A2 T  kinterface Loopback2
( Q$ K/ Q$ X7 ]$ Xip address 5.5.2.1 255.255.255.2558 J9 m2 x0 F6 r& E, W7 P$ U/ |# p
interface Loopback3: ^9 y7 E! J2 r( F: {
ip address 5.5.3.1 255.255.255.2557 d. i: r+ |: V0 B  w
interface Loopback47 C/ z3 E; y* M9 l) {* n7 V6 w- J
ip address 5.5.4.1 255.255.255.255( P0 W/ H; t, c2 {" C' ~! S
interface Ethernet0/0+ {! s5 H! }1 M5 M) m* J
ip address 192.168.45.5 255.255.255.06 ]5 Z7 l$ H; o. d" S: ]
!" Y. b  l! y# F- b1 L. N$ l. N
router ospf 1
& j5 w9 m+ N; m, A# cnetwork 192.168.45.0 0.0.0.255 area 22 U' ]) W$ D2 A+ g5 b5 v
network 5.5.0.0 0.0.255.255 area 21 y* G; C. S; x( `! g( n
area 2 nssaR6
  g! R- V4 V5 Z8 \& P" G; e9 Linterface Ethernet0/0
3 }" n: m  D0 ?9 g0 I' E" Y  Aip address 192.168.46.6 255.255.255.04 S0 I: S( c; r( w9 T
interface Loopback 0
8 E/ a6 w# M. G( N. w  C- fip address 6.6.6.6 255.255.255.255
0 U6 Q/ e. R  Y" ^: W( h!
0 K" R" G6 k! L3 [* A2 D, Erouter ospf 1
# P- J5 K' h$ i8 Z- Y# ^; Znetwork 192.168.46.0 0.0.0.255 area 3
- V7 Y% ~+ `' h; inetwork 6.6.6.6 0.0.0.0 area 3
/ P/ ], Y/ I# P; E! t7 b2 Carea 3 stubSome notices from above configuration:7 H; {! U' X' X6 _( _! C
+ The OSPF network type between R2 & R3 is non broadcast.
- A! U! K& B9 x, i& f+ R3 and R4 is running virtual-link to connect Area 2 & 3 to Area 0
: Y7 J. S- G1 y# A7 A) {+ Area 2 is a NSSA area while Area 3 is a Totally Stubby area
  @! w6 B" k, y6 E( U' WYou can download this sim to practice at http://www.digitaltut.com/download/ROUTE_OSPF.zip. Please use GNS3 with version older than v1.0 to open it (v0.8.3.1 for example). IOS used in this lab: c3640-jk9s-mz.124-16.bin
7 @: k* h5 x) F' p- }6 CQuestion 15 W1 l" X% F7 L5 O; x$ q+ I
How old is the Type 4 LSA from Router 3 for area 1 on the router R5 based on the output you have examined?+ o/ e, E' n& T3 O& D: J  N' b) u
A. 1858
( O* N+ ^/ b0 h% y4 h' {' _B. 1601, c. D& a. V8 g/ o. K% }
C. 600. v4 {. H! m5 Z( n
D. 1569& g( Q* b" C/ N; k1 Q

, m8 s8 W8 x/ m, c& T" ]: eAnswer: A( N% A$ J3 L/ \) N. [+ w
Explanation0 \) p+ o* M' Y+ s( A
To check OSPF LSA we should use the “show ip ospf database” command on R5:
- {! X: g# T" H( o  A& ]8 U8 S7 f" J2 q, \
In this sim there is no LSA Type 4 because there is no ASBR so maybe this question wants to ask about LSA Type 3 (Summary Net Link States).! u: B/ f, |3 }! p
Note: LSA Type 4 is generated by ABR, not ASBR but without ASBR inside the network there are no LSA Type 4 generated. For more information about OSPF LSA Types please read our OSPF LSA Types Lab tutorial.3 o( E+ n$ j' ~+ L
R3 advertises LSA Type 1 to R4 then R4 converts it into Type 3 and sends to R5 (because R4 is the ABR) so we see the “Link ID” 3.3.3.3 of R3 is advertising by R4 (4.4.4.4). According to the “Age” column, this LSA was advertised 1858 seconds ago.* W2 N3 q! `0 n1 H
Question 2
; g& Y; q! h; i, s+ AWhich of the following statements is true about the serial links that terminate in R3?6 v0 Q% h4 [; H' b
A. The R1-R3 link needs the neighbor command for the adjacency to stay up
. f3 O* q7 x. G1 i# GB. The R2-R3 link OSPF timer values are 30, 120, 120
6 _9 E" K# _# S& V' ?2 O1 ~" t! E% HC. The R1-R3 link OSPF timer values should be 10,40,40
- T7 s8 R3 ?1 l6 Z5 X% }D. R3 is responsible for flooding LSUs to all the routers on the network./ x% z. u. F6 D  H! {2 \

/ d  |" B5 D% g( z2 L* [! l! ~Answer: B. I2 P' m  \5 V. u* Y
Explanation  s0 z6 H/ z$ z, r/ Y& P) I* A
Check the Serial1/0 interface of R3 which is connected to R2 with the “show ip ospf interface serial 1/0″ command:
& a, x1 A4 F3 U& E! m9 O
, Z4 B% \1 J$ @# K& H! t8 AThere are two things we should notice from the output above:- A0 _1 D/ ]& R
+ The “network type” connection between R2-R3 is “NON_BROADCAST” (usually we have “BROADCAST”). OSPF neighbors are discovered using multicast Hello packets. In non broadcast environment, multicast (and broadcast) messages are not allowed so OSPF neighborship cannot be formed automatically. Therefore we have to establish OSPF neighborship manually by using “neighbor ” command under OSPF process (OSPF will send unicast Hello message to this address). For example on R2 we have to use these commands:
/ q/ \5 R+ S: F  w+ ?0 Q( arouter ospf 1' Z3 F5 w. B2 {0 n+ ~! G$ D
neighbor 192.168.23.3And on R3:
+ X+ v4 x! ^) y. z7 d7 mrouter ospf 19 E2 ]3 W) p" g& `
neighbor 192.168.23.2+ For non broadcast environment the default Hello timer is 30 seconds; Dead timer (time to wait before declaring a neighbor dead) is 120 seconds and Wait timer (causes the interface to exit out of the wait period and select a DR on a broadcast network. This timer is always equal to the dead timer interval) is 120 seconds. In the output we also see the default timers for non broadcast network.
6 w/ F/ f$ a$ K+ b" M3 zQuestion 3
9 u. v5 @0 g+ _  R8 M- l3 {How many times was SPF algorithm executed on R4 for Area 1?' d+ u: b3 O) a* w9 r0 B7 [. j
A. 1
5 y' s/ U) }3 \B. 5
/ a* P" M! H8 @) k6 J) z" Y; Y9 xC. 9
$ \3 G6 u1 O" A4 ]+ [D. 20
0 g0 T1 K4 e2 Q' d  n- Y1 zE. 54. }3 C1 @, t5 y4 o
F. 2245 f# B7 L) N, X
7 Y% d& t( m0 y! _1 t! |: w
Answer: C
  u9 }0 F: f9 {+ l, P1 t0 ?7 O' ^: ~* hExplanation
% g+ i8 F  e1 L/ J2 e0 _We can check the number of executed SPF algorithm via the “show ip ospf” command on R4:
6 s, m( a5 @" K3 `; ^+ }" k. c# M5 P' {1 Y
In the output above we can see SPF has been executed 9 times., \$ d* r) B  S3 [8 j+ F5 B
Question 4; y) ?  H& c2 T1 w
Areas of Router 5 and 6 are not normal areas, inspect their routing tables and determine which statement is true?
4 b* b0 W' ?" G- G5 R6 Z6 KA. R5′s Loopback and R6′s Loopback are both present in R5′s Routing table
9 n& b; Q1 L6 `% f3 r' v/ ^B. R5′s Loopback and R6′s Loopback are both present in R6′s Routing table4 a$ y7 ^: E8 ~8 s2 r# F
C. Only R5′s loopback is present in R5′s Routing table7 x0 w5 Q5 V. P6 F+ y8 Y% S2 a4 C1 k
D. Only R6′s loopback is present in R5′s Routing table, l5 X8 i' ^5 @
E. Only R5′s loopback is present in R6′s Routing table
; K/ H3 |6 J) `1 u) r9 I 1 I  D& {) G" M0 B+ N. ?4 s( p
Answer: A& T: u* Z( p( E: z1 D/ ]' X4 O4 H
Explanation
8 C! u$ x" k0 C1 x9 h9 uArea 2 (of R5) is a Not-so-Stubby area (NSSA). You can check it by the “show ip ospf” command on R4 or R5 (in Area 2 section). For example, below is the output of “show ip ospf” command on R5:
) I  w0 @: ^& y! \2 R# y+ i# p) L2 z+ u
In general, NSSA is same as normal area except that it can generate LSA Type 7 (redistribute from another domain) so we can see both Loopback interfaces of R5 & R6 in the routing table of R5.
7 j7 Z2 P/ C+ }7 K2 I
# L& s/ |, U3 M" }: d! }3 CNote: NSSA does not receive a default route by default so you will not see a default route on R5.
9 r  l' r9 v/ Z2 t7 F& ~6 s& ~Area 3 (of R6) is a Totally-Stubby area so R6 only has one default route to outside world. You can check with the “show ip ospf” command on R4 and R6 (area 3 section):9 ~# P# e( `0 w3 I& v6 @

! r6 o4 J; o6 O) a2 ~& ~5 t
, `# t4 g7 K2 F: t" K7 I1 r' L" YNotice that on R4 you will get more detail (shows “stub area, no summary LSA”) than on R6 (only shows “stub area”).
/ L7 \3 y! p, q2 F9 I% f( UR6 is in a totally-stubby area so we will not see any R5′s Loopback interfaces in R6 routing table:* G& K( h. v8 @! N: K
6 ^/ ^0 \/ t, h) W; `. n  J
Note: You can see a default (summary) route to the outside (O*IA 0.0.0.0/0 …)
. B4 A: U0 k! z/ }. p4 O; C; k
发表于 2015-3-25 10:50:21 | 显示全部楼层
路过了解一下
沙发 2015-3-25 10:50:21 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2015-3-25 15:09:23 | 显示全部楼层
这道题也包括在版首的路由题库里啊, CASE 2 OSPF
板凳 2015-3-25 15:09:23 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-4-3 10:45 , Processed in 0.081800 second(s), 24 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表