5.1 Introduction to File Storage Devices
File storage devices used in switches mainly include FLASH cards. As the most common storage device,
FLASH is usually used to store system image files (IMG files), system boot files (ROM files) and system
configuration files (CFG files).
Flash can copy, delete, or rename files under Shell or Bootrom mode.
5.2 File System Operation Configuration Task list
1. Mounting and unmounting operations of memory cards
2. The formatting operation of storage devices
3. The creation of sub-directories
4. The deletion of sub-directory
5. Changing the current working directory of the storage device
6. The display operation of the current working directory
7. The display operation of information about a designated file or directory
8. The deletion of a designated file in the file system
9. The renaming operation of files
10. The copying operation of files
1. Mounting and unmounting operations of memory cards
Command
Admin Configuration Mode
mount <device>
unmount <device>
2. The formatting operation of storage devices
Admin Configuration Mode
format <device>
3. The creation of sub-directorie s
Admin Configuration Mode
mkdir <directory>
Chapter 5 File System Operations
Command
Command
Explanation
Mount and unmount memory cards.
Explanation
Format the storage device.
Explanation
Create a sub-directory in a designated
directory on a certain device.
5-1