BGP Weight for CCNP/CCIE

preview_player
Показать описание
Welcome to Network Engineer Pro. I'm Rafael, CCIE 64356.

I'm working on ton of content (videos, labs and more) to help you learn networking. If you want to stay up to date on what I'm working on and be the first to know then head to my website where you can sign up and get notified:

You can also follow me on Facebook:

--------------------------------------------------------------------------------------------------------------
BGP Best Path Selection Cisco Documentation

In this tutorial video I cover traffic engineering in BGP using the Weight attribute. The weight attribute is a Cisco-defined attribute. This attribute uses weight to select a best path. The weight is assigned locally to the router. The value only makes sense to the specific router. The value is not propagated or carried through any of the route updates. A weight can be a number from 0 to 65,535. Paths that the router originates have a weight of 32,768 by default, and other paths have a weight of 0.

Routes with a higher weight value have preference when multiple routes to the same destination exist.

I demonstrate this in the video using my EVE-NG lab. Here is the config I used on R1 to change the weight.
The first option I did was setting the weight at the neighbor level under the BGP process using the following command:

router bgp 100
neighbor 20.0.0.2 weight 9000

That worked great but it applied the weight value of 9000 to all prefixes from that neighbor. Sometimes its better to be as specific as possible.

Option 2 I decided to use a route-map and a prefix-list to set the weight but only on a single prefix: 1.1.1.0/24

I applied that inbound on neighbor ISP-B. The effect was that out of all prefixes I received inbound from ISP-B, only the 1.1.1.0/24 prefixes would have its weight value changed.

Here is the config for option 2.

ip prefix-list WEIGHT_ISP_B seq 5 permit 1.1.1.0/24
route-map WEIGHT_ISP_B permit 10
match ip address prefix-list WEIGHT_ISP_B
set weight 40000
route-map WEIGHT_ISP_B permit 20
!
router bgp 100
neighbor 20.0.0.2 route-map WEIGHT_ISP_B in

I hope that you found this video helpful, if so don't forget to like and subscribe! Any question please let me know.

#ccna #ccnp #ccie
00:00 Intro
00:25 Theory
01:22 Lab Time
09:05 Outro
Рекомендации по теме
Комментарии
Автор

You explain better than most teachers. You should make full CCNA course.

rainbowColor-ypie
Автор

Thank you for the lessons. I especially liked the building an ESXi Server lessons. You know and understand networking, and you make it easy to follow.

kemomaynard
Автор

Good Stuff! I know this wasn't what you taught, but the "show run | s r bgp" was what caught my eye ROFL. I have always done it the hard way by going "show run | s router bgp". I never knew it would take the "r" singularly like that. Thanks Raf! Keep the content coming, I am in the "should I go for my CCIE, or just take another test to renew my NP" 🙃

thetoberfest
Автор

Excellent post. You made it look easy.

williebrown
Автор

Excellent explanation. Please keep them coming.

cduke_Net_Architect
Автор

Good content my friend, thank you!!!
I appreciate it

Hector.Amezquita
Автор

New subscriber here! Thanks for sharing your knowledge.

scorpio_
Автор

I got 4 questions
1 do banks need network engineers
2 is there higher certificate after ccie
3 what else can i learn after ccie security
4 are ccie r&s holders have to get any firewall certificate or firewall certificates related only to ccie security

The--Jker