BGP Path Selection - CCIE Blog
BGP Path Selection - CCIE Blog
com/archives/702/
FEB
The first step consists on checking if the path is valid. If it is, the prefix will get into the BGP table, and later the second step of
selection will start. Subscribe
Delivered by FeedBurner
In order to pass this first check, the path must meet the following requirements:
Let’s study points 1 through 8 and how we can influence them within the following lab. The prefix we are going to be working with is INE Blog
100.100.100.0/24, announced by R4 and R6:
Roger's CCIE Blog
INE
Weight is a Cisco-specific attribute, that means it’s not standard. This attribute is local to the router on witch it’s configured, so it’s not
advertised with the prefix to other peers. This attribute is used to tell the router which path to use to reach the prefix. The highest
value wins.
It’s the first attribute checked by BGP, so if there are two different paths for the same prefix but with different Weight values, the path
with the highest value wins.
Recent Comments
In the lab scenario, R4 and R6 both announce the prefix 100.100.100.0/24, one through an eBGP session and other through an iBGP
session. Let’s check how R2 and R1 see this prefix without changing anything:
R2#show ip bgp
BGP table version is 3, local router ID is 2.2.2.2
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
* 100.100.100.0/24 4.4.4.4 0 0 65002 i
*>i 6.6.6.6 0 100 0 i
1 of 7 6/15/2012 9:12 PM
BGP path selection | CCIE Blog http://blog.initialdraft.com/archives/702/
2 of 7 6/15/2012 9:12 PM
BGP path selection | CCIE Blog http://blog.initialdraft.com/archives/702/
3 of 7 6/15/2012 9:12 PM
BGP path selection | CCIE Blog http://blog.initialdraft.com/archives/702/
4 of 7 6/15/2012 9:12 PM
BGP path selection | CCIE Blog http://blog.initialdraft.com/archives/702/
5 of 7 6/15/2012 9:12 PM
BGP path selection | CCIE Blog http://blog.initialdraft.com/archives/702/
The BGP Best Path Selection Algorithm with examples by CCIE Blog, unless otherwise expressly stated, is licensed
under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
6 of 7 6/15/2012 9:12 PM
BGP path selection | CCIE Blog http://blog.initialdraft.com/archives/702/
Leave a Comment
Name (required)
Website URL
SUBMIT COMMENT
CAPTCHA Code *
Notify me of followup comments via e-mail. You can also subscribe without commenting.
Copyright © 2011-2012 CCIE Blog | eDegree° Theme b y Top Blog Formula on WordPress | Log In
follow:
RSS
Tweet with me
7 of 7 6/15/2012 9:12 PM