Giao thức định tuyến OSPF - Pdf 13

 

!"
Quản trị mạng cơ bản


 
#$
%&'()*+, 
/
01)23)4567&89
: ; < = >7 ? @ A  2
-*>-BC7DAE4+B)
'+'FGH4@'()*'CI;)J)KL
MN=
/
O%&!")F+
/
P3QA;R,SET

U
 
#$
Tổng quan về hoạt động của OSPF

%&'()*V-W+X'YZ)[

K&M'8\=

%]+GHGA-+6'8
:=

>,#B

&'6A:LK@)E-2-*
M+o>BY=>p-B

@)o oe+,#'?L

#K'()*>)7B[

05EA)9=>p7B

&'6@X)*'CI<L

h
 
#$
Cấu trúc phân vùng OSPF

c)FZo!"

c)q7K'()*

%M=1KCn
\ 6-;

@A,*
e'CQ-o
oEA

05EAdH5LH

#K d @ 7K  , >S ,  J)
t)7B


 
#$
OSPF Packet Formats

w
 
#$
OSPF Packet Types


 
#$
The Hello Packet


 
#$
The Link State Request Packet


 
#$
The Link State Update Packet

U
 

R1(config-router)#


 
#$
Câu lệnh router ospf

5);network 'CQ]bCm6M@&
Fo-@

cLK@\)+'(fz
K E 5) ; p- '( { e 'CQ -Z
='9]EG7K!"

#|7)FHK]b'-^Mp-

S:'CQJ)'(7n.@))<*
GH<J);M)1+-*<z
o 
Router(config-router)# network network-address wildcard-mask area area-id

w
 
#$
Câu lệnh router ospf

}-+94567z@LCQ=\@()7
-

Note: Giống như EIGRP, trong một số hệ điều hành IOS của cisco, router có


)-*GH4=HKFb@)H'CQ_)
R1(config)# router ospf 1
R1(config-router)# network 172.16.1.16 0.0.0.15 area 0
R1(config-router)# network 192.168.10.0 0.0.0.3 area 0
R1(config-router)# network 192.168.10.4 0.0.0.3 area 0
R2(config)# router ospf 1
R2(config-router)# network 10.10.10.0 0.0.0.255 area 0
R2(config-router)# network 192.168.10.0 0.0.0.3 area 0
R2(config-router)# network 192.168.10.8 0.0.0.3 area 0
R3(config)# router ospf 1
R3(config-router)# network 172.16.1.32 0.0.0.7 area 0
R3(config-router)# network 192.168.10.4 0.0.0.3 area 0
R3(config-router)# network 192.168.10.8 0.0.0.3 area 0
Area-ID phải
trùng nhau
Process-ID không nhất thiết phải
giống nhau trên tất cả các router
Phải sử
dụng
wildcast
mask


 
#$

OSPF Router IDEF'(f'9H57;E4@'(@)=
H-@);<=
OSPF Router ID

g
 
#$

t*)-AL)d).-A+H7-@
)6l).C*E€
R1: 192.168.10.5d'(f'+Mm r i  rE w i 
R2: 192.168.10.9d'(f'+Mm    E w i 
R3: 192.168.10.10d'(f'+Mm r i UUE w i i
OSPF Router ID
hi$7H
ig$7H
$7H

h
 
#$
Kiểm tra Router ID
R1# show ip protocols
Routing Protocol is “ospf 1”
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Router ID 192.168.10.5
<output omitted>
R2# show ip protocols
Routing Protocol is “ospf 1”
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Router ID 192.168.10.9
<output omitted>


Nhờ tải bản gốc

Tài liệu, ebook tham khảo khác

Music ♫

Copyright: Tài liệu đại học © DMCA.com Protection Status