Alcatel-Lucent 6850-48 Manuale Supplementare

Pagina di 312
Managing System Files
File and Directory Management
OmniSwitch AOS Release 6 Switch Management Guide
September 2009
page 1-15
Secure Copy an Existing File
Use th
 command to copy an existing file in a secure manner. You can specify the path and filename 
for the original file being copied as well as the path and filename for a new copy being created. If no path 
is specified, the command assumes the current directory. If SCP is not enabled on the switch, use the
 
command to enable it. The following syntax copies all of the image files in the working directory 
from a remote switch 172.17.11.13 to the local working directory:
-> scp admin@172.17.11.13:/flash/working/*.img /flash/working
admin's password for keyboard-interactive method:
This second example helps copy all the image files from the user’s current working directory to the remote 
switch’s working directory. A copy of all the image files will appear in the /flash/working directory of the 
remote switch 172.17.11.13, once the following command is executed.
-> scp /flash/working/*.img admin@172.17.11.13:/flash/working
admin's password for keyboard-interactive method:
Note. The scp command prompts you to enter the admin password. On entering the admin password, the 
names and the path of the files being copied will be displayed. SCP is not supported between OmniSwitch 
and Windows in the current release.
Note. You must have write privileges in order to execute the 
 command.
Move an Existing File or Directory
 an
 commands have the same function and use the same syntax. Use these commands to 
move an existing file or directory to another location. You can specify the path and name for the file or 
directory being moved. If no path is specified, the command assumes the current path. You can also 
specify a path and a new name for the file or directory being moved. If no name is specified, the existing 
name will be used. 
Note. Your login account must have write privileges to use the 
 or 
 command.
Flash Directory
Certified Directory
Working Directory
Testfiles Directory
(Files)
(Files)
(File)
Network Directory
policy.cfg
(File)
testfile2