11-03-2024 11:24 AM
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.
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.
Below is my output.
For brevity, here are the BGP configuration from R4 and R5. I am happy to provide any additional information.
R4
R5
Solved! Go to Solution.
11-03-2024 02:58 PM
You may missed the command
neighbor 172.17.5.1 peer-group AS200-PEERGROUP
11-03-2024 11:40 AM
Can I see the whole configuration for R4 and R5 ?
11-03-2024 01:48 PM
11-03-2024 02:08 PM
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
11-03-2024 02:34 PM
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:
11-03-2024 02:43 PM
That´s correct.
Are you seeing the neighboard for BGP and receive router from the neighboards?
11-03-2024 01:01 PM
You only need send-community with each of neighbor in bgp.
That it
MHM
11-03-2024 02:43 PM
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.
11-03-2024 02:58 PM
You may missed the command
neighbor 172.17.5.1 peer-group AS200-PEERGROUP
11-03-2024 05:32 PM
This was it. Thanks everyone for getting me on track.
11-03-2024 08:36 PM
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
11-03-2024 05:40 PM
Hello @
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""
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