Alcatel Carrier Internetworking Solutions omniswitch User Manual

Page of 260
Managing System Files
Application Examples for File Management
OmniSwitch 6600 Family Switch Management Guide
March 2005
page 2-29
Application Examples for File Management
The following sections give detailed examples of managing files and directories on the switch.
Transferring a File to the Switch Using FTP
In this example, the user is adding the AVLAN security feature to the switch. To do this the user must 
load the Hsecu.img image file onto the switch and then register the file using the CLI 
The following steps describe how to transfer the file from the user workstation to the switch using an FTP 
client on the workstation.
Load the Hsecu.img file onto a workstation that contains an FTP client.
You will normally receive the file from the Internet, via Email, or on CD media. Place the file on your 
workstation where it can be easily downloaded. 
Run the FTP client software on your workstation.
Most workstations have an FTP client installed. Refer to your manufacturer’s instructions for details on 
running the FTP application. 
Log in to the switch from your FTP client.
Where the FTP client asks for Name, enter the IP address of your switch. Where the FTP client asks for 
User ID, enter “admin”. Where the FTP client asks for Password, enter “switch” or your custom config-
ured password.
Transfer the file from the workstation to the switch using the FTP client.
If you have a GUI FTP client, select the Hsecu.img file on your desktop and click the download button. If 
you have a text only FTP client, use the FTP “put” command to move the file from your desktop to the 
switch. In either case, you must specify a binary file transfer because the Hsecu.img file is a binary file. 
Once the transfer is complete, the file will appear in the switch’s /flash/working directory.
Close the FTP session with the switch.
To verify that the Hsecu.img file is in the /flash/working directory on the switch. Log onto the switch 
and list the files in the /flash/working directory.
-> ls /flash/working
Listing Directory /flash/working:
drw      2048 Aug 4 10:45 ./
drw      2048 Aug 5 14:05 ../
-rw    670979 Aug 5 14:44 Hsecu.img
-rw   2877570 Aug 4 10:33 Hbase.img
-rw    217119 Aug 4 10:33 Hdiag.img
-rw    727663 Aug 4 10:33 Heni.img
-rw    236713 Aug 4 10:34 Hqos.img
-rw      5519 Aug 4 10:34 Hrelease.img
-rw    467850 Aug 4 10:34 Hrout.img
-rw       880 Sep 31 13:05 boot.cfg
This list verifies that the file is located on the switch in the /flash/working directory.
Execute the 
 command to register the security file Hsecu.img. The following will display: