设为首页收藏本站language 语言切换
查看: 3245|回复: 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.
& N$ X& I. j+ T% [! K5 }+ J& y6 e4 V$ V
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.. _; R& `: ~0 c. G$ S& G
R1
# B8 m$ Q' v# h9 B; M% Jinterface Loopback0, m. f( W; c8 {/ H: [) i
ip address 1.1.1.1 255.255.255.2557 U( H' L5 ^! Q8 ~& g) U
!' b4 v- f) S8 n  R
interface Serial0/0# h  Y' c2 {, F
ip address 192.168.13.1 255.255.255.0# {* P( ~7 p' e" a+ a* ^
ip ospf network non-broadcast# _" f" a9 }& R& i5 C3 q' f
!
, S: G/ e1 o' V6 h2 arouter ospf 1" [+ _/ c) c/ {5 r. x1 g$ |
network 192.168.13.0 0.0.0.255 area 05 s& F! P" Z. U9 N
network 1.1.1.1 0.0.0.0 area 0R2
: v' W9 D' v9 o* @5 Z& N- D; V" E0 ointerface Loopback 0+ M: ~  j- g! z$ _9 ~; P
ip address 2.2.2.2 255.255.255.2558 g1 M) O3 N9 N' c! z
!5 ~$ j7 k5 n1 I' ]* x8 _
interface S0/0
; u7 y# J3 M6 l- E5 _' Dip address 192.168.23.2 255.255.255.0
. C& \1 J5 j; `1 Jip ospf network non-broadcast
- L& k( `6 H$ e7 G+ C0 Q9 p!
. ~/ p! i0 E- }# X. V: Lrouter ospf 1  B1 S) f" o7 L; L
network 192.168.23.0 0.0.0.255 area 0+ O6 L: r. k6 P* {
network 2.2.2.2 0.0.0.0 area 0. Q. [" i% ]1 ?3 ~! B' y, }4 o
neighbor 192.168.23.3R3
! B, j# I2 M: b, x4 M3 Dinterface Loopback 0
& R) d. Z! ^9 l: y6 X8 M! Yip address 3.3.3.3 255.255.255.255* \6 b$ W5 m6 i/ Y" M  H" W6 D8 K
!! n8 k2 D) H5 u3 d* f
interface Ethernet0/08 ^: B/ D0 a! O- i& p: F
ip address 192.168.34.3 255.255.255.0
2 o% p6 P; t* Q: C8 j!8 N9 r/ o$ w8 b0 \% Q
interface S1/0: D9 K: i/ U* B; ~  Q
ip address 192.168.23.3 255.255.255.0
3 L4 N6 n+ |: oip ospf network non-broadcast; z. m# N5 ^7 c6 f% r! R8 g
!6 \6 d/ W7 ^& m9 K# D- }/ S: B
interface S1/1, _( u* }0 B7 X$ r" P1 z; j' R
ip address 192.168.13.3 255.255.255.0. o3 @" o1 X4 C
ip ospf network non-broadcast+ D& r2 Y9 a' _, X4 v& y
!4 N2 z& f- y8 l0 b3 Y
router ospf 1
: s5 p  m5 p+ L4 B6 m8 dnetwork 192.168.13.0 0.0.0.255 area 03 O+ p9 p6 K: a3 @" s
network 192.168.23.0 0.0.0.255 area 03 N* H4 i4 [: L9 C" `4 q
network 192.168.34.0 0.0.0.255 area 1
+ O8 o/ V$ ~# F* Dnetwork 3.3.3.3 0.0.0.0 area 0
0 [$ A  A/ {- V6 marea 1 virtual-link 4.4.4.4# E5 Y, `- w3 _9 t; w# B& [% x5 o
neighbor 192.168.23.2R4
$ z. @* v0 n. l; l  D5 A* kinterface Loopback 0
" I- E6 Q& Z+ R& m. }& cip address 4.4.4.4 255.255.255.255
. U+ ~- i% B% h: B/ sinterface FastEthernet0/0
! f; U! m* ~3 p8 a) ]7 _ip address 192.168.34.4 255.255.255.0
, R# I& `2 C0 {# N# O- W!
6 P, [' r: N0 ointerface Ethernet0/1, g8 P3 @4 Y1 b3 O( l& @( r
ip address 192.168.45.4 255.255.255.0
! l. O/ j# n3 i$ s" Rno shut2 m, g5 K; P1 T6 G. U+ ~& b
!
" Z$ R- ?' D1 E  s: p8 {interface Ethernet0/2( G+ }5 G! @" b8 N+ w
ip address 192.168.46.4 255.255.255.0
" c9 F- ^% r! `8 Pno shut) {# ^2 e7 ?5 \' Y3 |" u& s) K% V
!, y) ^( p. n( R! N
router ospf 1
) c* I4 H1 i: ^4 t7 U7 ?network 192.168.34.0 0.0.0.255 area 1
% H- b! e7 D5 [# I. }& C6 Z- Mnetwork 192.168.45.0 0.0.0.255 area 29 x/ n% M  p" w2 b5 h; u; A
network 192.168.46.0 0.0.0.255 area 3
  H' E( ]1 Q& [1 ~network 4.4.4.4 0.0.0.0 area 1( c7 u6 E2 `2 j4 k+ O8 y
area 1 virtual-link 3.3.3.3
8 D  @/ A' s9 _area 2 nssa  L  @; c, V8 F1 ^
area 3 stub no-summaryR5
% D$ q. F" s% \3 Y. u; Rinterface Loopback09 C, D( }8 T# f3 x5 X) y# C  Y# ]" p
ip address 5.5.5.5 255.255.255.255
7 H$ j; _1 ^, U$ O5 b# Yinterface Loopback1
' X9 I1 |6 |/ F1 Fip address 5.5.1.1 255.255.255.2552 A. O, v5 A# E; z
interface Loopback2$ k; u) C, p5 h3 `6 z
ip address 5.5.2.1 255.255.255.255
+ @6 c+ k, U' G3 Uinterface Loopback35 }! P9 Q; _" E; ~8 X$ |; H4 W
ip address 5.5.3.1 255.255.255.255# E! q* K/ M& O. H1 }
interface Loopback43 L$ d7 ]% F' p! Z5 P  P- y
ip address 5.5.4.1 255.255.255.255" P/ w* H' k' S
interface Ethernet0/0' l! P9 s2 e$ w0 W
ip address 192.168.45.5 255.255.255.0
) q( H- X* v5 b% a6 e3 }!7 v/ f! T- k7 N) o8 e, f/ G
router ospf 1* c: A5 g+ `) ^4 ^7 O( c& }$ J
network 192.168.45.0 0.0.0.255 area 28 Y4 R$ {4 e& _2 ?
network 5.5.0.0 0.0.255.255 area 2
7 {4 ]! \, Z' x2 W0 ]+ warea 2 nssaR6
9 V/ |. Y/ F  b! I# x7 I: S- L9 Qinterface Ethernet0/0
0 y  y  A& w, `$ c7 |ip address 192.168.46.6 255.255.255.0' d3 A: M3 x& m$ O* r, Z0 D) z. h
interface Loopback 03 Y8 g" ~7 b5 `
ip address 6.6.6.6 255.255.255.255
2 Z  F1 }" g, `  c- A9 b, b!# h- X9 Q3 M6 m- Y: N/ T5 A) r4 `2 T
router ospf 1
0 ?' z2 P3 ^. Znetwork 192.168.46.0 0.0.0.255 area 3
" P$ X6 V, N  P" f. B; bnetwork 6.6.6.6 0.0.0.0 area 31 N" z2 v. D+ `; a# Y5 H
area 3 stubSome notices from above configuration:
' \, r! r! J1 m+ The OSPF network type between R2 & R3 is non broadcast.6 l1 {- O+ S  q& d: h* i( E+ Z
+ R3 and R4 is running virtual-link to connect Area 2 & 3 to Area 0% L3 p4 G. S& C! `
+ Area 2 is a NSSA area while Area 3 is a Totally Stubby area( X( v+ Z9 ~: m$ ], I% g
You 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
1 @0 i# ?" u7 b5 `$ wQuestion 1% s4 n' w( K  C& B2 K( [
How old is the Type 4 LSA from Router 3 for area 1 on the router R5 based on the output you have examined?
' A5 u9 o3 F) }$ f5 sA. 1858# W$ j8 Y6 ^1 [
B. 1601# _1 `! r* Q* V, U( t
C. 600& m* [9 B  I8 D( S& M
D. 1569: K+ p5 B7 s) |

8 D/ ^4 Q$ s# b: d9 UAnswer: A
! W# n) d4 F5 f3 I' [Explanation- P; P$ }$ j. o6 C
To check OSPF LSA we should use the “show ip ospf database” command on R5:
. ~2 }$ G3 D; y- s1 t+ C" ^; e) D( d' U
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).
; m8 L. @4 P" |' J3 I4 @& yNote: 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.4 h* P' ^: s9 H0 R
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.2 `+ U& L: c2 e) J/ ?. M9 Q! A
Question 2
) I# a3 j, T+ U  YWhich of the following statements is true about the serial links that terminate in R3?0 j% N( t1 t' N
A. The R1-R3 link needs the neighbor command for the adjacency to stay up2 }8 Y) Z' X9 v
B. The R2-R3 link OSPF timer values are 30, 120, 120' S' f. Q+ |2 T: n/ Q
C. The R1-R3 link OSPF timer values should be 10,40,40
+ i4 Y! S5 X* FD. R3 is responsible for flooding LSUs to all the routers on the network.
) r+ Y0 S! q( c. P3 h
. V# L$ N0 i! c) gAnswer: B5 c3 P8 H& U" ]3 e
Explanation8 {  K' H3 h9 G8 `- t3 U3 ?1 r' y
Check the Serial1/0 interface of R3 which is connected to R2 with the “show ip ospf interface serial 1/0″ command:
+ n( M' D' r5 T1 O% i' K9 l) I, H6 B! `* S% `" I; z3 D1 P: a
There are two things we should notice from the output above:8 [+ [! f3 @. Y/ i0 n2 |3 w
+ 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:; @8 Z% ]4 q5 G+ H0 Z- ^5 _0 L
router ospf 1
& X& @* b  B% Z4 P$ y; L0 [neighbor 192.168.23.3And on R3:" [6 s+ ^8 C! L
router ospf 1, X; M9 H: v$ c+ g( J
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.
) }) q! T- q0 A2 J- FQuestion 3) n% [' f4 h: L0 ^
How many times was SPF algorithm executed on R4 for Area 1?
" v) x# ]- j% N- SA. 1
& N; I1 O3 l0 kB. 55 n5 T  J2 y2 b$ x' W1 i+ ^6 U  T4 v0 u
C. 9
9 C1 @0 o1 s! I1 q/ ?D. 20$ l2 O% u: I2 e6 v8 t5 Y
E. 54
2 O% ]7 G! W- ]  [5 S  xF. 224& h9 R' O6 C: ]+ P

" z( e+ m5 Q  O4 V5 V# KAnswer: C6 g- a$ @7 o4 K; Q2 X$ w- |8 P
Explanation0 \" P+ j# Y: m' w: w
We can check the number of executed SPF algorithm via the “show ip ospf” command on R4:
/ H/ g4 d- F4 p3 }/ V2 H) t4 Y0 L; K- X
In the output above we can see SPF has been executed 9 times./ k& z+ P+ J  N# D0 i5 ^
Question 44 A0 K7 c7 x- \( I5 P+ D. O
Areas of Router 5 and 6 are not normal areas, inspect their routing tables and determine which statement is true?
1 l1 n* Y3 h2 J' FA. R5′s Loopback and R6′s Loopback are both present in R5′s Routing table: t$ Q. j3 H: d* a& K$ v: g" n8 r0 U
B. R5′s Loopback and R6′s Loopback are both present in R6′s Routing table; V9 g! _( B- U( S
C. Only R5′s loopback is present in R5′s Routing table& r) S+ ~2 R, [( f& K* ?
D. Only R6′s loopback is present in R5′s Routing table' C$ v; m" E' d7 J1 x& `
E. Only R5′s loopback is present in R6′s Routing table- p( D) L2 x; a# S' f- h/ r
" ~9 |8 O# ^4 T
Answer: A1 n1 Y" N7 N, ~- _2 q
Explanation4 s2 n, X- ]2 g/ D& Z# \/ _
Area 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:
& S) q" D+ J8 Z' T% G9 z1 Q6 ]0 q; b7 [# T4 b& M. p9 V
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.0 S5 p$ E, m+ d- V) `& m

8 t+ x5 J) c0 [. h$ H. A# qNote: NSSA does not receive a default route by default so you will not see a default route on R5.
+ O/ I+ `: E1 k( QArea 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):+ A9 M0 R- _6 O6 I3 s! E

% D( u$ ^& `  F
# v' {- l" L3 QNotice that on R4 you will get more detail (shows “stub area, no summary LSA”) than on R6 (only shows “stub area”).
, N# h+ X: _0 l9 ^. P  RR6 is in a totally-stubby area so we will not see any R5′s Loopback interfaces in R6 routing table:
4 s: c" y0 ^: {/ Y7 G5 d7 x1 U; i
9 |- Z' s% B3 F' H  TNote: You can see a default (summary) route to the outside (O*IA 0.0.0.0/0 …)9 y( U$ r! d* _& q
发表于 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 18:05 , Processed in 0.193538 second(s), 24 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

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