Professional Documents
Culture Documents
" #
4; K0 . L +$ J& ' I
m_el_share@yahoo.Com J"! ' M 5
UTRSROPPQN * . I
&' +V
Building Scalable Cisco Internetworks Student Guide R
Wikipedia website R
CBT nuggets R
6 W /0% K 5$'
&' >) =) Z )
CCNA VOICE
F 5 2 W X 4 [ 7
http://www.4shared.com/file/74646026/729772c9/arabic_ccna_voice.html?s=1
http://www.boosla.com/showArticle.php?Sec=Net&id=59
http://www.kutub.info/library/open.php?cat=5&book=3232
EIGRP
Enhanced Interior Gateway Routing Protocol
H 6$ $ G# - K + a X` $# R
Hrouting 6) "< classless 6) B -' 5R
"< ( Eb '! c - + 4 3G. B) 6VM K "< * I4 + 4 -' 5R
H B) 6 V M "< -' ! 78<) &
LINK STATE DISTANCE VECTOR K !$ 78<) -' 5R
IP, IPv6, IPX and AppleTalk 72 6 V M KM$ $ 2 5R
Neighbor Table
Topology Table
topology6) 6 1 "< K @4 3G. 7 X`$ $I5 !?< Eb 'F 3G. 7 & ' "#'F5 =L 4 R
H 7 ; G. 72 # =$ 5 Table
Routing table
6) 5$ ' $I5 Topology Table 6) Neighbor Table 6) 6 1 5$ / #'!M 4
Advertised # 7 "' network6) 7 C$' 5 6 % G. routing table
EIGRP
'( )*
". eigrp 6$ $ ^5 _ # \ 4 iG = 1 F t 4 ^ W Ru
H # 7V' interface 6)
H #1$
V 4 7() JBandwidth
H 6 V M "< +$1$ B?' J Delay
keepalives 6) B '4 . BW \ @ L 6$ $ ( 7() J Reliability
6) *+$1$ bandwidth 6) '4 #1$ V 1$ 7 ( 7() J Loading
H interface
6$ $ -' 7IF "< -' #1 $ L V 7IF -' 7I! * [ ) J MTU
H eigrp
"< % F I 3G. 6 B+q $I5 r OSl "< # 8 $I r Eb '! - 3G. metric 6) '4
H + I KM+ 4
Metric = bandwidth (slowest link) + delay (sum of delays)
• Delay = sum of the delays in the path, in tens of microseconds,
multiplied by 256
• Bandwidth = [107 / (minimum bandwidth link along the path, in kilobits
per second)] * 256
• Formula with default K values (K1 = 1, K2 = 0, K3 = 1, K4 = 0, K5 = 0):
Metric = [K1 * BW + ((K2 * BW) / (256 – load)) + K3 * delay]
• If K5 not equal to 0:
Metric = metric * [K5 / (reliability + K4)]
R2#show ip route
'< `) @ G. =) %F Ru
D* 4.2.2.0/8 [90/15610] via 192.168.1.1 00:56:44 , serial interface 1/2
7 ) BW 7 last resort 6) $. ! G. k Y ! F4 %F u Ru
H }! '!M B) X($ C ) 71$1 X($ G. L & .G BW
show ip eigrp neighbors J 72 > % 'F 3G. : Y ] '! \$ =M) Ru
H ! 1 < \ 4 iG Z ( 72 5 H 6) \ D H \ R
BW = $F < C ! D address R
BW 7V'5 B iG interface 6) $. D interface R
V >) BW hello V " 3 |'F5 iG }($ $. D hold uptime R
-' 5 V< G# ^5 @ G. =) '45 \$ }($ G. 6 B 3G.
iG }($ $. RTO (retransmission timeout) SRTT (Smoothed round trip time) R
L 7 routing update table 2 <D# + |'F5 6 L F Z 5
6$ $ 3 |'F5 iG }($ $#< RTO 6) ) # I' !) ?' # + L c ' r B)
H # I' 3G. =) ACK ?'
6$I # L '5 " eV "< |'F "' 7b + $. D eV " 4 ) queue D Q \ R
congestion problem might … F'B 1$5 !?< 9 2 ) L ( G. + > >L !) $
H # L '5 7b 1$5 M >) 9 C 5 ( G. = >L D exist
update, query, or reply 7b B) 72 5 iG ( $. D Seq num (sequence number) R
H BW # I' packet
BBR(config-subif)#encapsulation dot1Q 1
BBR(config-subif)#ip address 172.30.1.1 255.255.255.0
BBR(config-subif)#encapsulation dot1Q 2
BBR(config-subif)#ip address 172.30.2.1 255.255.255.0
BBR(config-subif)#encapsulation dot1Q 3
BBR(config-subif)#ip address 172.30.3.1 255.255.255.0
BBR(config-subif)#encapsulation dot1Q 4
BBR(config-subif)#ip address 172.30.4.1 255.255.255.0
5M G# - K 7 4 $IF =M) Ru
128 64 32 16 8 4 2 1
0 0 0 0 0001=1
0 0 0 0 0 010=2
0 0 0 0 0 011=3
0 0 0 0 0 100=4
OgP † y‡Tl‡{O‡lg‡TOy
OSSHOSSHOgPHP $. , - mask 6) TzOH{PHPHP ip F5 =$ ! % 'F
BBR(config)#router eigrp 1
BBR(config-router)#no auto-summary
C B) * # 6 V M K+ ) ( r # 7V' . 7 7V9 ( =L d F Ru
V' 7 7B + no auto-summary ) Z' ! =L F Z%5
R2(config)#router eigrp 1
R2(config-router)#no auto-summary
R3(config)#router eigrp 1
R3(config-router)#no auto-summary
,- W X`$ $I! r serial interface 1/0 6$B BBR L & .G =M) $IF Ru
Summarization
34 W ' 7(7 ; * $ X`$ $(? j > 7 ( R
7(
$. |F G. 7 I5 " 4 1 3 |'F! iG W Ru
BBR(config-if)# ip summary-address eigrp 1 172.30.0.0 255.255.240.0
R2#clear ip routeu
TQOHTlyHOHO $. TPHPHPHP
L & .G successors mI< ^5 _ -' 5 =L %F Ru
Load Balancing 7 FrM -' 5 M > >L FD 6) n9! # FrM =L C ! !
H #F
W ^5 _ j> ' $ load balancing 6 W X5•$ 7 4 $IF !
eigrp 6$ $ K + L } X`$5 W G. Variance
BBR(config)#router eigrp 1
BBR(config-router)#variance 2
S- R0(config-keychain)#key 1
l- R0(config-keychain-key)#key-string dragon
EIGRP Queries
F4 Y 6 V M X@IF5 5 7b p 9 ] '! \$ /0% G. "< Ru
4' "< #!L F4 going active #F 4' M '5 "' ;) 3G. < Ru
75 route p
BBR(config)#router eigrp 1
BBR(config-router)# eigrp stub
Graceful Shutdown
F ) ^ [ F4 graceful shutdown 6) B eigrp 6$ $ : Y "< /01 B) G. Ru
O T =$ 5 F ! } ( Cisco AY "< FF5+ n $. 7'I F4
T eigrp 6$ $ ^[ ; 6$x w F# ( eigrp 6$ $ -' V'
4 j> T 4' 7b 6 L \ I5L $. graceful shutdown 6 $I5 \$ O =?<
T 4' 6 q $I < update routing table 6 , - hold time 6) "#'F5 =L
\ I5q $I5 T L goodbye ) O $I5 Fr gP 4 Z %' 5 M T
H ; 6 [YL j> L 4' 7b 6 L
OSPF
Open Shortest Path First
area's ^_ F $! v F. Ru
1$5 j5 = >L 6 2 -' < 7V'5 "' I@F . J Regular area RTR
serial interface 6) =?< interface fast Ethernet T interface serial T Ž interface O +
. switch 7V' =$ 5 \$ interface fast Ethernet 6) B) 7V' =$ 5 \$
". -' L interface fast Ethernet 6) 6 ) I@F 3G. -' 7V' iG
- B ; - K! # "' I@F . Regular area * I@F
-'
helloRT
database description (DBD)RO
link-state request (LSR)R{
link-state update (LSU)Rg
link-state acknowledgement (LSAck)RS
7b - + " ?5 r Ru
$ e;' 5 " , - = % 6 1 ospf 6$ $ =$ 5 F 7 hello RTR
H 5% L # 5 #< 45 5G = % 7 6 1 # B =$
6) 6 1 "< *+$1$ "' K 25 ' 7 C$' . J Data (for LSU packet) RgR
- routing table 6) p5 ' $I5 " 4 7B + LSDB
. )* I W "< F -' I Ru
process-id 6) ( X`$ F ( r router ospf R
; = $F $. ip address R
subnet mask 6) w$ 4 $. wildcard-mask R
; 3G. # " 'F' "' I@F ( $. area-id R
*- R0(config)#router ospf 1
*-R0(config-router)#network 192.168.1.0 0.0.0.255 area 0
*-R0(config-router)#network 183.168.1.0 0.0.0.255 area 0
*- R3(config)#router ospf 1
*- R3(config-router)#no network 183.168.2.0 0.0.0.255 area 2
*- R3(config)#router ospf 2
*- R3(config-router)#network 183.168.2.0 0.0.0.255 area 2
*-R1(config)#router ospf 1
uRR1(config-router)#no network 183.168.2.0 0.0.0.255 area 2
uRR1(config)#router ospf 2
uRR1(config-router)#network 183.168.2.0 0.0.0.255 area 2
7B + K @4 %F FF 6 % 7B + ospf 6$ $ K @4 C 1$5 M ! %F Ru
C 183.168.2.0 Y 4 e($ I< j G router 0 L F B+ >L Ospf neighbor
=L %F * Y router 3 $ router 5 < `q F ( >L router 1 s C B) I@F
\$ k V ^_ F I $. G. AY F 45 router 0 G. 45 router 1
process-id s C B) I5 @ ^_ F 3G. 45 router 0 74%! e / Y =L 5 ( 4'!
Router-id
interface ,B ( $. =$ 5 5+ 4 KM "< J Router-id Ru
ip address 192.168.1.1 interface fast Ethernet 0/0 1$5 = >q<
router-id k V5 !?< +$1$ ip address ) $.
ip address 10.0.0.1 loop back interface j5 = >L Ru
router-id =$ <
W X`$ $IF ' 2! ospf - K + a X` F router-id + ! " R
ospf K + L 7B + " '
G# , - ip address X`$ $IF r router 1 loop back interface X`$ $IF Ru
router-id -' ! n < '!M
uRR1(config)#router ospf 2
*-R1(config-router)#router-id 10.0.0.1
t 45 ! # @ K $4 -' KM$ $ 7 t 45 W G. Ru
G# V' K ; -' metric 6)
*- R0 # show ip protocols
] iG [' 4 t 4' F W G. X` =L 4 Ru
priority 10 State DR Z! % %F Ru
# L 4 ! "' % 'F 3G.
NBMA Network
nonbroadcast multiaccess
*-R0(config)#router ospf 1
*-R0(config-router)#network 192.168.1.0 0.0.0.255 area 0
*-R0(config-router)#network 182.168.1.0 0.0.0.255 area 0
*-R0(config)#router ospf 1
*-R0(config-router)#network 192.168.1.0 0.0.0.255 area 0
*-R0(config-router)#network 172.30.1.0 0.0.0.255 area 0
H 5 1 AY '! 1 5+ K + a 7 =M) L Ru
Neighbor 6 1 "< #84 \ 4' Router 1 ) Router 0 =) %! Ru
. Router 0 \ 4' $IF F!L 7 broadcast B -' X @' ! M F!L Z Ru
! 1 . Router 1 L \ 4' $IF ! 1
" ' W ^5 _ ! 1 . 6$I! Router 0 6$B $IF Ru
*-R0(config-router)# neighbor 192.168.1.2
) 7 , $B W f$! + I * $V Ru
+ ! =L 5 = % 17 - priority + =L 5 j! $. F ] 'F ) 1$5 Ru
# - Cost
uRR0(config-router)# neighbor 192.168.1.2 priority 0
uRR0(config-router)# neighbor 192.168.1.2 cost 1
*-R0(config)#interface loopback 1
*-R0(config)#no shutdown
*-R0(config-if)#ip address 172.31.0.1 255.255.255.0
*-R0(config)#router ospf 1
*-R0(config-router)#network 192.168.1.0 0.0.0.255 area 0
*-R0(config-router)#network 172.31.0.0 0.0.0.255 area 0
*-R0(config)#interface loopback 1
*-R0(config)#no shutdown
*-R0(config-if)#ip address 172.28.0.1 255.255.255.0
*-R0(config)#router ospf 1
*-R0(config-router)#network 192.168.1.0 0.0.0.255 area 0
*-R0(config-router)#network 172.28.0.0 0.0.0.255 area 0
( |'!) #‚ AY = % 6 1 "< % =) "< 7%4' M K + a 7 X`$ $I =) 4 Ru
} ( 4 =) %' show ip ospf neighbor W ' ( r }($ 4 GB? ( 4 3G. x
state Full # -
'5 M ' serial 0/0/0 7B + priority ) < `L 6$B R1 6$B =M) $IF Ru
BDR !) 3 'B
*-R1(config-if)#ip ospf priority 0
'-! =L 4 Cisco X8! F!L F. \ 'BM Cisco Y *0#1) X mI< -' 5 f$F G.RO
7B + [' $I! r Cisco 'B $I! BW ,- 5M X8! Map ip
non-broadcast L Ospf
*-RA(config)#interface loopback 1
*-RA(config-if)#ip address 172.29.1.1 255.255.255.0
*-RA(config)#router ospf 1
*-RA(config-router)#network 192.168.1.0 0.0.0.255 area 0
*-RA(config-router)#network 192.168.2.0 0.0.0.255 area 0
*-RA(config-router)#network 172.29.1.0 0.0.0.255 area 0
OSPF 6$ $ - K + a ". I W Ru
- K + a X`$ $I! Router B 6$B $I! =M) Ru
*-RB(config)#interface loopback 1
*-RB(config-if)#ip address 172.30.1.1 255.255.255.0
*-RB(config)#router ospf 1
*-RB(config-router)#network 192.168.1.0 0.0.0.255 area 0
*-RB(config-router)#network 172.30.1.0 0.0.0.255 area 0
*-RC(config)#interface loopback 1
*-RC(config-if)#ip address 172.31.1.1 255.255.255.0
*-RC(config)#router ospf 1
*-RC(config-router)#network 192.168.2.0 0.0.0.255 area 0
*-RC(config-router)#network 172.31.1.0 0.0.0.255 area 0
PHPHPHP 9 ) # ! % BDR DR 6) =) %F R
$. Router B Router C \ 4 e k`$5 iG "! 2 W Ru
-show ip route ospf
*-RA(config)#router ospf 1
*-RA(config-router)#network 192.168.1.0 0.0.0.255 area 0
*-RA(config-router)#network 192.168.2.0 0.0.0.255 area 0
*-RA(config-router)#network 172.28.1.0 0.0.0.255 area 0
*-RA(config-router)#neighbor 192.168.2.2
*-RA(config-router)#neighbor 192.168.2.3
*-RA(config)#interface loopback 1
*-RA(config-if)#ip address 172.28.1.1 255.255.255.0
*-RB(config)#interface loopback 1
*-RB(config-if)#ip address 172.39.1.1 255.255.255.0
*-RB(config)#router ospf 1
*-RB(config-router)#network 192.168.1.0 0.0.0.255 area 0
*-RB(config-router)#network 172.39.1.0 0.0.0.255 area 0
Router C • #1 - K+ a Ru
*-RC(config)#interface loopback 1
*-RC(config-if)#ip address 172.30.1.1 255.255.255.0
*-RC(config)#router ospf 1
*-RC(config-router)#network 192.168.2.0 0.0.0.255 area 0
*-RC(config-router)#network 172.30.1.0 0.0.0.255 area 0
Router D • #1 - K+ a Ru
*-RD(config)#interface loopback 1
*-RD(config-if)#ip address 172.31.1.1 255.255.255.0
*-RD(config)#router ospf 1
*-RD(config-router)#network 192.168.2.0 0.0.0.255 area 0
*-RD(config-router)#network 172.31.1.0 0.0.0.255 area 0
W •4 4 t 4' ! =M) } ' ( #F ( 4 =L %F K + a 7 X` 4 Ru
show ip ospf neighbor W h ' ! Ru
K Y r 2 L & .G … @ 7 5 1$5 RA =) %! Ru
Router • #1 7 Router-id 5 K Y r 2 \ 45 RA =) %! Ru
show ip ospf interface $. X W Ru
J "%5 ' |F G. 7 45 e Ru
=?< 2 T I@F "< up and down ; # < ] 5 LINK "< ; v F. =$ 5 =) ] 5 F RT
# 75 ^5 _ %5 " C B) * K K+ W I $ $I5 M O I@F "< *+$1$ *0#1W
H K 25 ' 7 5 [' G# F4 • #% mI< C B) I@F "< #F 04 #!W
M 5+ 4 K mI< #84 X I@F n9! "< *+$1$ *0#1W # $I * 2 K 1$5 M RO
H ^_ F "< *+$1$ K [' & 7 '
>L 2 ) % 7I5 summarization -' ) X $ I@F 7B + Routing table % 7I R{
n9! 7B + < 4 =$ . ;F $I! M O I@F L 2 T I@F 7B + F 4 Y ;! !+ )
# % =$ 5 j G . ;F $I! # summarization 7 4 $I! . ;F! =) !+ ) >L ) D I@F
H [
area I@F n9! 7B + 7| #!L p LSU 7b % 7I5Rg
*-R1(config)#interface loopback 1
*-R1(config-if)#ip address 172.28.1.1 255.255.255.0
*-R1(config)#router ospf 1
*-R1(config-router)#router-id 172.28.1.1
*-R1(config-router)#network 192.168.1.0 0.0.0.255 area 1
*-R1(config-router)#network 172.28.1.0 0.0.0.255 area 2
*-R1(config-router)#area 1 virtual-link 172.29.1.1
*-R1(config)#interface s0/1
*-R1(config-if)#ip address 192.168.2.1 255.255.255.0
*-R1(config-if)#no shutdown
*-R1(config-if)#clock rate 9600
*-R1(config)#router ospf 1
*-R1(config-router)#network 192.168.1.0 0.0.0.255 area 1
*-R1(config-router)#network 192.168.2.0 0.0.0.255 area 1
*-R1(config)#interface s0/0
*-R1(config-if)#ip address 192.168.2.2 255.255.255.0
*-R1(config-if)#no shutdown
*-R1(config-if)#clock rate 9600
*-R1(config)#interface loopback 1
*-R1(config-if)#ip address 172.29.1.1 255.255.255.0
*-R1(config)#router ospf 1
*-R1(config-router)#router-id 172.29.1.1
*-R1(config-router)#network 192.168.2.0 0.0.0.255 area 1
*-R1(config-router)#network 172.29.1.0 0.0.0.255 area 2
*-R1(config-router)#area 1 virtual-link 172.28.1.1
K+ a m . virtual-link K + ) "#'F! F. Ru
) router-id 6) ['5 M virtual-link ) =) 6$() =) Z%5 B) w + L 7I'F! =) 7 (
virtual-link ( =$ 5 " # B "' Router *0#1) + 2 # area num
=) Z% < 5• #1 V-link =$ ! =) 5 ! n9F< router *0#1) S ^ 6 2 =) F` '< >q<
$#% .) 4!
( 4 4 =$ F iG BW Router , - router-id RT
# B 5 "' I@F Z < ( 4 =$ ' "' interface serial # 7V' I@F i) "<RO
H I@F ( ' $IF interface serial 6)
OSPF LSA Types
"< Y) LSA =) Cisco Y 6$I LSA - 9 '- f $!W /0% G. "< 'F Ru
C$' LSDB - K! * I B K % "#< LSDB - K % #b F
- f $!W 'F B I@F K! ) ; BK! K % 3G.
LSA
S ( LT ( f $!W : Y 'F Ru
RRR
RRR
J W : Y Ru
uRRouter(config-router)#summary-address 192.168.0.0 255.255.224.0
R1
R2
Router's *0#1) { mI< # Y L F * Routing table 6) =) $V "< C ! Ru
Hj> ) Y X 6 $. <
H C B) ^_ F #!) F4 3G. IA \ I@F n9! c B "' Route 6) Z! % C ! R
% G. 7 I' $I iG i W X`$ =M) $IF Ru
W X` •4 % 'F =M) C F Ru
R0
R1
R2
Routing 6) 7B + 5 1 @ 5$ !) route summarization ) F4` =) 4 F!) C ! Ru
L 6 L '5 F !) $. @ G. * b < null0 interface 7V' $. table
3G. Š I L '5 summarization # 7 "' network 6) $ % c B Router
TzOH{THSHP ; 4' 6 L >L j > 6 2 D loop XF '5 " j > Drop
Š I q $I . %5 F • #% # 5 "' K ; 3G. I @ '5 \$ !?<
loop C ] XF 5 j G #F 4' 5 " B) • #1 L 1$' $I5 drop
*-R1(config)#router ospf 1
*-R1(config-router)#network 172.16.64.T 0.0.0.0 area 1
*-R1(config-router)#redistribute rip subnets
*-R1(config)#router rip
*-R1(config-router)#version 2
*-R1(config-router)#network 172.16.1.0
*-R1(config-router)#network 172.16.2.0
*-R1(config-router)#network 172.16.3.0
*-R1(config-router)#network 172.16.4.0
R2 L =M) 7I'FF Ru
*-R2(config)#router ospf 1
*-R2(config-router)#network 172.16.64.2 0.0.0.0 area 1
*-R2(config-router)#network 192.168.1.0 0.0.0.255 area 1
*- R0(config)#router ospf 1
*- R0(config-router)#network 192.168.1.1 0.0.0.0 area 1
*- R0(config-router)#network 10.0.0.0 0.0.0.255 area 1
*- R0(config-router)#default-information originate
*- R1(config)#router ospf 1
*- R1(config-router)#network 192.168.1.2 0.0.0.0 area 1
*- R1(config-router)#network 11.0.0.0 0.0.0.255 area 1
stub #!) #95 4 '5 =) stub area 7B + *+$1$ Router's *0#1) 7 =$ 5 =) Z%5 RO
H stub ! \ 45 =L Z%5 ABR • #1 85) C BW *0#1W #F ( 4 $I =L 7 (
Router • #1 + ) >L D default route 0.0.0.0 ^5 _ I@F 3G. "< Routing ' Ru
L K ! 3G. 1$' $I5 default route -' 5 !?< C B) Y L ] '5 =) I@F 3G. 7B +
Routing % 7 I 5 C BW ^_ F L] ' 6$x $. ABR Router • #1
H I@F 3G. "< *+$1$ Router *0#1) 7B + table
" b 0 72 hup-and – spoke topology "< stub area I@F -' '5 Ru
" b 0 L default route 3 5 5 iG 7 < f 9 "( < 4 1 M f < 7 < f 9 "(
H f 9 "( $ 6$x $. " b 0
5 ! I@F "< *+$1$ *0#1W 7B + 48! =) Z%5 iG , - W C ! I * $V "< Ru
I@F , - $. area area-id stub W G. =) 6$() =) Z%5 stub area L # 5$
totally stub L I@F 3G. 6$ ' j G < W "( L no summary < `q F ( >L L stub
I@F … < * Z%5 G routers *0#1) L summary route 6$ XF 5 W G. x Area
totally stub ) stub }! >L . 5 "'
*-BBR(config)#interface loopback 1
*-BBR(config-if)#ip address 198.0.1.2 255.255.255.0
*-BBR(config)#router rip
*-BBR(config-router)#network 198.0.1.2
*-BBR(config)#router ospf 1
*-BBR(config-router)#router-id 1.1.1.1
*-BBR(config-router)#network 192.168.1.0 0.0.0.255 area 0
*-BBR(config-router)#redistribute rip subnets
*-ARB(config)#router ospf 1
*-ABR(config-router)#router-id 2.2.2.2
*-ARB(config-router)#network 192.168.1.0 0.0.0.255 area 0
*-ARB(config-router)#network 172.30.1.0 0.0.0.255 area 2
*-ARB(config-router)#area 2 stub
rip routing =) C ! ' R2 Router ABR area 2 stub @ X`$ $I! M =) 78<) Ru
area 2 stub ) @ X` 4 … 9 C ! : %F R2 L 7V
R2 K+ a X`$ =M) $IF Ru
*-R2(config)#interface loopback 1
*-R2(config-if)#ip address 128.1.1.5 255.255.255.0
*-R2(config)#router ospf 1
*-R2(config-router)#router-id 3.3.3.3
*-R2(config-router)#network 172.30.1.0 0.0.0.255 area 2
*-R2(config-router)#network 128.1.1.0 0.0.0.255 area 2
*-R2(config-router)#area 2 stub
: %F # \ 4' '5 " stub L AREA 2 "< *+$1$ Router • #1 7 75$ '5 =) Z%5 Ruu
*0#1W "( #F ( 4 •I< area 2 stub ) X`$ F ( F !W j > ABR • #1 X
I@F 3G. 7B + *0#1W "( ABR • #1 : %F ( 4 6 ' ' " O I@F 7B + *+$1$
H stub L area 2 7B + *0#1W 7 7 $ Z%5
*-BBR(config)#interface loopback 2
*-BBR(config-if)#ip address 198.0.2.1 255.255.255.0
*-BBR(config)#interface loopback 3
*-BBR(config-if)#ip address 198.0.3.1 255.255.255.0
*-BBR(config)#router rip
*-BBR(config-router)#network 198.0.2.1
*-BBR(config-router)#network 198.0.3.1
*-BBR(config)#router ospf 1
*-BBR(config-router)#summary-address 198.0.0.0 255.255.252.0
I@F L O I@F 75$ ' =M) $IF summary Route 7 I' 5 R2 =) I * $V "< C ! Ru
Totally stubby area
*-ABR(config)#router ospf 1
*-ABR(config-router)#area 2 stub no-summary
*-R2(config)#router ospf 1
*-R2(config-router)#area 2 stub no-summary
I@F 7B + RIP ) IGRP ;! 72 b @ KM "< -' ' NSSA areas f$F G. < `) Ru
7B + +$1$ Router 7V' $. IGRP or RIP -' 5 Router • #1 ^5 _ j> F4
LSA type 5 x j > ABR • #1 L LSA type 7 ;F $I • #% G. = < j G NSSA I@F
$I5 r LSA type 7 7 Y ;F j G (external route) I@F 3G. 7B + . ;'! f$F
back bone area 0 L . ;! LSA Type 5 "I I # Y L # + q ABR
• #1 $I5 (stub area and Totally stubby area) m nssa area I@F 3G. '4 Ru
7B + nssa e $ '5 D external route M nssa I@F L Default route 6 q ABR
O N2 or O N1 (N means NSSA) 7 ; G. Routing table
#Fx OSPF NSSA external type 2 #!) external route 6 I' '5 !) C ! Ru
ospf 7 I' #!) I@F 3G. 6 ' M j G Rip n ospf 6$ $ B
*-R1(config)#interface loopback 1
*-R1(config-if)#ip address 10.1.1.1 255.255.255.0
*-R1(config)#router ospf 1
*-R1(config-router)#network 192.168.1.0 0.0.0.255 area 0
*-R1(config-router)#network 10.1.1.0 0.0.0.255 area 0
*-R2(config)#interface loopback 1
*-R2(config-if)#ip address 10.2.2.2 255.255.255.0
*-R2(config)#router ospf 1
*-R2(config-router)#network 192.168.1.0 0.0.0.255 area 0
*-R2(config-router)#network 10.2.2.0 0.0.0.255 area 0
*-R2(config)#router ospf 1
*-R2(config-router)#area 0 authentication message-digest
*-R1(config)#router ospf 1
*-R1(config-router)#area 0 authentication message-digest
&$ @ $. G. : %F 6 V M =) =M) C ! Ru
= 5 … @ & K 2 6$ $ G. * ( $. IS-IS 6$ $ K0 Ru
ISP }! '!M B " •$ 7 ( -' C BW KM$ $ M $ -' t '9
=) s OSPF 6$ $ ;'! 6$ $ G# 5 + #5 5G FI' I
6$ $ G. -' "< FI' * 2 OSPF 6$ $ 7 ( b ;!L IS-IS 6$ $
IS-IS 6$ $ ;'! 2 ) OSPF 6$ $ ;'! 6$ $ G# #'5 +
m 5 iG m $ • #% $. 4 [ F4 intermediate system ". IS V'B Ru
H mI< Router • #% F. VI5 #84 ' Y
I5 _ "< (CLNS) Connectionless Network Service n< IS-IS 6$ $ -' 5 Ru
/ ;!L < Router • #1 \ 4' '5 #I5 _ ip addressing !$F4
(IGP) interior gateway $. IS-IS 6$ $ '45 j G D Link state Database (LSDB)
Routing "< -' 5 6$ $ !W j > D protocol
ip addressing !$F4 "< j > OSI model Layer 3 protocol -' 5 IS-IS 6$ $ Ru
*0#1) \ 4' $I C$' G. "< *+$1$ Routers *0#1) 7 "! 2 C$' J Level 2 Ru
Routing table / F $I r 6 W C$' "< =$ "' #'I@F n9! "< *+$1$ Routers
^_ F "< =$ "' "! 2 C$' "< *+$1$ Routers *0#1) \ 4' $I5 r D # B
Routing 4 $I " U I@F = $F N area address destination -' $I r D C B)
H lowest cost path -' M ^5 _ ( 7( 'B $I
#'I@F n9! "< *+$1$ Paths K 4' $I 6 W C$' Router *0#1) J Level 1
H (intra-area) B I@F ) # V' I@F mI< C B) I@F C AY 4 M mI<
"' K 7 4' $I "! 2 6 W = 5$' "< =$ "' Routers *0#1) J Level 1-2 Ru
Learn all paths between (inter-area) and (intra-area) B ^_ F ^_ F
H OSPF 6$ $ "< -' ABR L 5 *0#1W 3G.
"< "' *0#1W Level 2 routers "! 2 C$' "< Routers *0#1) m "' K Ru
Backbone Level 1-2 Routers "! 2 6 W = 5$'
9 '- KM$ $ -' Routing 4 $I5 =) X @' 5 !) IS-IS 6$ $ K0 Ru
=) "< (ip addressing) Routers *0#1) !$F "< CLNS B -' 5 IS-IS 6$ $ =?<
6$ $ (ip addressing) *0#1W !$F "< TCP/IP 6$ $ -' PC $ *0#1)
H # 3G# $I ? !W #F Routing 4 $I5 =) $# 7 X @' 5 IS-IS
\ 4' "< h ' " hello (IIHs) 7b 6+ "< IS-IS 6$ $ Routers *0#1) -' Ru
H •4 #84 X 0' #84
J . f $!) 4 ) L Routing IS-IS 6$ $ I5 Ru
#84 \ 4' "! 2 C$' "< *+$1$ Routers (ISs) *0#1W 7 J Level 2 Routing Ru
H Domain C$' e '- system id =$ 5 =) Z%5 j G D 85) area Id ^5 _
Routing $I ) iG $. area id . system id. NSEL =) * ( .) Ruu
Level 1 Routing =$ 5 ! < I@F n9! area id = IS L ] '5 =) IS + ) >q< R
NET Addresses
7 \ 4 (level 1-2 IS) x j > (level 1-2 IS) L (level 1 IS) packet Z.G R
Topology 7 Y \ 4' '5 " 5 "' LSDB #F 7 6+ '5 =L Z% < n 4 (level 2 IS)
(intra-area) #F /01 $. "' * ; -
7V5 " ^5 _ 78<) '-5 " Level 2 topology database 7B + 5 = $F4 ! I $I5 R1 R
R8 L 6 q $I < I@F 3G. L
Link-State Packets
LAN (broadcast) 7 "< LSP and IIH 7b f $!) ] 'F /0% G. "< Ru
Point-To-Point
f$! 7V9 $I5 LSP , IIH $! -' $I5 IS • #1 7 J Level 1 and Level 2 LSP Ru
L 7V mI< 7b Level 1 IS L mI< 7V 7b 3G. 1$5 ! p #84 7b 3G.
H Level 2 IS
*0#1) # + '5 "' 7b ". IIH (IS-IS hello) 7b J Level 1 and Level 2 IIH Ru
LSDB 6+ $I5 r neighbors = 1 k V #84 \ 4' " Routers
7b 3G. 6+ '5 U kVF5 MN }($ G. [ 5 "! $r TP 7 # + '5 7b 3G.
B 1$5 D Level 1 and level 2 ' ' "< j > multicasts to a multicast ^5 _
H V< % G. '45 * '9 3G. "< hello ' '5 = ! r {P * Hold time
DIS $I5 CSNP K 9 C L 6 I' "< A@B +$1 "< J PSNP 7b -' '5 Ru
H # _ L # q
mI< $I5 Router • #1 = >L ' CLNS addressing -' ! =) Z%5 !) k`$5 /0% G. Ru
H ip routing
j > 4 (hello protocol data unit PDUs) ^5 _ •4 #84 X ISs *0#1W \ 4 '5 Ru
H NET address & $I " SPF 7 [;' IS • #1 $I5
"< *+$1$ ISs *0#1) "( L default Route 6 q level 1-2 C$' IS • #1 $I5 Ru
7V =) X @' e *0#1W 3G. \ 4 j G level 1 C$' "' same AREA 'I@F n9!
H C BW ^_ F "< *+$1$ *0#1W L
) \ 4' ^5 _ 7 L K X`$ IS • #1 7 $I5 LSDB 0 6+ '5 =) 4 Ru
Level 1-2 IS & ( L best path ^5 _ 78<) 'B $I5 r metric for each path < 4!
$. 5 1 mI< ) C$ %! I K+ a "< Ru
*- IS0(config-if)#ip router isis
*- IS0(config)#router isis
*- IS0(config-router)#net 49.0001.1111.1111.1111.00
*- IS0(config-router)#is-type level-1-2
$. BW W Ru
*- IS0(config-router)#is-type level-1-2
*- IS0(config)#router isis
*- IS0(config-router)#net 49.0002.2222.2222.2222.00
*- IS0(config-router)#is-type level-1-2
*- IS1(config)#interface loopback 1
*- IS1(config-if)#ip address 172.30.1.1 255.255.255.0
*- IS1(config-if)#ip router isis
*- IS1(config-if)#interface loopback 2
*- IS1(config-if)#ip address 172.30.2.1 255.255.255.0
*- IS1(config-if)#ip router isis
*- IS1(config)#interface loopback 3
*- IS1(config-if)#ip address 172.30.3.1 255.255.255.0
*- IS1(config-if)#ip router isis
*- IS1(config-if)#interface loopback 4
*- IS1(config-if)#ip address 172.30.4.1 255.255.255.0
*- IS1(config-if)#ip router isis
H : %F summarization 7 ! %! Ru
*-IS0(config)#router isis
*-IS0(config-router)#net 49.0001.0000.0000.0001.00
*-IS0(config-router)#is-type level-1
*-IS0(config-if)#interface loopback 2
*-IS0(config-if)#ip address 172.30.2.1 255.255.255.0
*-IS0(config-if)#ip router isis
*-IS0(config-if)#interface loopback 3
*-IS0(config-if)#ip address 172.30.3.1 255.255.255.0
*-IS0(config-if)#ip router isis
*-IS1(config)#router isis
*-IS1(config-router)#net 49.0001.0000.0000.0002.00
*-IS1(config-router)#is-type level-1-2
7V' interface !W j > level 2 only 7b 6+ ' ! serial 0/1 e5 4 /0% G. "< Ru
H B) level LSP 6 L 1 < IS level 2 only
IS 2 level 2 only Ž IS2 - K+ a X`$ =M) $IF Ru
*-IS2(config)#router isis
*-IS2(config-router)#net 49.0002.0000.0000.0003.00
*-IS2(config-router)#is-type level-2
W -' F 2 r Ru
- show isis database
W -' F IS1 Ru
-show isis database
W -' $IF Ru
- show isis database
CCNP
BSCI
b +k "! G =L $1
4; K0 . L +$
M_el_share@yahoo.com
&' +V
RBuilding Scalable Cisco Internetworks Student Guide R
RWikipedia website R
RCBT nuggets R
!" #$
%&' ( )*+ , -.
(13-4-2009)