To verify that the syntax of a configuration is correct, enter the commit check command:
- [edit]
- user@host# commit check
- configuration check succeeds
If the configuration contains syntax errors, a message indicates the location of the error.