Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Detecting and Managing Manual CLI Configuration Changes

 

Contrail Networking Release 2003 supports the detection of manual CLI configuration changes. You can either accept these manual changes as part of the configuration, or you can reject the CLI changes and remove the manual change from the configuration. Starting in Contrail Networking Release 2008, you can also ignore manual CLI configuration changes.

For example, consider a scenario where a user logs in to the command line interface of a fabric device, makes changes to the existing configuration, and commits the configuration. Contrail Command detects such manual CLI configuration changes. You can then choose to accept, ignore, or reject the change.

Note

When you make configuration changes by using the command line interface, ensure that you do not use – ; { } [ ] , in the description field. Using these characters would cause the CLI detection workflow to fail.

You can view the following information before you accept, ignore, or reject the new CLI configuration change.

  • The user who made the change.

  • The time the change was made.

  • The actual change in configuration.

These topics provide instructions to detect, accept, ignore, and reject manual CLI configuration changes.

Detecting a CLI Change

Contrail Command can detect a manual CLI change when

As an example, consider that you have made a CLI configuration change on a fabric device. Follow these steps to detect the manual CLI configuration change when you run the View Configuration job.

  1. Navigate to Infrastructure>Fabrics.

    The Fabrics page is displayed.

  2. Click the name of the fabric to view fabric devices.

    The Fabric Devices page is displayed.

  3. To view configuration of a device, select the check box next to the device name and click the View Configuration icon. See Figure 1.
    Figure 1: View Configuration Icon
    View Configuration Icon

    The Device Configuration tab is displayed.

    The device that you have selected to view configuration for is listed in the Operation is being run on the following devices table. The status of the view configuration job for the device is displayed in the Status column next to the device name.

    If there is a manual change in configuration, the job status is Review Changes. If there is no change, the status is a green tick mark. See Figure 2.

    Figure 2: View Configuration Job Status
    View Configuration
Job Status

    After the view device configuration job is completed, navigate to the Fabric devices page to view the status of all devices. A device is in the Changed status when there are new manual CLI changes made. Devices with no manual CLI changes are in the Active status. See Figure 3.

    Figure 3: Status of a Fabric Device
    Status of a Fabric Device

    For more information on reviewing changes, see Accept, Ignore, or Reject a CLI Change.

Note

After you upgrade a device image or after you run the reconfigure roles fabric job, navigate to the Fabric Devices page to determine if the device is in the Changed status. If the device is in the Changed status, Contrail Command has detected that the device has a new CLI configuration change.

Accept, Ignore, or Reject a CLI Change

After Contrail Command has detected a CLI configuration change, you can accept, ignore, or reject CLI changes.

Follow these steps to accept, ignore, or reject a CLI change by using the Contrail Command UI.

  1. Navigate to Infrastructure>Fabrics.

    The Fabrics page is displayed.

  2. Click the name of the fabric to view fabric devices.

    The Fabric Devices page is displayed. The device with new CLI changes is listed in the Fabric Devices page and is in Changed status.

  3. From the Fabric Devices page, select the device in the Changed status by selecting the check box next to the device name.

    You can select more than one device.

  4. Click the View Configuration icon as shown in Figure 1.

    The Device Configuration tab is displayed.

  5. Click the Configuration Parity tab to view the device with new CLI configuration changes.

    Alternatively, click Review Changes from the Device Configuration tab as shown in Figure 2, and you are directed to the Configuration Parity tab.

  6. Select the check box next to the device name to view details of the user who made the change and the time the change was made.

    This information is displayed in the Configuration Changes for device table as show in Figure 4.

    Figure 4: Configuration Parity Tab
    Configuration Parity Tab
  7. Select the check box next to the name of the user to view the Configuration Change Preview section.

    The Configuration Change Preview section displays the complete CLI configuration change. You can accept, ignore, or reject this configuration change from this section.

    • Click Accept Changes to accept the manual CLI configuration change.

      This new configuration is also saved in the Cassandra database when you accept changes.

      In the event when the device is replaced (see Return Material Authorization) with a new device, you can retain the new configuration change or push the new change on to the new device from the Cassandra database.

    • Click Ignore Changes to ignore the new CLI configuration change.

      The new CLI configuration is still detected by Contrail Command and is available in the Cassandra database.

      In the event when the device is replaced with a new device, the new configuration change that was ignored, will not be available on the new device.

    • Click Reject Changes to remove the new CLI configuration from the device.

      The new CLI configuration changes are not saved in the Cassandra databasė.

  8. Click Done to confirm changes.

    The Fabric Devices page is displayed. The device is now in the Active status.

Release History Table
Release
Description
Starting in Contrail Networking Release 2008, you can also ignore manual CLI configuration changes.
Contrail Networking Release 2003 supports the detection of manual CLI configuration changes.