Operation Manual

File Management Commands
File Management Commands
21 – 495
success: restore complete.
See Also
backup on page 483
rmdir
Removes a subdirectory from nonvolatile storage.
Syntax
rmdir [subdirname]
Defaults
None.
Access
Enabled.
History
Introduced in MSS Version 3.0.
Usage
MSS does not allow the subdirectory to be removed unless it is empty. Delete all files from
the subdirectory before attempting to remove it.
Examples
The following example removes subdirectory corp2:
MX# rmdir corp2
success: change accepted.
See Also
dir on page 488
mkdir on page 492
save config
Saves the running configuration to a configuration file.
Syntax
save config [filename]
Defaults
By default, MSS saves the running configuration as the configuration filename used
during the last reboot.
Access
Enabled.
History
Usage
If you do not specify a filename, MSS replaces the configuration file loaded during the most
recent reboot. To display the filename of the configuration file MSS loaded during the most recent
reboot, use the show boot command.
The command completely replaces the specified configuration file with the running configuration.
subdirname Subdirectory name. Specify between 1 and 32 alphanumeric characters, with no
spaces.
filename Name of the configuration file. Specify between 1 and 128 alphanumeric characters,
with no spaces.
To save the file in a subdirectory, specify the subdirectory name, followed by a forward
slash, in front of the filename. For example: backup_configs/config_c.
Version 1.0 Command introduced
Version 3.0 Subdirectory support added, to save the configuration file to a subdirectory