[c-nsp] IOS XR BGP Filters

Nikolay Shopik shopik at inblock.ru
Wed Jan 1 05:56:04 EST 2014


by default IOS XR won't accept or announce anything, unless you
configure route-policy. prefix-list and route-map from IOS can be
configured in one route-policy just fine.

prefix-set AS655535
 192.0.2.0/24
end-set

Route-policy AS655535
  if destination in AS655535 then
    pass
  else
    drop
  endif
end-policy

Do you really need filter-list as it usually eats lots cpu as BGP table
grows, and in most cases community marking much easier and faster.

On 01.01.2014 4:18, Ivan wrote:
> Hi,
> 
> I am adding some routers running ISO XR to my network.  For the most
> part things are straight forward and I quite like RPL.
> 
> In IOS BGP I would apply per neighbor BGP as-path and prefix filters and
> a global route-map, something like
> 
> neighbor x.x.x.x filter-list x in
> neighbor x.x.x.x prefix-list cust-a in
> neighbor x.x.x.x route-map all-custs in
> 
> Now with IOS XR it seems the only filtering that can be applied is a
> single route-policy.  So I am thinking that I will be needing a parent
> rpl policy per neighbour for the as-path and prefix filtering (as these
> differ per neighbor) and a common child policy for everything else... am
> I on the right track?
> 
> Cheers
> 
> Ivan
> _______________________________________________
> 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