11-14-2019 11:08 AM
Hi, hope can help me understand.
I am configuring BGP on this routers.
I configured R1 with this. my goal was to block 10.1.X.X to be in bgp table in R2/R3 by configuring the "distribute-list"
But still checking on R2, I still have this networks, not sure where I am wrong.
11-14-2019 11:19 AM
Hello @cfaelmoca,
try exemple below;
exemple 1:
router bgp 500
bgp log-neighbor-changes
no redistribute connected
neighbor 150.1.1.1 remote-as 111
neighbor 150.1.1.5 remote-as 222
distribute-list 60 out connected
exemple 2:
router bgp 500
bgp log-neighbor-changes
redistribute connected
neighbor 150.1.1.1 remote-as 111
neighbor 150.1.1.5 remote-as 222
distribute-list prefix TESTING out
!
ip prefix-list TESTING deny 10.1.0.0/16 ge 24
11-14-2019 12:07 PM
Hello,
another way to configure this would be:
R1
router bgp 500
neighbor 150.1.1.1 distribute-list 60 out
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide