![Alied Telesis GS970M/10 Скачать руководство пользователя страница 81](http://html1.mh-extra.com/html/alied-telesis/gs970m-10/gs970m-10_command-reference-manual_2896773081.webp)
C613-50163-01 Rev C
Command Reference for GS970M Series
81
AlliedWare Plus™ Operating System - Version 5.4.7-0.x
F
ILE
AND
C
ONFIGURATION
M
ANAGEMENT
C
OMMANDS
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
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 stop running the configuration file “branch.cfg” stored on the device’s Flash
filesystem when 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