[c-nsp] Redistributed connected / static prefixes to upstream and set as-path prepend
Florin Florian
florin.florian at gmail.com
Wed Nov 1 14:55:03 EDT 2017
Hi,
You have to use the "ip bgp-community new-format" in order to see the
community in the format.
You should try to configure "neighbor x.x.x.x send-community" for the
community to be sent to the peer (upstream provider in this case).
Setting it in the route-map alone will not do it.
Regards
On Wed, Oct 25, 2017 at 1:24 AM, CiscoNSP List <CiscoNSP_list at hotmail.com>
wrote:
> Hi,
>
> We are redistributing our own prefixes via iBGP with redist connected +
> static with route-map :
>
> router bgp AAAA
> address-family ipv4
> redistribute connected route-map OUR_RANGES
> redistribute static route-map OUR_RANGES
>
> route-map OUR_RANGES permit 10
> match ip address prefix-list PL_OUR_RANGES
> set community AAAA:1000 AAAA:1301 AAAA:14000
>
>
> ip prefix-list PL_OUR_RANGES seq 5 permit XXX.XXX.XXX.0/20 le 32
>
>
> Which is working fine - but advertisement of the aggregate/supernet to our
> upstreams is not allowing prepending of as? (Have performed clear ip bgp
> nei_ip)
>
>
> Is it because the prefixes are seen as Origin incomplete vs Origin IGP?
>
>
> router bgp AAAA
> address-family ipv4
> neighbor UPSTREAM_A_IPTRANSIT route-map UPSTREAM_A_OUT_OUT out
>
>
> route-map UPSTREAM_A_OUT_OUT permit 30
> match ip address prefix-list PL_OUR_PREFIXES_OUT
> set as-path prepend AAAA
>
>
> #sh ip bgp neighbors WWW.WWW.WWW. advertised-routes
> Network Next Hop Metric LocPrf Weight Path
> *>i XXX.XXX.XXX.0/20 YYY.YYY.YYY.218 0 100 0 ?
>
>
> #sh ip bgp route-map UPSTREAM_A_OUT_OUT
> Network Next Hop Metric LocPrf Weight Path
> * i XXX.XXX.XXX.0/20 YYY.YYY.YYY.217 0 100 0 ?
> *bi YYY.YYY.YYY.217 0 100 0 ?
> * i YYY.YYY.YYY.218 0 100 0 ?
> *>i YYY.YYY.YYY.218 0 100 0 ?
>
>
> Thanks in advance.
>
>
>
> _______________________________________________
> cisco-nsp mailing list cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
>
More information about the cisco-nsp
mailing list