Understand Open Shortest Path First (ospf) Design Guide



Download 0,62 Mb.
Pdf ko'rish
bet4/45
Sana22.11.2022
Hajmi0,62 Mb.
#870289
1   2   3   4   5   6   7   8   9   ...   45
Bog'liq
7039-1

OSPF Cost
The cost (also called metric) of an interface in OSPF is an indication of the overhead required to
send packets across a certain interface.
The cost of an interface is inversely proportional to the bandwidth of that interface. A higher
bandwidth indicates a lower cost
There is more overhead (higher cost) and time delays involved through a 56k serial line than
through a 10M ethernet line.
The formula used to calculate the cost is:


cost= 10000 0000/bandwidth in bps

For example, it costs 10 EXP8/10 EXP7 = 10 to cross a 10M Ethernet line and 10 EXP8/1544000
= 64 to cross a T1 line.
By default, the cost of an interface is calculated based on the bandwidth; you can force the cost of
an interface with the 
ip ospf cost  
interface subconfiguration mode command.
Shortest Path Tree
Refer to this network diagram with the indicated interface costs. In order to build the shortest path
tree for RTA, we would have to make RTA the root of the tree and calculate the smallest cost for
each destination.
This is the view of the network as seen from RTA. Note the direction of the arrows in the cost
calculation.


The cost of RTB interface to network 198.51.100.1 is not relevant when the cost is calculated to
192.168.0.1.
RTA can reach 192.168.0.1 via RTB with a cost of 15 (10+5).
RTA can also reach 203.0.113.1 via RTC with a cost of 20 (10+10) or via RTB with a cost of 20
(10+5+5).
In case equal cost paths exist to the same destination, the implementation of OSPF keeps track of
up to six (6) next hops to the same destination.
After the router builds the shortest path tree, it builds the routing table. Directly connected
networks are reached via a metric (cost) of 0 and other networks are reached in accord with the
cost calculated in the tree.

Download 0,62 Mb.

Do'stlaringiz bilan baham:
1   2   3   4   5   6   7   8   9   ...   45




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish