03-13-2009 10:02 PM - edited 03-04-2019 03:55 AM
Hi,
Does the re-distribution change the "administrative distance" to 100?
rdgs
R1
router ospf 10
redistribute bgp 65530 subnets route-map BGP-TO-OSPF
network 172.16.1.0 0.0.255.255 area 0
!
router bgp 65510
nei 192.168.10.1 remote-as 65520
!
!
!
route-map BGP-TO-OSPF permit 25
set metric 100
!
!
Solved! Go to Solution.
03-14-2009 01:10 AM
Anita
No it does't change the administrative distance. What it does is set the metric of each route that is redistributed to 100.
Jon
03-14-2009 06:24 AM
Hello Anita,
yes the route-map sets the seed metric for OSPF: the redistributed routes will be seen as O E2 routes with metric 100
to be noted that because no match command is present all BGP routes are redistributed.
the subnets keyword is necessary or OSPF will accept only major networks (A,B, C)
Hope to help
Giuseppe
03-14-2009 10:15 AM
Anita:
Just to add a bit to what Jon and Giuseppe said, a metric is a concept in routing protocols that is used to measure the desirability of a particular route. It is a general term that measures the "cost" of a route. In OSPF, the lower the metric, the lower the cost, the more desirable the route it is. OSPF uses bandwidth and a ratio to determine the numerical metric of a route.
In eigrp, the metric used to determine desirability of a route is derived from the bandwidth and delay between the router and the destination network. The metric is a numerical result of a mathematical equation.
You need to do some reading on routing protocols, as your question speaks to the very basics.
HTH
Victor
03-14-2009 01:10 AM
Anita
No it does't change the administrative distance. What it does is set the metric of each route that is redistributed to 100.
Jon
03-14-2009 03:05 AM
Hi Jon,
what metric of OSPF?
rdgs
03-14-2009 06:24 AM
Hello Anita,
yes the route-map sets the seed metric for OSPF: the redistributed routes will be seen as O E2 routes with metric 100
to be noted that because no match command is present all BGP routes are redistributed.
the subnets keyword is necessary or OSPF will accept only major networks (A,B, C)
Hope to help
Giuseppe
03-14-2009 10:15 AM
Anita:
Just to add a bit to what Jon and Giuseppe said, a metric is a concept in routing protocols that is used to measure the desirability of a particular route. It is a general term that measures the "cost" of a route. In OSPF, the lower the metric, the lower the cost, the more desirable the route it is. OSPF uses bandwidth and a ratio to determine the numerical metric of a route.
In eigrp, the metric used to determine desirability of a route is derived from the bandwidth and delay between the router and the destination network. The metric is a numerical result of a mathematical equation.
You need to do some reading on routing protocols, as your question speaks to the very basics.
HTH
Victor
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide