boot config
This command designates the startup configuration for the next restart.
Syntax
boot config file
Availability
All platforms except Docker.
Parameters
- file
- Specifies the name of the startup configuration file.
Guidelines
The boot config designates the startup configuration. The startup configuration contains the configuration for the DataPower® Gateway the next time you start it. Without a configuration, the DataPower Gateway uses the config:///autoconfig.cfg file. The configuration file must be in the config: directory.
The save-config overwrite command defines the system behavior when the running configuration is saved with the write memory command.
Note: You
cannot specify
auto-startup.cfg
as the startup configuration. config:///auto-startup.cfg
is
a system file that links to the file with the startup configuration.
Previously this file was not shown.Examples
- Designate
testEnvironment.cfg
as the startup configuration, save the changes to autoconfig.cfg and overwritetestEnvironment.cfg
.# boot config testEnvironment.cfg #
When you view the config: directory after the running configuration is saved, the following files have the same size and time stamp.auto-startup.cfg
- autoconfig.cfg
testEnvironment.cfg
- Designate
testEnvironment.cfg
as the startup configuration and save the changes to only autoconfig.cfg.# boot config testEnvironment.cfg # no save-config overwrite #
When you view the config: directory after the running configuration is saved, notice the following details.- The
testEnvironment.cfg
file retains its original size and time stamp. - The following files have the same size and a later time stamp.
auto-startup.cfg
- autoconfig.cfg
- The