Page 7-1

7 Managing Files

Depending on the model type and configuration, an Alcatel switch has anywhere from 8 or
16 MB of usable flash memory. This memory is used to store files, including executable files
(used to operate switching modules), configuration files, and switch usage log files. Through
the User Interface (UI), you can load, copy, and delete any of these files types. In addition,
the UI has commands for displaying, creating, and editing ASCII (text-based) files.
All commands described in this chapter will work with files located in the /flash directory on
either the primary or secondary MPX. However, these commands work only with the files that
reside on the MPX to which you are connected. See Chapter 6, “Configuring Management
Processor Modules,” for more information on commands for working with redundant MPXs.
UI commands for file maintenance are grouped into two menus: the File menu and System
menu. File menu commands are listed below. For a list of System menu commands, see
System Menu on page 7-13.

File Menu

The File menu contains commands for loading, listing, copying, and deleting individual
switch files. To access the File menu, enter
file
at the UI prompt.
If verbose mode is enabled, the following list of commands will be displayed automatically.
If verbose mode is disabled, press the question mark (?) to display the following list of
commands. (For information on enabling verbose mode, refer to the uic command descrip-
tion in Chapter 4, “The User Interface.”)
Command File Menu
--------------- -----------------------------------------------------------------------------------
load Download system software using the serial interface
ftp Download from an FTP server
pwd Display the current working directory
ls List the contents of the current working directory (default
working directory is /flash)
rm Remove a file
cp Copy a file
view View an ASCII file
edit Edit buffer locally
imgcl Remove all image files
Main File Summary VLAN Networking
Interface Security System Services Help
All commands in the File menu, except for the load and ftp commands, are described in the
following sections. For instructions on using the ftp and load commands, refer to Chapter 5,
“Installing Switch Software.”
Note
If you want to use the rm, cp, imgcl, and the edit sub-
menu commands, you must be logged in as admin or
diag. See Chapter 4, “The User Interface,” for more
information on login accounts.