Using the Commit Options to Commit Configuration Changes

You can use the single-commit feature in the J-Web interface to simultaneously commit all outstanding configuration changes on the QFX Series. This helps to reduce the time the J-Web interface takes to commit configurations. It also reduces the number of rollback configurations that accumulate when changes are committed at every step.

For example, suppose you want to delete a firewall filter and add a new one. With immediate commits operations, you would need to commit your changes twice for this action. Using a single commit operation, you can commit all of the cumulative changes in just one commit operation.

When you edit a configuration, you work on a copy of the current configuration, which is your candidate configuration. The changes you make to the candidate configuration are immediately visible through the user interface, allowing other users to edit those configurations, but they do not take effect on the switch until you commit the changes. When you commit the configuration, the candidate file is checked for proper syntax, activated, and marked as the current, operational software configuration file. If multiple users are editing the configuration when you commit the candidate configuration, changes made by all users take effect.

You can configure the commit options to either commit all configuration changes together, or commit each configuration change immediately, using the J-Web interface Commit Preference page.

Note: There are some pages on which configuration changes must be committed immediately. For such pages, if you configure the commit options for a single commit, the system displays warning notifications that remind you to commit your changes immediately. An example of such a page is the Interface Page (Configure > Interface).

To configure the commit options on the QFX Series using the J-Web interface:

  1. Select Commit Options.

    Note: All action links except Preference are disabled unless you edit, add, or delete a configuration.

  2. Choose an action. See Table 8 for details about the actions.
  3. Configure the commit options by selecting Preference. See Table 9 for details about preference options.

Table 8: Commit Options

Menu Item

Function

Your Action

Commit

Commits the candidate configuration of the current user session, along with changes from other user sessions.

  1. Select Commit Options > Commit.

    Changes are committed after the system validates your configuration. A window displays that the configuration was successfully committed or that the commit operation failed.

  2. Click OK.

    Click Details to view the commit log.

Compare

Displays the XML log of pending uncommitted configurations on the device.

  1. Select Commit Options > Compare.

    The XML log of pending configurations on the devices is displayed similar to the CLI interface, in a “human-readable” form.

  2. Click Close.

Discard

Discards the candidate configuration of your current session, along with changes from other user sessions.

  1. Select Commit Options > Discard.
  2. Click OK to confirm the discard action.

    Your changes are discarded after the system validates your configuration.

Preference

Indicates your choice of committing all global configurations together or committing each configuration change immediately.

  1. Select Commit Options > Preference. The Commit Preference page is displayed.
  2. Configure the commit options by selecting your preference. See Table 9 for details on preference options.

Table 9: Commit Preference Options

Option

Function

Validate and commit configuration changes

Sets the system to validate and force an immediate commit operation on every screen after every configuration change.

Validate configuration changes

Loads all the configuration changes for an accumulated single commit operation. If there are errors in loading the configuration, the errors are logged. This is the default mode.

Once you select this option, you need to select Commit Options > Commit to commit your changes.

Related Documentation