Tuesday, 19 April 2011

OSPF - Part 5

Redistribution external routes into OSPF
Basic concept of redistribution

Autonomous system (or) routing protocol မတူတဲ့အခါ တစ္ခုနွင့္တစ္ခု route လုပ္နုိင္ရန္ redistribution ကိုလုပ္ေပးရပါတယ္။ အဓိကသိရမွာက routing protocols ေတြရဲ႔ topology table ေတြက မတူတဲ့အတြက္ redistribution လုပ္တဲ့အခါမွာ IP routing table ကိုပဲအသံုးျပဳပါတယ္။

Example:


Injecting into EIGRP
ASBR1(config)# router eigrp 1
ASBR1(config-router)# redistribute ospf 1

Injecting into OSPF
ASBR1(config)# router ospf 1
ASBR1(config-router)# redistribute eigrp 1


Command syntax (optionals) for redistributing routes into OSPF
redistribute protocol [process-id | as-number][metric value][matric-type value][route-map name][subnets]

protocol: bgp, igrp, eigrp, isis, ospf, and rip
metric (optional):  ပံုမွန္အားျဖင့္default-metric command တြင္သတ္မွတ္ထားေသာ metric value ကိုယူပါတယ္။
metric-type (optional): OSPF external route types (OE1 အတြက္ 1 or OE2 အတြက္ 2) ကိုေရြးခ်ယ္ေပးရပါတယ္။ မေရြးပါက default အားျဖင့္ 2 ဟုသတ္မွတ္ပါတယ္။
route-map (optional): route filtering အတြက္အသံုးျပဳပါတယ္။
subnets (optional): အဲဒီ keyword မပါရင္ classful network ေတြကိုသာ redistribute လုပ္ပါတယ္။

Default metric for OSPF redistribution
1. BGP ကလာရင္ 1
2. Other OSPF process ကလာရင္ source route's metric နွင့္တူသည္။
3. all other sources (eg. eigrp) ကလာရင္ 20.

ဆက္ရန္..........
19/4/2011

No comments:

Post a Comment