[c-nsp] BGP Route Filtering

Nick Hilliard nick at foobar.org
Wed Jun 4 11:07:39 EDT 2014


On 04/06/2014 15:55, M K wrote:
> XR2
> prefix-set R2Lo3
> 192.168.144.0/24
> end-setroute-policy NOADV  if source in R2Lo3 then    drop  else    pass  endifend-policy router bgp 1 neighbor 10.10.10.10  address-family ipv4 unicast   route-policy NOADV out

you probably want:

if destination in R2Lo3 then
  drop
else
  pass
endif

Prefix filtering uses "destination" instead of "source".

Also, can you please fix your mail composer?  It is almost impossible to
work out what your configuration looks like when it's all jumbled up:

> https://puck.nether.net/pipermail/cisco-nsp/2014-June/096116.html

Nick



More information about the cisco-nsp mailing list