Commands for Managing the ExtremeWare XOS Software
ExtremeWare XOS 11.5 supports only the Summit X450 family of switches and the BlackDiamond 8800 series switch.
ExtremeWare XOS 11.5 Command Reference Guide
270
rm
rm {internal-memory | memorycard} <file-name>
Description
Removes/deletes an existing configuration, policy, or if configured, core dump file from the system.
Syntax Description
Default
N/A.
Usage Guidelines
After you remove a configuration or policy file from the system, that file is unavailable to the system.
For information about core dump files, see
“Internal Memory Card and Core Dump Files” on page 271
.
You cannot remove an active configuration file (the configuration currently selected to boot the switch).
To verify the configuration that you are currently using, issue the
show switch {detail}
command. If
you attempt to remove the active configuration file, the switch displays a message similar to the
following:
Error: Cannot remove current selected active configuration file.
When you delete a file from the switch, a message similar to the following appears:
Remove testpolicy.pol from switch? (y/n)
Enter
y
to remove the file from your system. Enter
n
to cancel the process and keep the file on your
system.
Case-sensitive Filenames.
Filenames are case-sensitive. In this example, you have a configuration file
named Test.cfg. If you attempt to remove a file with the incorrect case, for example test.cfg, the system
is unable to remove the file. The switch does not display an error message; however, the
ls
command
continues to display the file Test.cfg. To remove the file, make sure you use the appropriate case.
Local Filename Character Restrictions.
This section provides information about the characters supported
by the switch for local filenames.
internal-memory
Specifies the internal memory card.
memorycard
Specifies the removable external compact flash card.
NOTE: This parameter is available only on modular switches.
file-name
Specifies the name of the configuration, policy file, or if configured, the core
dump file.