How IOS forward bgp RIB route (inactive) that has another prefer (active) next-hop on ip routing table .
Here, I have listed the bgp output.
R6#sh ip bgp
Network Next Hop Metric LocPrf Weight Path
* 192.168.4.0 10.10.10.1 0 555 444 i
*> 10.10.12.1 0 0 444 i
*> 192.168.7.0 10.10.9.1 0 0 777 i
My requirement is to forward or advertise further upstream marked red next-hop route instead of active one. Running platform 7200VXR with version 12.3(10a)
router bgp 666
neighbor 10.10.10.1 remote-as 555
neighbor 10.10.10.1 route-map manipulate in
ip as-path access-list 1 permit ^555_444$
route-map manipulate 10
match as-path 1
set local-preference 150
set ip next-hop 10.10.12.1
route-map manipulate 20
But I feel it a little dangerous, guite hard routing info modification.
What's the purpose of the original request?