37
FILE SYSTEM MANAGEMENT
CONFIGURATION
File System
Configuration
To facilitate management on the switch’s memory, the Switch 4210 provides the
file system function, allowing you to access and manage the files and directories.
You can create, remove, copy or delete a file through command lines, and you can
manage files using directories.
File System
Configuration Tasks
n
the Switch 4210 supports intelligent resilient framework (IRF), and allows you to
input a file path and file name in one of the following ways:
■ In universal resource locator (URL) format and starting with "unit1>flash:/". or
"flash:/" This method is used to specify a file in the current Flash memory
■ Entering the path name or file name directly. This method can be used to
specify a path or a file in the current work directory.
Directory Operations The file system provides directory-related functions, such as:
■ Creating/deleting a directory
■ Displaying the current work directory, or contents in a specified directory
Table 319 describes the directory-related operations.
Perform the following configuration in user view.
Tab le 318 Configuration tasks on the file system
Configuration task Description
Directory operation Optional
File operation Optional
Flash memory operation Optional
Prompt mode configuration Optional
Tab le 319 Directory operations
To do... Use the command... Remarks
Create a directory mkdir directory Optional
Delete a directory rmdir directory Optional
Display the current work
directory
pwd Optional
Display the information about
specific directories and files
dir [ /all ] [ file-url ] Optional
Enter a specified directory cd directory Optional