BGP route-map command is missing

I don’t see a route-map command when i put the following statement.

set protocols bgp 65001 neighbor 10.x.x.x ?

Trying to follow the example below:
#Create policy
set policy route-map setmet rule 2 action ‘permit’
set policy route-map setmet rule 2 set as-path-prepend ‘2 2 2’

#Apply policy to BGP
set protocols bgp 1 neighbor 1.1.1.2 route-map import ‘setmet’
set protocols bgp 1 neighbor 1.1.1.2 soft-reconfiguration ‘inbound’ <<<< ***

Hello, I think route map located at set protocols bgp 1 neighbor 1.1.1.2 address-family ipv4-unicast route-map. Can you provide this example link?

https://vyos.readthedocs.io/en/latest/routing/routing-policy.html

@netngnr thank you, I created PR for improve this

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.