BGP Prevent Transit AS

(Rene Molenaar) #1

This topic is to discuss the following lesson:

(Rene Molenaar) #2

Thanks for the labs Rene, I appreciate all the time you take out of your day to create these labs for us. I always forget about the BGP regular expressions so I printed them out this time.

(Georg W) #3

Many thanks for the lesson, it’s very easy to understand!

(system) #4

What about this method, Rene?

access-list 1 permit

route-map NO-EXPORT permit 10
  match ip address 1

neighbor route-map NO-EXPORT out
neighbor route-map NO-EXPORT out

Ofc we can use “match ip address prefix-list” as well. And my deepest respect for all what you do for us all.

(Rene Molenaar) #5

An access-list will work as well, no problem at all :slight_smile:

(system) #6

Nice!!! It cleared my questions!!! Thanks a ton!!!

(Rene Molenaar) #7

You are welcome Ulhas.

(system) #8

Hello Rene,

I have gone through many topics in this website and that cleared my idea as well but I don’t see any note regarding Multiple Spanning-Tree Protocol.
If you share some labs/note for MSTP will be helpful for me to understand it better.

Thanks a lot.

(system) #9

Thanks a million Rene!! I really appreciate you sharing your knowledge, this really helped me out a lot.

(system) #10

You are welcome Marcus!

(system) #11

Hello Arijit,

I’m glad to hear that you like it. I’ll add some MST material in the future!


(system) #12

You have really cleared the air on some difficulties i was having.
Really self explanatory.
Thx Renee

(system) #13

This really helped me :slight_smile:
Thanks a lot Rene

(Mauro P) #14

Nice and neat, i like it :slight_smile:

(Hamood R) #15


Nice and clear explanation of all the complex BGP terms.
Great lesson to understand key features of BGP.


(Rene Molenaar) #16

Thanks Hamood

(Nav N) #17


I would appreciate if you can talk about how to advertise routes toward inside your network.

let say you have r1 and r2 are mutihome. R1 to isp1 and R2 to isp2 (getting bgp full table). Now let say you have R1 and R2 criss cross connected to nexus 7k inbound. I know you can run iBGP but that would be too many routes to your switches. What would be a good solution in this situation?


(Rene Molenaar) #18

Hi Nav,

If R1 and R2 are the only exit points for your network then a default route will do the job, no need to run iBGP on all your internal devices.


(Diana M) #19

Hello Rene,

Great job as always, it is possible if you publish the routers configurations? I would like to see how you did the configuration, this also helps me clearing the theory.

It’s just a question.

Thank you very much!!

(Rene Molenaar) #20

Hi Diana,

Do you mean the startup configurations?

In the most recent lessons I have been adding the final configurations, for example: