3com 5500-ei pwr Reference Guide

Page of 1314
 
1-2 
Parameters 
directory: Target directory. 
Description 
Use the cd command to enter a specified directory on the Ethernet switch. 
The default directory when a user logs onto the switch is the root directory of Flash memory. 
Examples 
# Enter the directory test from the root directory. 
<Sysname> cd test 
# Return to the upper directory. Note that keyword cd is followed by a space. 
<Sysname> cd .. 
After modifying the working directory using the cd command, you can use the pwd command to display 
the current working directory.  
copy 
Syntax 
copy fileurl-source fileurl-dest 
View 
User view 
Parameters 
fileurl-source: Name of the source file. 
fileurl-dest: Name of the target file. 
Description 
Use the copy command to copy a file. 
If the fileurl-dest  argument identifies an existing file, the existing file will be overwritten after the 
command is executed successfully. 
If the path, rather than the name of the target file is specified, the source file name is used as the target 
file name by default. 
Examples 
# Copy file config.cfg from the root directory to directory test, and save the file using name 1.cfg
<Sysname> copy flash:/config.cfg flash:/test/1.cfg 
Copy unit1>flash:/config.cfg to unit1>flash:/test/1.cfg?[Y/N]:y 
... 
%Copy file unit1>flash:/config.cfg to unit1>flash:/test/1.cfg...Done. 
# Copy file config.cfg from the root directory to directory test, and save the file using the original file 
name. 
<Sysname> copy flash:/config.cfg flash:/test 
Copy unit1>flash:/config.cfg to unit1>flash:/test/config.cfg?[Y/N]:y