01-28-2009 07:07 PM - edited 03-04-2019 01:01 AM
Hi Guys,
Can anyone point me to the right direction as to how I can redistribute EIGRP default route (0.0.0.0/0 172.20.88.242) into BGP? I have prefix lists which only allows selected routes. Redistribute EIGRP already in place in the BGP. Do I need to allow the default route in the prefix lists as well?
Thanks.
01-28-2009 10:44 PM
How you have redistruibted EIGRP into BGP. If you have not used any route-map, then default, it should redistribute all EIGRP routes. If you have used Route-Map & want to use only default route & Other filter., then you have to do two things--
1. IP prefix-list DEFAULT 0.0.0.0/0
2. Route-Map Default permit 10
match ip address prefix DEFAULT
3. Route-Map Default permit 20 ( For other Filter)
3. Router BGP AS
Redistribute EIGRP AS route-map DEFAULT.
01-29-2009 02:04 PM
Thanks Rupesh.
I'm not using route-map, rather using prefix-lists only as follows. So what would u suggest?
truncated config:
router bgp 64808
bgp log-neighbor-changes
neighbor 172.24.1.2 remote-as 64517
!
address-family ipv4
redistribute eigrp 109 metric 1
neighbor 172.24.1.2 activate
neighbor 172.24.1.2 soft-reconfiguration inbound
neighbor 172.24.1.2 prefix-list routes_in in
neighbor 172.24.1.2 prefix-list routes_out out
no auto-summary
no synchronization
network 172.20.0.0
network 172.24.1.0 mask 255.255.255.0
network 172.24.23.0 mask 255.255.255.0
network 176.20.0.0
exit-address-family
ip prefix-list routes_in seq 10 permit 172.24.0.0/16 ge 22
ip prefix-list routes_in seq 15 permit 192.168.0.0/16 ge 24
ip prefix-list routes_in seq 20 permit 192.2.0.0/16 ge 24
ip prefix-list routes_in seq 25 permit 192.3.0.0/16 ge 24
ip prefix-list routes_in seq 30 permit 10.80.0.0/16 ge 24
ip prefix-list routes_in seq 35 permit 10.90.0.0/16 ge 24
ip prefix-list routes_in seq 40 permit 10.100.0.0/16 ge 24
ip prefix-list routes_in seq 45 permit 10.120.0.0/16 ge 24
ip prefix-list routes_in seq 50 permit 10.222.0.0/16 ge 24
ip prefix-list routes_in seq 55 permit 10.223.0.0/16 ge 24
ip prefix-list routes_in seq 60 permit 10.227.0.0/16 ge 24
ip prefix-list routes_in seq 65 permit 10.228.0.0/16 ge 24
ip prefix-list routes_in seq 70 permit 10.229.0.0/16 ge 24
!
ip prefix-list routes_out seq 75 permit 172.20.0.0/16 ge 22
ip prefix-list routes_out seq 80 permit 176.20.0.0/16 ge 22
ip prefix-list routes_out seq 85 permit 192.168.0.0/16 ge 24
ip prefix-list routes_out seq 90 permit 172.24.23.0/24
01-30-2009 08:38 AM
I found this interesting:
The default-information originate command is used to configure a BGP routing process to advertise a default route (network 0.0.0.0). A redistribution statement must also be configured to complete this configuration or the default route will not be advertised.
The configuration of the default-information originate command in BGP is similar to the configuration of the network (BGP) command. The default-information originate command, however, requires explicit redistribution of the route 0.0.0.0. The network command requires only that the route 0.0.0.0 is present in the Interior Gateway Protocol (IGP) routing table. For this reason, the network command is preferred.
From:
http://www.cisco.com/en/US/docs/ios/12_3t/ip_route/command/reference/ip2_c1gt.html#wp1118958
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide