jskfan
asked on
Filtering with Route Map and prefix-list
I have EIGRP routes advertised from R1 to R2 as shown below:
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
Any Help ?
thank you
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#
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
Any Help ?
thank you
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
my configuration above should deny 172.16.0.0/16 le 26
but it is not
but it is not
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
router eigrp 1
network 0.0.0.0
distribute-list route-map FILTER_OUT out
no auto-summary
I did not have the Distribute-List in my Configuration. Do I have to add it ?
network 0.0.0.0
distribute-list route-map FILTER_OUT out
no auto-summary
I did not have the Distribute-List in my Configuration. Do I have to add it ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you very much Guys!
ASKER
Open in new window
it is route map that matches a prefix list