I have EIGRP routes advertised from R1 to R2 as shown below:
R2#sh ip route eigrp 1
10.0.0.0/8 is variably subnetted, 13 subnets, 7 masks
D 10.10.10.10/32
[90/156160] via 192.168.12.1, 00:00:09, FastEthernet0/0
20.0.0.0/32 is subnetted, 1 subnets
D 20.20.20.20 [90/156160] via 192.168.12.1, 00:00:09, FastEthernet0/0
172.16.0.0/16 is variably subnetted, 5 subnets, 3 masks
D 172.16.0.0/24 [90/156160] via 192.168.12.1, 00:00:09, FastEthernet0/0
D 172.16.2.0/24 [90/156160] via 192.168.12.1, 00:00:09, FastEthernet0/0
D 172.16.3.0/24 [90/156160] via 192.168.12.1, 00:00:09, FastEthernet0/0
D 172.16.12.0/22
[90/156160] via 192.168.12.1, 00:00:09, FastEthernet0/0
D 172.16.22.0/26
[90/156160] via 192.168.12.1, 00:00:09, FastEthernet0/0
R2#
Open in new window
on R1 I have configured route map and prefix list to block (filter out)network 172.16.0.0 /16 le 26, but it does not seem to work
route-map FILTER_OUT deny 10
match ip address prefix-list SMALL_PREFIXES
ip prefix-list SMALL_PREFIXES seq 10 permit 172.16.0.0/16 le 26
route-map FILTER_OUT permit 20
Open in new window
Any Help ?
thank you
Open in new window
it is route map that matches a prefix list