BGP prepending issue with three link

Hi Guys,

I am trying to make a BGP session up with three BGP peers. BG session established but prepending is not working in any link. Here is my BGP conf
/routing bgp instance
set default as=ffff client-to-client-reflection=no router-id=yyyy
/routing bgp aggregate
add instance=default prefix=XXXXX/24 summary-only=no
add include-igp=yes instance=default prefix=YYYY/20
/routing bgp network
add network=yyyy/20 synchronize=no
add network=yyyy/24 synchronize=no
add network=yyyy/24 synchronize=no
/routing bgp peer
add multihop=yes name=peer1 out-filter=peer1 remote-address=cccc remote-as=ssss update-source=loopback0
add in-filter=default-in multihop=yes name=peer2 out-filter=peer2-out remote-address=aaaa remote-as=zzzz
remove-private-as=yes update-source=loopback0
add in-filter=default-in multihop=yes name=peer2 out-filter=peer2-out remote-address=bgh remote-as=ndddd
remove-private-as=yes update-source=loopback0
/routing filter
add action=accept chain=peer2-out prefix=yyyy/21 prefix-length=21-24 protocol=bgp set-bgp-prepend=5
add action=accept chain=peer2-out prefix=yyyy/20 prefix-length=20-24 protocol=bgp
add action=discard chain=peer2-out protocol=bgp
add action=accept chain=peer3-out prefix=yyyy/21 prefix-length=21-24 protocol=bgp set-bgp-prepend=5
add action=accept chain=peer3-out prefix=yyyy/20 prefix-length=20-24 protocol=bgp
add action=discard chain=peer3-out protocol=bgp
add action=discard chain=default-in prefix=dddd
add action=discard chain=default-in prefix=iiii


Everything seems to be … except the prepending. Can any one help me to get it resolved?

Configuration looks right…

What is making you say that prepend is not working ? How are you determining the prepend status ?