cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

This community is for technical, feature, configuration, and deployment questions.
For production deployment issues, please contact TAC. We will not comment or assist with your TAC case in these forums.

129
Views
20
Helpful
1
Replies
alex.chard
Beginner

Local control policy in Viptela

We are currently using route policies to manage redistribution of OSPF routes to a non-sdwan BGP router from all of our sites.

Is it possible to use variables in those route policies? I would ideally like to reference the routers AS number in the prepend statement.

 

If not, would we be better off using CLI templates to achieve this so that we can avoid a separate policy definition per device?

1 REPLY 1
Lei Tian
Cisco Employee

Hello,

You can’t use variable in UI policy, but you can convert it to CLI local policy and use variable in the policy.
Alternatively, if it is cEdge, you can use cli addon template. For Cli addon template you will need make sure use the exact IOSXE syntax as system takes vs Viptela syntax in the CLI local policy.

HTH,
Lei Tian