Gents,
I think that the following might be interesting to see regardless
from where it came from (ine in this particular case)
I want to filter 150.1.3.3 from going to 155.1.146.4
route-map DENYR4 deny 10
match ip address prefix-list R3L0
match ip next-hop prefix-list R4
route-map DENYR4 permit 1000
ip prefix-list R3L0 seq 5 permit 150.1.3.3/32
ip prefix-list R4 seq 5 permit 155.1.146.4/32
router ospf 1
distribute-list route-map DENYR4 in
And the route is not filtered...
Rack1R6#show ip route 150.1.3.3
Routing entry for 150.1.3.3/32
Known via "ospf 1", distance 110, metric 130, type intra area
Redistributing via eigrp 10
Advertised by eigrp 10 metric 100000 1000 255 1 1500
Last update from 155.1.146.1 on FastEthernet0/0.146, 00:09:28 ago
Routing Descriptor Blocks:
155.1.146.4, from 150.1.3.3, 00:09:28 ago, via FastEthernet0/0.146
Route metric is 130, traffic share count is 1
* 155.1.146.1, from 150.1.3.3, 00:09:28 ago, via FastEthernet0/0.146
Route metric is 130, traffic share count is 1
Rack1R6#
Now if I use standard acces-lists...
ip access-list standard R3L0
permit 150.1.3.3
ip access-list standard R4
permit 155.1.146.4
And modify the route-map
route-map DENYR4 deny 10
no match ip address prefix-list R3L0
no match ip next-hop prefix-list R4
match ip address R3L0
match ip next-hop R4
It works...
Rack1R6#show ip route 150.1.3.3
Routing entry for 150.1.3.3/32
Known via "ospf 1", distance 110, metric 130, type intra area
Redistributing via eigrp 10
Advertised by eigrp 10 metric 100000 1000 255 1 1500
Last update from 155.1.146.1 on FastEthernet0/0.146, 00:00:06 ago
Routing Descriptor Blocks:
* 155.1.146.1, from 150.1.3.3, 00:00:06 ago, via FastEthernet0/0.146
Route metric is 130, traffic share count is 1
Rack1R6#
_______________________________________________
For more information regarding industry leading CCIE Lab training, please visit
www.ipexpert.com