I have 2 peers (Peer1 and Peer2)
I've do this to force the incoming connection from AS22222 route via the Peer2.
add action=accept chain=Peer1-IN prefix=0.0.0.0/0
add action=discard chain=Peer1-OUT bgp-as-path=22222
add action=accept chain=Peer1-OUT prefix=18.104.22.168/24
add action=discard chain=Peer1-OUT
add action=accept chain=Peer2-IN prefix=0.0.0.0/0
add action=accept chain=Peer2-OUT prefix=22.214.171.124/24
add action=discard chain=Peer2-OUT
But not run...
The AS22222 is my Internet connection and when I trace the network 126.96.36.199/24 I'm still routed via the Peer1