Understand Open Shortest Path First (ospf) Design Guide


redistribute static metric 50 metric-type 1 subnets



Download 0,62 Mb.
Pdf ko'rish
bet26/45
Sana22.11.2022
Hajmi0,62 Mb.
#870289
1   ...   22   23   24   25   26   27   28   29   ...   45
Bog'liq
7039-1

redistribute static metric 50 metric-type 1 subnets
RTE#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default
Gateway of last resort is not set
10.0.0.16 255.255.255.0 is subnetted, 1 subnets
O E1 10.0.0.16 [110/114] via 203.0.113.151, 00:04:20, Serial0
203.0.113.150 255.255.255.252 is subnetted, 1 subnets
C 203.0.113.150 is directly connected, Serial0
O IA 203.0.113.140 [110/74] via 203.0.113.151, 00:09:41, Serial0
O E1 198.51.100.1 [110/114] via 203.0.113.151, 00:04:21, Serial0
Note that the type has changed to E1 and the cost has been incremented by the internal cost of
S0 which is 64, the total cost is 64+50=114.
Assume that we add a route map to the RTC configuration:
RTC#
interface Ethernet0
ip address 203.0.113.142 255.255.255.0
interface Serial1
ip address 203.0.113.151 255.255.255.252


 router ospf 10
redistribute static metric 50 metric-type 1 subnets route-map STOPUPDATE
network 203.0.113.150 0.0.0.255 area 2
network 203.0.113.140 0.0.0.255 area 0
ip route 10.0.0.16 255.255.255.0 Ethernet0
ip route 198.51.100.1 255.255.0.0 Ethernet0
access-list 1 permit 198.51.100.1 0.0.255.255
route-map STOPUPDATE permit 10
match ip address 1
The route map only permits 198.51.100.1 to be redistributed into OSPF and denies the rest. This
is why 10.0.0.16 does not show up in the RTE routing table anymore.
RTE#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default
Gateway of last resort is not set
203.0.113.150 255.255.255.252 is subnetted, 1 subnets
C 203.0.113.150 is directly connected, Serial0
O IA 203.0.113.140 [110/74] via 203.0.113.151, 00:00:04, Serial0
O E1 198.51.100.1 [110/114] via 203.0.113.151, 00:00:05, Serial0

Download 0,62 Mb.

Do'stlaringiz bilan baham:
1   ...   22   23   24   25   26   27   28   29   ...   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