beautypg.com

H3C Technologies H3C LSWM1WCM10 Access Controller Module User Manual

Page 22

background image

15

3.

Connect the PC to the FTP server

After enabling the FTP service and configuring the username and password, you can enable FTP client

on the PC. In the following example, the FTP client application program is the built-in Windows XP FTP
client.
Type ftp in the DOS window:

C:\Documents and Settings\Administrator>ftp

ftp> The system prompt changed to ftp>

ftp> open 192.168.0.100 IP address of the access controller module

Connected to 192.168.0.100.

220 FTP service ready.

User (192.168.0.100:(none)): guest Username configured on the access controller

module

331 Password required for guest

Password: Enter the password 123456

230 User logged in Successfully connected to the server

4.

Upgrade application files.

ftp> put main.bin main.bin Upload the upgrade file to the access controller

module

200 Port command okay.

150 Opening BINARY mode data connection for /main.bin.

226 Transfer complete.

ftp: 22554232 bytes sent in 82.25Seconds 274.22Kbytes/sec...

ftp> quit Quit FTP

221 Server closing

5.

Back up application files and configuration files.

Use the following commands to maintain the access controller module. In this example, the file main.bin

on the access controller module is copied to the PC.

ftp> binary Set the transfer mode to binary

200 Type set to I.

ftp> lcd c:\temp Change the local path

Local directory now C:\temp.

ftp> get main.bin main.bin Backup to PC

200 Port command okay.

150 Opening BINARY mode data connection for /main.bin.

226 Transfer complete.

ftp: 22554232 bytes received in 21.52Seconds 1048.25Kbytes/sec.

6.

Restore backup application files and configuration files.

To restore the backup files to the access controller module, do the following:

ftp> put main.bin main.bin Restore file to access controller module

200 Port command okay.

150 Opening BINARY mode data connection for /main.bin.

226 Transfer complete.

ftp: 22554232 bytes sent in 82.25Seconds 274.22Kbytes/sec.

ftp> quit Quit FTP

221 Server closing