Route Filtering

Load isis.inter.area.cfg

#IOS-XE
config replace flash:isis.inter.area.cfg

#IOS-XR
configure
load bootflash:isis.inter.area.cfg
commit replace
y

On XR2, configure Lo20 with IP 200.20.20.20/32. Redistribute this into ISIS with tag=20.

On R3 and R4, filter routes with tag=20 from being redistributed into L1. Allow all other L2 routes to be redistributed.

Answer

First we must switch to wide-style metrics to use tags. The narrow metric external IP reachability TLV does not have a tag field.

Then we create the loopback on XRv2 and redistribute it with the correct tag.

To verify, we can look at the XR1.00-00 LSP or look at the entry in the routing table:

On R3 and R4 we redistribute all L2 routes into L1 except for tag 20:

Verify that R1 and R2 do not have a route for 200.20.20.20/32:

However, they do know all other L2 routes:

Last updated