Deleting Switch Files
Page 7-4
Deleting Switch Files
You can use the
rm
command to delete files in the primary
MPX’s
flash memory. To use this
command, enter
rm
, followed by the name of the file you want to delete. For example, to
delete the file
mpm.log
, you would enter
rm mpm.log
at the UI prompt. The following screen will be displayed:
File system compaction in progress...
The switch will take a few seconds to delete the file and compact the flash memory.
♦
Note
♦
If you are connected to the primary
MPX
and you want
to remove files from a secondary
MPX
, use the
mpmrm
command, which is described in Chapter 6, “Configur-
ing Management Processor Modules.”
Deleting Multiple Files
You can remove multiple files either by entering multiple file names in the command line or
by using wildcards.
When entering multiple file names, be sure to include a space between each file name you
want to delete. For example, to remove both the
mpm.cfg
and
mpm.cnf
files, you would enter
the following:
rm mpm.cfg mpm.cnf
Wildcards let you substitute an asterisk (
*
) for file name text. You can remove all files with
the same extension by entering
rm
, followed by an asterisk (
*
), a period (
.
), and the file
extension. For example, if you want to delete all the files with the
log
extension, enter
*.old
at the
UI
prompt. The following message will be displayed:
Remove the following?
/flash/mpm.log.old
/flash/mpm.old
Are you sure you want to remove this? (n)
Press the
y
key to delete the selected files or press
<Enter>
to cancel. If you press the
y
key,
the following will be displayed:
...2 files removed
The switch will take a few seconds to delete the file and compact the flash memory.
♦
Note
♦
If you want to delete all the image files (i.e., files with
the
img
extension), you can use the
imgcl
command,
which is described in
Deleting All Image Files
on page
7-5.
Summary of Contents for Omni Switch/Router
Page 1: ...Part No 060166 10 Rev C March 2005 Omni Switch Router User Manual Release 4 5 www alcatel com ...
Page 4: ...page iv ...
Page 110: ...WAN Modules Page 3 40 ...
Page 156: ...UI Table Filtering Using Search and Filter Commands Page 4 46 ...
Page 164: ...Using ZMODEM Page 5 8 ...
Page 186: ...Displaying and Setting the Swap State Page 6 22 ...
Page 202: ...Creating a New File System Page 7 16 ...
Page 270: ...Displaying Secure Access Entries in the MPM Log Page 10 14 ...
Page 430: ...OmniChannel Page 15 16 ...
Page 496: ...Configuring Source Route to Transparent Bridging Page 17 48 ...
Page 542: ...Dissimilar LAN Switching Capabilities Page 18 46 ...
Page 646: ...Application Example DHCP Policies Page 20 30 ...
Page 660: ...GMAP Page 21 14 ...
Page 710: ...Viewing the Virtual Interface of Multicast VLANs Page 23 16 ...
Page 722: ...Application Example 5 Page 24 12 ...
Page 788: ...Viewing UDP Relay Statistics Page 26 24 ...
Page 872: ...The WAN Port Software Menu Page 28 46 ...
Page 960: ...Deleting a PPP Entity Page 30 22 ...
Page 978: ...Displaying Link Status Page 31 18 ...
Page 988: ...Displaying ISDN Configuration Entry Status Page 32 10 ...
Page 1024: ...Backup Services Commands Page 34 14 ...
Page 1062: ...Diagnostic Test Cable Schematics Page 36 24 ...
Page 1072: ...Configuring a Switch with an MPX Page A 10 ...
Page 1086: ...Page B 14 ...
Page 1100: ...Page I 14 Index ...