[c-nsp] Redistributed connected / static prefixes to upstream and set as-path prepend

CiscoNSP List CiscoNSP_list at hotmail.com
Wed Oct 25 01:24:06 EDT 2017


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.





More information about the cisco-nsp mailing list