Local preference

Hello,
We would like to send out traffic via selected ISP. I wanted to use local preference in BGP. However I cannot find the command.
I know, that it should be trivial question, but I cannot find how to do it in VyOS.
Thanks for your help.
Petr

@petr you can find it in the route-maps

set policy route-map FOO-IN rule 10 action permit 
set policy route-map FOO-IN rule 10 set local-preference 300
set protocols bgp xxxx neighbor x.x.x.x address-family ipv4-unicast route-map import FOO-IN
1 Like