[Contents] [Prev] [Next] [Index] [Report an Error]

Committing a Configuration with the CLI

To save candidate configuration changes to the configuration database and activate the configuration on the Services Router, enter the commit command from any hierarchy level:

[edit]
user@host# commit
commit complete

If more than one user is modifying the configuration, committing it saves and activates the changes made by all the users.

The Services Router checks the configuration for syntax errors. If the syntax is correct, the configuration is activated and becomes the current, operational configuration running on the Services Router. If the configuration contains syntax errors, the router sends a message indicating the location of the error and does not activate the configuration. The error message has the following format:

[edit edit-path]
offending-statement;
error-message

You can specify one or more options within the commit command—or use it with the rollback command—to perform the following operations:


[Contents] [Prev] [Next] [Index] [Report an Error]