Operation Manual
File Management Commands
File Management Commands
21 – 491
load config
Loads configuration commands from a file and replaces the MX running configuration with the
commands in the loaded file.
Syntax
load config [url]
Defaults
The default file location is nonvolatile storage.
If you do not specify a filename, MSS uses the same configuration filename that was used for the
previous configuration load. For example, if the MX used configuration for the most recent
configuration load, MSS uses configuration again unless you specify a different filename. To
display the filename of the configuration file MSS loaded during the last reboot, use the show
boot command.
Access
Enabled.
History
Usage
This command completely replaces the running configuration with the configuration in the
file.
Examples
The following command reloads the configuration from the most recently loaded
configuration file:
MX# load config
Reloading configuration may result in lost of connectivity, do you wish to continue? (y/n)
[n]y
success: Configuration reloaded
The following command loads configuration file testconfig1:
MX# load config testconfig1
Reloading configuration may result in lost of connectivity, do you wish to continue? (y/n)
[n]y
success: Configuration reloaded
See Also
● save config on page 495
● show boot on page 497
W arning!
This command completely removes the running configuration and replaces
it with the configuration contained in the file. Trapeze Networks
recommends that you save a copy of the current running configuration to a
backup configuration file before loading a new configuration.
url Filename. Specify between 1 and 128 alphanumeric characters, with no spaces.
If the file is in a subdirectory, specify the subdirectory name, followed by a forward
slash, in front of the filename. For example: backup_configs/config_c.
Note:
The current version supports loading a configuration file only from the MX
nonvolatile storage. You cannot load a configuration file directly from a TFTP
server.
Version 1.0 Command introduced
Version 3.0 Subdirectory support added, to load a file that is in a subdirectory