Usage Scenario
- If no default configuration file is specified for an unconfigured device, onsite configuration is required of engineers when the device starts, causing inconvenient device O&M. To implement plug-and-play upon the restart of an unconfigured device, run the startup default-configuration configuration-file command to specify the default configuration file for the device. Note that the default configuration file must contain configurations required by the plug-and-play function. When the unconfigured device starts next time, it uses the default configuration file for configuration restoration.
- The name extension of the configuration file must be .defcfg, and the configuration file must have been stored in the root directory of the device before being specified as the default configuration file. After the default configuration file is specified using the startup default-configuration command, the default configuration file in the root directory is imported to the device.
- The default configuration file must be in plain text format, and its content can be directly viewed. After the default configuration file is specified for an unconfigured device, the device restores the commands in the configuration file one by one at the next startup.
- The command can be configured only on a physical system (PS).
Configuration Impact
If no configuration file is specified for the next startup, the device uses the preset default configuration file for configuration restoration at the next startup.
Precautions
In VS mode, this command is supported only by the admin VS.
The size of the default configuration file cannot exceed 50 KB.
Exercise caution when running this command, and you are advised to follow the instructions of the technical support personnel when you run this command.