Creating and Managing Files
Introduction
This chapter provides information on:
■
■
■
Working with files
The AlliedWare Plus OS lets you create directory trees for file storage. This section shows:
■
■
■
■
Flash compaction
The flash memory on the switch automatically compacts itself to recover space available from
deleted files. The switch only does this when necessary, and not every file deletion causes flash
compaction. Flash compaction can occur after a file of any size is added to or deleted from the
switch.
While flash is compacting, the console is unresponsive. Do not restart the switch, as
interrupting flash compaction can damage files.
Listing files
To list files, enter Privileged Exec mode and enter the command:
awplus#dir
The output lists files and directories in order of modification date, descending. It looks like this:
Listing files including hidden system files
The dir command does not list all files—it hides system files and directories because users
generally do not need to create or edit them. To list all files including system files, enter
Privileged Exec mode and enter the command:
awplus#dir all
6.2
Working with files
Creating and Using Configuration Files
Copying Files To and From Your Device
"Listing files" on page
6.2—listing files and seeing how much free space you have
"Displaying the contents of configuration and text files" on page 6.4
"Navigating through the file system" on page
changing directories, and creating and deleting directories
"Using the editor" on page 6.6
-rw-
534 Jul 12 2007 17:52:50
-rw-
534 Jul 12 2007 17:12:50
-rw- 12429011 Jul 12 2007 16:26:06
Software Reference for SwitchBlade® x908, x900 and x600 Series Switches
TM
AlliedWare Plus
Operating System - Software Version 5.3.1
6.4—identifying the current directory,
stp.cfg
example.cfg
r1-5.2.2-rc3.rel
C613-50007-01 REV B