cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
498
Views
1
Helpful
11
Replies

Help with proper BGP community configuration.

ajkelsey78
Level 1
Level 1

I'm learning BGP by reading "BGP for Cisco Networks". It involves hands-on setup of a network. I have currently gotten stuck successfully setting up a community. I am not getting the results shown in the book.

The topology in the book has several AS. Below is the AS that I am configuring the community in.

ajkelsey78_3-1730661649095.png

The community was configured on R4 and I am sending that information to R5. Below is what the book shows is the output. The red arrow marks the line that does not appear for me in my setup.

 

ajkelsey78_5-1730661692579.png

Below is my output.

 

ajkelsey78_6-1730661702060.png

For brevity, here are the BGP configuration from R4 and R5. I am happy to provide any additional information.

R4

ajkelsey78_7-1730661844437.png

R5

ajkelsey78_8-1730661863359.png

 

 

1 Accepted Solution

Accepted Solutions

You may missed the command

 neighbor 172.17.5.1 peer-group AS200-PEERGROUP

View solution in original post

11 Replies 11

@ajkelsey78 

 Can I see the whole configuration for R4 and R5 ?

See the attached files.

Hi @ajkelsey78 

Check on the guide you are following, The community syntax seems to be wrong.

route-map SET-NEXT-HOP permit 10
match ip address 101
set community 13107500
set ip next-hop peer-address

 

For some reason it displays the 32 bit version of the ASNs. You can change that setting with "ip bgp-community new-format" so it shows it as AA:NN. This is with the display change:

ajkelsey78_0-1730673283134.png

 

 

That´s correct.

Are you seeing the neighboard for BGP and receive router from the neighboards?

You only need send-community with each of neighbor in bgp.

That it

MHM

I'm not sure I understand exactly what you are saying. Upon closer inspection, it looks like I did not assign the neighbors to the peer-group. I think that may resolve it. I will give that a shot and see.

You may missed the command

 neighbor 172.17.5.1 peer-group AS200-PEERGROUP

This was it. Thanks everyone for getting me on track.

You have two peers and you use send-community with irh peer-group not with neighbor.

That why your issue solve when  you use peer-group for neighbor. 

The answer is send-community missing

And for community number 

Use 

Bgp new-format <<- command 

MHM

 

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello @

ajkelsey78
Preview
 

 

ip bgp community new format is needed to have BGP community attribute seen as ASN:<value>

BGP standard communities are 32 bits integeers;

as   a final note in "legacy" MPLS L3 VPNs I hawe need wnd communites """both""

 

 

 

 

 

Review Cisco Networking for a $25 gift card