Redistributing specific AWS BGP routes into OSPF
Hi All,
I want to redistribute a specific route from bgp to ospf, i've done the following and would like some input as to wether it will work as i don't like to test code in production ;)
get router info routing-table bgp B 192.168.20.0/22 [20/100] via x.x.x.x, awsvpn, 04:40:40
config router access-list
edit "wanted-bgp-routes"
config rule edit 1 set prefix 192.168.20.0 255.255.252.0 set exact-match enable next
config router route-map edit "bgp-to-ospf" config rule edit 1 set match-ip-address "wanted-bgp-route" next
config router ospf
config redistribute bgp
set status enable set routemap bgp-to-ospf
Kudos for any input :)
