No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade
Knowledge Base

BGP Preference

Publication Date:  2012-07-27  |   Views:  698  |   Downloads:  5  |   Author:  Mohamed Fawzy  |   Document ID:  EKB0000143214

Contents

Issue Description

RA Advertise default-route to R1 through EBGP
RB Advertise default-route to R2 though EBGP
R1,R2 advertise Default-route to R3 in OSPF
Default-routes in R1,R2 to send internet Traffic to RA,RB

Alarm Information

if you checked the routing table for R2,you will find only Default-route from OSPF
and next hop to R2,the route learned through EBGP only in BGP routing table

Handling Process

the routes with lower Administrative distance is prefered,so the routes from OSPF-ASE is choosed in R2,
to solve that problem,you have to change the preference of BGP routes to be lower than 150, to let R2 put in the routing table the default-route from EBGP
in bgp-View
preference [Preference Value]Route-policy []
you can configure Route-policy to match AS number or Default-route Preference from BGP

Root Cause

R2 Recieve two default-route ,
one from EBGP and it's Administrative Distance is 255
one from OSPF is OSPF-ASE 150
so R2 will choose the route from OSPF

Suggestions

Change the Preference of BGP route to be lower than OSPF-ASE