04-22-2010 12:52 PM - edited 03-04-2019 08:15 AM
Hi,
Can someone explain to me what's going on in this config in regards to Send-Community, route maps, and BGP in general?
Thanks
router bgp xxxx
no synchronization
bgp router-id xxxx
bgp log-neighbor-changes
network 10.11.3.0 mask 255.255.255.0
timers bgp 15 45
neighbor 10.12.3.2 remote-as xxxx
neighbor 10.13.3.2 next-hop-self
!
!
ip bgp-community new-format
!
ip http server
ip http authentication local
ip http secure-server
!
04-22-2010 01:11 PM
Hello Isalem,
the neigh send-community allows to send the community BGP attribute to the peer
the route-map that is applied to the neighbor allows for route filtering and for setting specific BGP attributes like BGP community at the same time.
IP prefixes matching first prefix-list are sent out with BGP community attribute 13979:110, IP prefixes matching second prefix-list are sent out with BGP community 13979:90
if there are other IP prefixes in BGP table they are advertised with bo BGP community settings for the presence of the line:
route-map AVPN-OUTBOUND permit 30
the command
ip bgp-community new-format
is very useful to see BGP communities in the format ASN:value otherwise you would see a big number in show commands
BGP advertises IP networks if they are known in IP routing table:
the various network commands can create a BGP advertisement if an exact match is found (including the mask) in the IP routing table.
Hope to help
Giuseppe
04-22-2010 01:21 PM
Thank you, I am somewhat used to the use of AS Path, but kind of new to the send community.
So what would be the difference when you send the community with a value of 90 vs 110. What would that do for the routing?
Thanks
04-22-2010 01:34 PM
Hi,
you can use a community to tell your neighbor (provider) which Local Preference you would like him to assign to the prefix you sent him, e.g.
See RFC 1998.
BR,
Milan
04-22-2010 01:38 PM
Hello Isalem,
the BGP community is a sort of tag of colour that you can give to a group of routes.
The advantage of the BGP community is that the provider that receives the BGP routes can use the BGP community as a criteria to decide some actions without having to deal with IP prefixes.
One community can mean national users or base users another community can be premium users or international users and so on.
it provides a level of abstraction to providers: if a route should be moved from prefix-list 1 to prefix-list2 or a new route has to be sent, only the customer changes its configuration the provider using BGP communities is able to dynamically adapt to the change
Hope to help
Giuseppe
04-22-2010 04:48 PM
Thank you very much!
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