Wednesday, November 17, 2021

IOS-XR bgp filter by prefix length?

We are migrating from Mikrotiks to ASRs.

So on our mikrotik we have some bgp filters that filter prefixes by prefix length. And now I need to rewrite them for IOS-XR.

Obviously the syntax does not match.

Say, if on a Mikrotik I had a bgp filter that puts all /32 ipv4 prefixes in a blackhole community, how do I convert this into IOS-XR syntax?

An example of the mikrotik route filter rule: add action=accept bgp-communities=xyz:666 chain=BHOLE prefix-length=32



No comments:

Post a Comment