In this lesson, I’ll explain how to convert the vSmart controller from CLI mode to vManage mode using a CLI template. If your vSmart controller is not in vManage mode and you try to activate a centralized policy like the ones I used for the hub and spoke topology or application-aware routing, you will get an error.
Go to Configuration > Policies > Centralized Policy and try to Activate any of your policies:
You get the “vSmarts are not in vManage mode” error:
This happens because the vSmart controller is in CLI mode. It has to be in vManage mode. Let’s fix this.
Go to Configuration > Devices > Controllers, and you can see the current Mode:
We have two options:
- Create device and feature templates as we did in this lesson.
- Use a CLI template.
The best option is to create a device template with the required feature templates because this is a scalable solution. However, in a lab, with only a single vSmart controller, the quickest way is to use the CLI mode. I haven’t shown the CLI mode yet in any of our lessons, so this will be a good exercise.
Click on Configuration > Templates > Create Template > CLI Template. Select vSmart as the Device Model, give the template a name, and paste in the configuration of your vSmart controller:
Click on Add to continue.
In the Template screen, select the device template, click on the three dots, and select Attach Devices:
Select the vSmart controller and click on Attach:
The output of the Config Preview should look familiar:
Next, click on Configure Devices and wait until the template is pushed to the vSmart controller.
Go to Configuration > Devices > Controllers, and you’ll see that the vSmart controller is now in vManage mode:
Go back to Configuration > Policies > Centralized Policy and try to activate one of your policies again:
This time, you don’t get an error, and you can click on the Activate button.
You have now learned how to create a CLI template to move your vSmart controller from CLI mode to vManage mode. This solves the “vSmarts are not in vManage mode” error.
I hope you enjoyed this lesson. If you have any questions, please leave a comment.