Artificial intelligent assistant

Matching a community in a route-map I am trying to set the local preference of certain routes based on the community string. I created the community list and confirmed it is working by checking the routes reported matching the community-list: # show policy community-list community-list 100 { rule 10 { action permit regex ###:#### } } Then I used that community list in the route-map: # show policy route-map default-import rule 20 { action permit } rule 21 { action permit match { community { community-list 100 } } set { local-preference 50 } } However, on committing and resetting the BGP session, I do not see any local preference adjustments when I run `show ip bgp`. Am I missing something in my config? OS: VyOS 1.05

Your issue was caused by the generic permit (no match clause) attached to rule 20 of the default-import route-map. Route-maps usually act like ACL's and stop processing after the first match.

In Cisco-land you can use the `continue` keyword to continue evaluating the route-map instead of exiting at the first match. I wasn't able to find VyOS documentation about this, so I don't know if it exists in your OS.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 3ef29f01d9fe16279e049423ca651eb6