cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
703
Views
0
Helpful
5
Replies

Redist Static into eigrp

DialerString_2
Level 3
Level 3

How do you prevent the default route from being injected into EIGRP when you issue the redistribute static command under the eigrp process?

5 Replies 5

adamclarkuk_2
Level 4
Level 4

You can attach a route-map to the redistribute command denying the default route, let me know if you need an example config.

Yes please send that config!!!!! and thanks for the quick reply

adamclarkuk_2
Level 4
Level 4

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

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

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

Review Cisco Networking products for a $25 gift card