07-05-2022 12:26 PM
I have a question about route redistribution from OMP to BGP. It appears that routes redistributed from OMP to BGP have their metric set to 1000 and local-pref set to 50.
bgp routes-table vpn 201 10.100.106.0/24
info 0
nexthop 0.0.0.0
metric 1000
local-pref 50
weight 0
origin incomplete
as-path 65030
path-status valid,best
tag 0
ospf-tag 0
Now, I didnt set those, so it's being done automatically. Where can I change this? I think it's impacting my routing, and need to make a vSmart advertised route prefered over the route learned from the local side of the vEdge. Thanks.
07-06-2022 04:01 AM - edited 07-06-2022 06:04 AM
Hi @Tim_J_RC
To modify the BGP attributes, a Localized Control Policy must be created.
Configuration > Policies > Localized Policy and click on Add Policy.
Match: Prefix list
Actions : Local Preference
Then, it must be applied to the template associated with the Wan Edge.
Templaste > Adicional Templastes > Policy
<< Mark as helpful or answered, if the answer resolved the question, this helps future requests from other members of the community >>
07-06-2022 03:19 PM
Hi,
create local control policy and route policy (basically, route-map) inside it. Attach local control policy to device template, and refer to route policy name in BGP template.
Regards,
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide