beautypg.com

H3C Technologies H3C LSWM1WCM10 Access Controller Module User Manual

Page 23

background image

16

Using the access controller module as the FTP client

You can also maintain the file system of the access controller module by setting up a software

maintenance environment where the access controller module serves as a client.

1.

Set up a maintenance environment.

Figure 14 Set up a software maintenance environment in CLI mode (access controller module as FTP

client)

Run the FTP server program on the PC, set the file path, and set the username and password for the

access controller module.
Configure the IP addresses for both sides, which must be on the same subnet. For example, set the IP

address of the FTP server to 192.168.0.1, and that of the LSRM1WCM2A1 access controller module’s

management Ethernet port to 192.168.0.100. Use ping to verify the network connectivity.

2.

Connect to the FTP server.

Log in to the FTP server through the console terminal connected with the access controller module.

ftp 192.168.0.1

Trying 192.168.0.1 ...

Press CTRL+K to abort

Connected to 192.168.0.1.

220 3Com 3CDaemon FTP Server Version 2.0

User(192.168.0.1:(none)):guest Enter the username configured on the FTP

server.

331 User name ok, need password

Password: Enter the corresponding password.

230 User logged in The connection is established.

[ftp]

3.

Upgrade application files.

[ftp] get main.bin main.bin Download the file from the FTP server

to the access controller module

cfa0:/main.bin has been existing. Overwrite it?[Y/N]:y

227 Entering passive mode (192,168,0,1,4,89)

125 Using existing data connection

226 Closing data connection; File transfer successful.

FTP: 22554232 byte(s) received in 26.563 second(s), 849.00K byte(s)/sec.

Back up application files and configuration files.

Use the put command to back up files after logging in.

[ftp]binary Set transmission mode to binary

200 Type set to I.

[ftp] put main.bin main.bin Back up files to the FTP server