Hi Everyone,
On my production router, I have this setup:
prod_router#sh run | Sec router
router eigrp PROD
!
address-family ipv4 unicast autonomous-system 101
!
topology base
redistribute connected
redistribute static metric 10000 10 255 255 150 route-map static-to-eigrp
redistribute bgp 65001 metric 100 1 255 1 1500
exit-af-topology
network 10.19.3.0 0.0.0.255
exit-address-family
!
router bgp 65001
bgp log-neighbor-changes
neighbor 192.65.0.13 remote-as 3549
neighbor 192.65.0.13 version 4
neighbor 192.65.0.13 timers 5 15
!
address-family ipv4
network 10.19.3.0 mask 255.255.255.0
redistribute eigrp 101 metric 100 route-map eigrp-to-bgp
neighbor 192.65.0.13 activate
neighbor 192.65.0.13 next-hop-self
exit-address-family
!
prod_router#sh run | sec ip route
ip route 172.16.5.0 255.255.255.0 172.19.3.1 200
ip route 172.16.6.0 255.255.255.0 172.19.3.1 200
prod_router#
route-map static-to-eigrp permit 10
match ip address static-to-eigrp
route-map eigrp-to-bgp permit 10
match ip address eigrp-to-bgp
ip access-list standard static-to-eigrp
10 deny any
ip access-list extended eigrp-to-bgp
10 permit ip 10.19.3.0 0.0.0.255 any
20 permit ip any any
I have a couple questions:
- What are these lines exactly meant? please explain in a plain English if possible!
redistribute static metric 10000 10 255 255 150 route-map static-to-eigrp
redistribute bgp 65001 metric 100 1 255 1 1500
redistribute eigrp 101 metric 100 route-map eigrp-to-bgp
- Regarding route-map of ‘redistribute static metric 10000 10 255 255 150 route-map static-to-eigrp’.
route-map static-to-eigrp permit 10
match ip address static-to-eigrp
ip access-list standard static-to-eigrp
10 deny any
If the ‘static-to-eigrp’ ACL is denying all, why do we need to redistribute static in to eigrp?
Thanks!