Using the Commit Options to Commit Configuration Changes (J-Web Procedure)
You can use the single-commit feature to commit all outstanding configuration changes in the J-Web interface on EX Series switches simultaneously. This helps in reducing the time J-Web takes for committing configurations because when changes are committed at every step, rollback configurations pile up.
For example, suppose you want to delete a firewall filter and add a new one. With immediate commits, you would need to commit your changes twice for this action. Using single commit, you can decrease the number of commits to one, thus saving time for working on other configurations.
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 visible through the user interface immediately, 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 Commit Preference page.
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 an EX Series switch using the J-Web interface:
- Select Commit Options.
All action links except Preference are disabled unless you edit, add, or delete a configuration.
- Choose an action. See Table 21 for details on the actions.
- Configure the commit options by selecting Preference. See Table 22 for details on preference options.
Table 21: Commit Options
Commits the candidate configuration of the current user session, along with changes from other user sessions.
Displays the XML log of pending uncommitted configurations on the device.
Discards the candidate configuration of your current session, along with changes from other user sessions.
Indicates your choice of committing all global configurations together or committing each configuration change immediately.
Table 22: Commit Preference Options
Validate and commit configuration changes
Sets the system to validate and force an immediate commit on every screen after every configuration change.
Validate configuration changes
Loads all the configuration changes for an accumulated single commit. 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.