cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2047
Views
10
Helpful
2
Replies

ISIS route filtering from database to route table on IOS XR

allalamine
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

nkarpysh
Cisco Employee
Cisco Employee

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

HTH,
Niko

View solution in original post

2 Replies 2

nkarpysh
Cisco Employee
Cisco Employee

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

HTH,
Niko

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

!