Disable Syntax Checking of the Configuration File

Disables syntax checking of the configuration file. The default is enabled.

Note

Note

As a best practice, disable the verify-config flag.

About this task

  • Primary config behavior: When the verifyconfig flag is enabled, the primary config file is pre-checked for syntax errors. If the system finds an error, the primary config file is not loaded, instead the system loads the backup config file.

    If the verify-config flag is disabled, the system does not pre-check syntax errors. When the verify-config flag is disabled, the system ignores any lines with errors during loading of the primary config file. If the primary config file is not present or cannot be found, the system tries to load the backup file.

  • Backup config behavior: If the system loads the backup config file, the system does not check the backup file for syntax errors. It does not matter if the verify-config flag is disabled or enabled. With the backup config file, the system ignores any lines with errors during the loading of the backup config file.

    If no backup config file exists, the system defaults to factory defaults.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Disable syntax checking of the configuration file:

    no boot config flags verify-config

  3. Save the changed configuration.
  4. Restart the switch.