07-03-2018 02:26 AM - edited 03-01-2019 03:25 PM
Hello,
Is there any way to filter routes from ISIS database to routing table on ASR9k ?
It is possible on IOS XE, Huawei, Nokia and other platforms.
Thanks all
Solved! Go to Solution.
07-03-2018 06:33 AM
Hello,
Distribute-List for inbound filtering is supported in IOS-XR from 6.4.1.
As an alternative, you can assign an admin distance of 255 (untrusted - not inserted in RIB) to the selected prefixes via below command : RP/0/RP0/CPU0:router(config)# router isis <name> RP/0/RP0/CPU0:router(config-isis)# address-family ipv4 unicast RP/0/RP0/CPU0:router(config-isis-af)# distance 255 0.0.0.0/0 <prefix-list> here below the CCO doc for the related command : http://www.cisco.com/c/en/us/td/docs/routers/xr12000/software/xr12k_r4-2/routing/command/reference/b_routing_cr42xr12k/b_routing_cr42xr12k_chapter_011.html#wp7222039700
HTH
Niko
07-03-2018 06:33 AM
Hello,
Distribute-List for inbound filtering is supported in IOS-XR from 6.4.1.
As an alternative, you can assign an admin distance of 255 (untrusted - not inserted in RIB) to the selected prefixes via below command : RP/0/RP0/CPU0:router(config)# router isis <name> RP/0/RP0/CPU0:router(config-isis)# address-family ipv4 unicast RP/0/RP0/CPU0:router(config-isis-af)# distance 255 0.0.0.0/0 <prefix-list> here below the CCO doc for the related command : http://www.cisco.com/c/en/us/td/docs/routers/xr12000/software/xr12k_r4-2/routing/command/reference/b_routing_cr42xr12k/b_routing_cr42xr12k_chapter_011.html#wp7222039700
HTH
Niko
07-03-2018 08:15 AM
It's working !
I wanna add that prefix-set won't work, we need to use prefix-list :
ipv4 prefix-list subnetsToFilter permit 10.0.0.0/24
!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide