Migrating FlexConfig Policies

Attention

This section on migrating FlexConfig policies is applicable only for migrating ECMP, VXLAN, and EIGRP policies.

The ECMP, VXLAN, and EIGRP policies were configured using the FlexConfig objects and policies in earlier versions of the management center. You can now directly configure these policies in the management center UI. When you are upgrading the management center from earlier versions, the FlexConfig configuration is retained. However, to manage the policies from the UI, you must redo the configuration in the corresponding Device (Edit) > Routing page and remove the configuration from FlexConfig. To automate creation of the policies in the UI, management center provides an option to migrate the policies from FlexConfig to the UI. However, it does not remove the migrated policies from the FlexConfig. For post-migration procedure, refer to Step 7.

Before you begin

  • Ensure that the deployed FlexConfig policy is up-to-date and not out-of-date. The migration option will be available only if the policy is up-to-date on at least 1 device. Migration does not take place for those devices that have out-of-date policies.

  • If the policy is configured in both FlexConfig and the management center:

    • Migration will not be initiated if the policy is already configured at Device (Edit) > Routing.

    • During deployment, the management center displays an error message. Example EIGRP migration error message—EIGRP is configured through FlexConfig object and also under Device Listing ->Routing EIGRP for the device. Maintain the EIGRP configuration in either Routing EIGRP or FlexConfig.

  • If the network objects used in the policy exist in the management center, during migration, they are reused. During migration, when a network object that is matching the IP configuration is not available, a new network object is created as bb appended with a timestamp and integer, like bb_<timestamp>_<integer>. For more than one such network object, the integer variable in the name would be incremented by one.

Procedure


Step 1

Choose Devices > FlexConfig, click Edit (edit icon) against the FlexConfig policy that you want to migrate.

Step 2

Click Migrate Config.

Note

Once migration starts, both Migrate Config and FlexConfig Edit options are not available.

The Migrate Config option is not available, when:

  • There are no applicable FlexConfig CLIs to be migrated.

  • The FlexConfig policy is not associated with any FlexConfig objects.

  • There are no devices that are associated with the FlexConfig policy.

Step 3

In the Migrate Flex Configuration dialog box, select the device to which you wish to migrate the configuration, and then click Ok.

The migration progress is displayed as task notification. When the migration is complete, click the View Details link and download the migration report (PDF format).

Step 4

To view the policy changes, choose System > Monitoring > Audit and click on the Flex Config Migration message.

Step 5

To view the FlexConfig migration report, choose System > Monitoring > Audit and click on the Flex Config Migration message. To view the complete migration report, click the Report icon.

Step 6

Verify the migrated configuration settings in the corresponding Device (Edit) > Routing. page.

Step 7

To remove the specific policy config from FlexConfig for the device, in the management center, do the following:

  1. Identify the migrated FlexConfig policy for the device.

  2. Use the copy option and create duplicate of the FlexConfig policy.

  3. Remove the corresponding CLI objects from the duplicated FlexConfig policy.

  4. Associate the device to the duplicated FlexConfig policy.

Step 8

Save and deploy the configuration.