VyOS equivalent of set as-path prepend last-as n

Hey there,

is there an equivalent of Cisco’s route-map

set as-path prepend last-as n

in VyOS? Could not find anything about in the docs or here.

We’d like to lengthen inbound AS-Pathes in the inbound route-map for one of our peers.

Thanks in advance

Kind regards
Simon

I created a feature request for it T4414

If you use 1.4 just try it

set policy route-map FOO rule 10 action 'permit'
set policy route-map FOO rule 10 set as-path-prepend 'last-as 2'

Great! Didn’t know I’m able to use FRR keywords in that string. Thanks for your help!

That will only be a temporary workaround - pick the latest VyOS 1.4 image which is currently build - it has it implemented “natively”