3com 4500 26-PORT 用户手册
File System Management Commands
299
■
■
■
■
■
File System
Management
Commands
Management
Commands
This section describes the commands you can use to manage the file system on
your Switch 4500.
your Switch 4500.
In switches supporting the XRN feature, the file path must start with
"unit[No.]>flash:/:", the [No.] is the unit ID. For example, suppose unit ID is 1, and
the path of the "text.txt" file under the root directory must be
"unit1>flash:/text.txt".
"unit[No.]>flash:/:", the [No.] is the unit ID. For example, suppose unit ID is 1, and
the path of the "text.txt" file under the root directory must be
"unit1>flash:/text.txt".
cd
Syntax
cd directory
View
User view
Parameter
directory:
Destination directory. The default directory is the working path
configured by the user when the system starts.
Description
Use the
cd
command to change the current user configuration path on the
Switch.
Example
Change the current working directory of the switch to flash.
<4500>cd flash:
<4500>pwd
unit1>flash:
<4500>
copy
Syntax
copy filepath-source filepath-dest
View
User view
Parameter
filepath-source:
Source file name.
filepath-dest:
Destination file name.
Description
Use the
copy
command to copy a file.