C613-50055-01 REV A Command Reference for x230 Series Edge Switches 111
AlliedWare Plus™ Operating System - Version 5.4.5-0.x
FILE MANAGEMENT COMMANDS
BOOT
CONFIG-FILE
boot config-file
Overview Use this command to set the configuration file to use during the next boot cycle.
Use the no variant of this command to remove the configuration file.
Syntax
boot config-file <filepath-filename>
no boot config-file
Mode Global Configuration
Usage You can only specify that the configuration file is on an SD card if there is a backup
configuration file already specified in Flash. If you attempt to set the configuration
file on an SD card and a backup configuration file is not specified in Flash, the
following error message is displayed:
For an explanation of the configuration fallback order, see the File Management
Feature Overview and Configuration Guide.
Examples To run the configuration file branch.cfg stored on the device’s Flash filesystem
the next time the device boots up, use the commands:
awplus# configure terminal
awplus(config)# boot config-file flash:/branch.cfg
To remove the configuration file branch.cfg stored on the device’s Flash
filesystem the next time the device boots up, use the commands:
awplus# configure terminal
awplus(config)# no boot config-file flash:/branch.cfg
To run the configuration file branch.cfg stored on the device’s SD card
filesystem the next time the device boots up, use the commands:
awplus# configure terminal
awplus(config)# boot config-file card:/branch.cfg
Parameter Description
<filepath-filename> Filepath and name of a configuration file.
The specified configuration file must exist in the
specified filesystem.
Valid configuration files must have a . cfg extension.
% Backup configuration files must be stored in the flash
filesystem