Preview the FlexConfig Policy
Preview a FlexConfig policy to see how the FlexConfig objects get translated into CLI commands. The preview shows the commands that will be generated for a selected device from the scripts and variables used in the FlexConfig objects. The variables are resolved based on the configuration for the device, so you get a clear idea of what will be deployed.
Use the preview to look for potential problems in the FlexConfig objects. Correct the objects until the preview shows the expected results.
You must preview the configuration separately for each device, because the variables can resolve differently based on the device configuration.
Procedure
Step 1 | Choose and edit a FlexConfig policy. |
Step 2 | If there are any pending changes, click Save. The preview shows results only for those FlexConfig objects that were in the most recently saved version of the policy. You must save the policy to see a preview of newly-added objects. |
Step 3 | Click Preview Config. |
Step 4 | Choose a device from the Select Device drop-down list. The system retrieves information from the device and configured policies, and determines what CLI commands will be generated on the next deployment to the device. You can select the output and use Ctrl+C to copy it to the clipboard, where you can paste it into a text file for further analysis. The preview includes the following sections:
|
Step 5 | Click Close to close the preview dialog. |