cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
368
Views
5
Helpful
1
Replies

redistribution question.

kanwaljeet
Level 1
Level 1

what is the significance of metric when redistributing routes from BGP to ospf.

Refer example below :

router ospf 100

redistribute bgp 65000 metric 65000 subnets tag 65000 route-map BGP-into-OSPF

network x.x.x.x area 3

Here even if i dont give any metric to routes redistributed from BGP to ospf,external routes will be redistributed into ospf with a default metric of 1 and ofcourse they have an administrative distance of 110.

My question is what advantage does it give redistributing routes with a higher metric and can we redistribute the bgp routes into ospf with defualt metric which is 1.

Any good example to explain this would be highly appreciated.

Thanks for any help.

-- Jeet

1 Reply 1

Harold Ritter
Level 12
Level 12

You might want to set the metric if you have multiple redistribution point, where bgp is redistributed in ospf and that you want to prefer one exit point as opposed to another. This way traffic would always exit your AS via the same exit point unless this router goes down, at which point one of the other exit point with a higher metric would be used.

Hope this helps,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

Review Cisco Networking for a $25 gift card