Docsity

BGP Attribute Hierarchy and Path Selection, Lecture notes of Network Theory

Toggle sidebar
bg1
BGP Attributes: -
Type=Path Vector
Algorithm=Path Selection
eBGP AD=20
iBGP AD=200
Protocols IP
Transport TCP 179
####WLAOM..RCN###
attributes:
==========
1.weight (default=0) prefered=highest
configure this on a router that is receiving the routes (IN) (customer side)
cisco proprietary
this is given on specific device
is given on PA it self..
#neighbor X.X.X.X weight 762
2.local preference(default=100)prefered=highest
• configure this on a router that is receiving the routes (IN) (customer side)
pf3
pf4

Partial preview of the text

Download BGP Attribute Hierarchy and Path Selection and more Lecture notes Network Theory in PDF only on Docsity!

BGP Attributes: -

Type=Path Vector Algorithm=Path Selection eBGP AD= iBGP AD= Protocols IP Transport TCP 179 ####WLAOM..RCN### attributes: ========== 1.weight (default=0) prefered= highest configure this on a router that is receiving the routes (IN) (customer side) cisco proprietary this is given on specific device is given on PA it self.. #neighbor X.X.X.X weight 762 2.local preference (default=100)prefered= highest

  • configure this on a router that is receiving the routes (IN) (customer side)
  • only in is supported, routes learning in to our AS
  • LP is not exchanged in EBGP. hence we use bgp community strings R1#bgp default local-preference 200 but if we give above command it applies for all routes Note that the Local Preference will only affect the traffic leaving the AS. you can use route maps to apply local preference for specific routes. access-l permit 10 10.10.10. access-l permit 20 50.0.0. R1#route-map FILTER_ match ip add 1 set local-preference R1#router bgp <> neighbour route-map FILTER_10 in only in is supported, routes learning in to our AS 3.Locally Originated preferred= local routes
  • Prefer the path that was locally originated via a network 4.AS PATH preferred= lowest R1---R2_10----R3_
  • configure this on a router that is advertising its routes... .(OUT) (ISP SIDE or customer side)
  • can be exchanged b/w 2 AS
  • only sends to neighbor AS. again neighbor AS will also send to other AS..

7)EBGP are preffered than IBGP. 8)Lowest IGP metric:- BGP internal routing, i.e;IGP. used in MPLS or internal network. 9)Maximum Paths:- checkes if loadbalance is there for multiple BGP paths. IF not it continue to next one. 10)Oldest one(External):- first come first serve 11)router-ID== prefered =lowest

  • If router id is also same then it uses below one 12)cluster list length == prefered =lowest
  • used in route reflector environmnt 13)neighbor address== prefered =lowest ####WLAOM..RCN### =========================================== Happy Reading…. Follow me on linkedin : https://www.linkedin.com/in/rakesh-sa-b2b Thanks Rakesh