02-25-2009 11:48 AM - edited 03-04-2019 03:43 AM
How do you prevent the default route from being injected into EIGRP when you issue the redistribute static command under the eigrp process?
02-25-2009 11:53 AM
You can attach a route-map to the redistribute command denying the default route, let me know if you need an example config.
02-25-2009 11:56 AM
Yes please send that config!!!!! and thanks for the quick reply
02-25-2009 11:58 AM
Just in case
Router(config)#router eigrp 1
Router(config-router)#redistribute static route-map DENY-DEFAULT
ip access-list standard deny-default
deny 0.0.0.0
permit any
!
route-map DENY-DEFAULT permit 10
match ip address deny-default
statics
ip route 0.0.0.0 0.0.0.0 Null0
ip route 1.1.1.1 255.255.255.255 Null0
eigrp topoligy
Router#sh ip eigrp topology
IP-EIGRP Topology Table for AS(1)/ID(192.168.1.1)
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
r - reply Status, s - sia Status
P 1.1.1.1/32, 1 successors, FD is 256
via Rstatic (256/0)
P 192.168.1.0/24, 1 successors, FD is 128256
via Connected, Loopback9
02-25-2009 12:44 PM
Adam thanks but I forgot to mention that the route was on an ASA, but I managed to figure out how to do it.
route outside 0.0.0.0 0.0.0.0
access-list eigrp_list standard permit 10.0.0.0 255.0.0.0
access-list eigrp_list standard permit 192.168.2.0 255.255.255.0
router eigrp 123
net 172.12.0.0
redistr static
distribute-list eigrp_list out
Thanks again for your help Adam and thanks for the quick reply...oh and thx for the config, also
02-25-2009 01:12 PM
Adam thanks but I forgot to mention that the route was on an ASA, but I managed to figure out how to do it.
route outside 0.0.0.0 0.0.0.0
access-list eigrp_list standard permit 10.0.0.0 255.0.0.0
access-list eigrp_list standard permit 192.168.2.0 255.255.255.0
router eigrp 123
net 172.12.0.0
redistr static
distribute-list eigrp_list out
Thanks again for your help Adam and thanks for the quick reply...oh and thx for the config, also
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: