cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
846
Views
0
Helpful
6
Replies

How to add static route to cedge router managed via vmanage

Sw000976
Level 1
Level 1

I have a cedge router that is managed via vmanage and I am trying to add a static route via the cli and get this: 

Aborted: 'system is-vmanaged': This device is being managed by the vManage. Configuration through the CLI is not allowed.
Error executing command: CLI command error -

Which logically makes sense to me as then the local config would not match the template in vmanage. But when I start looking at the template I dont actually see any routes defined? So not sure how to get this done? 

1 Accepted Solution

Accepted Solutions

Hi,

even if you have CLI based initial config, all are replaced by vManage templates while device template (which contains lots of feature templates) is pushed. All routes will be part of VPN template and must be explicitly noted.

If you want just one VPN template with different configuration, you can mark certain sub-configurations (like static route) as optional.

Which means, if you have optional 3 static routes, it is not mandatory to configure all of them for each router.

HTH,
Please rate and mark as an accepted solution if you have found any of the information provided useful.

View solution in original post

6 Replies 6

Torbjørn
VIP
VIP

Hello @Sw000976, welcome to the community!

You can define static routes in the VPN feature template on vManage. Keep in mind that this will affect all edges with that template attached, so you might want to make a copy of the VPN template if you only want to change one device.

Happy to help! Please mark as helpful/solution if applicable.
Get in touch: https://torbjorn.dev

Ok so yes that makes sense since the template is attached to 8 devices. My assumption is the original engineer did all things cli before the edges were vmanaged then made them managed by vmanage and just made templates for various non specific things like ntp, dns, banner, etc.

Not sure this is the way to do it. 

Since feature templates are in use the whole config must be generated from these - it is not possible to keep parts of old local cli config. You will hence need to create a new version of the VPN config if you need to add this route to this device only.

If you are going to be supporting this solution going forwards I can recommend the new Cisco Press book for SD-WAN. You will make your job a lot easier if you learn to use feature templates, feature profiles and configuration groups.

Happy to help! Please mark as helpful/solution if applicable.
Get in touch: https://torbjorn.dev

Hi,

even if you have CLI based initial config, all are replaced by vManage templates while device template (which contains lots of feature templates) is pushed. All routes will be part of VPN template and must be explicitly noted.

If you want just one VPN template with different configuration, you can mark certain sub-configurations (like static route) as optional.

Which means, if you have optional 3 static routes, it is not mandatory to configure all of them for each router.

HTH,
Please rate and mark as an accepted solution if you have found any of the information provided useful.

Sw000976
Level 1
Level 1

Is there anyway to detach the cedge from vmanage as it is today and make the change local to the cedge and then add it back to be managed via vmanage?

Also I have the older version of the sdwan book, but was kind of thrown into this so dont have all the time in the world to learn atm, just need some quick fixes due to some changes in the network.


@Sw000976 wrote:

Is there anyway to detach the cedge from vmanage as it is today and make the change local to the cedge and then add it back to be managed via vmanage?

This does not work as already explained above.
As soon as you add the device back to vManage the config is completely replaced by the vManage templates and hence all your CLI changes are lost.

I understand that you are looking for a shortcut but there is no alternative to learning how to work with the various templates.