cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
578
Views
0
Helpful
2
Replies

BGP distribute-list problem

cfaelmoca
Level 1
Level 1

Hi, hope can help me understand.

I am configuring BGP on this routers.

Capture.JPG

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"

Capture.JPG

Capture.JPG

 

But still checking on R2, I still have this networks, not sure where I am wrong.

Capture.JPG

 

 

2 Replies 2

Jaderson Pessoa
VIP Alumni
VIP Alumni

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

 

Jaderson Pessoa
*** Rate All Helpful Responses ***

Hello,

 

another way to configure this would be:

 

R1

router bgp 500

neighbor 150.1.1.1 distribute-list 60 out

Review Cisco Networking for a $25 gift card