Upgrade through tftp at the cli – H3C Technologies H3C LSWM1WCM10 Access Controller Module User Manual
Page 24

17
227 Entering passive mode (192,168,0,1,4,91)
125 Using existing data connection
226 Closing data connection; File transfer successful.
FTP: 22554232 byte(s) sent in 26.528 second(s), 850.00Kbyte(s)/sec.
[ftp] quit Quit FTP
221 Service closing control connection
4.
Restore the backup application files and configuration files.
Use the get command to restore backup files.
[ftp] get main.bin main.bin Download the file main.bin from the
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
Upgrade through TFTP at the CLI
The Trivial File Transfer Protocol (TFTP) is a TCP/IP protocol used for file transfer between client and server.
It provides a simple and low-overhead file transfer service. TFTP provides unreliable data transfer over
UDP and does not provide any access authorization or authentication mechanism. It employs the timeout
retransmission method to implement best-effort delivery of data. Compared with FTP, TFTP has a much
smaller software size.
Using the Access controller module as the TFTP client and a file server as the TFTP server, you can use
commands on the console terminal, which can be the same file server, to upload configuration and
application files from the access controller module to the file server or download the files from the file
server to the access controller module.
1.
Set up a configuration environment.
Figure 15 Set up an environment for software maintenance through the CLI (access controller module as
TFTP client)
Configure the IP addresses for both sides, which must be on the same subnet. For example, set the IP
address of the TFTP server to 192.168.0.1 and that of the management Ethernet port of the access
controller module to 192.168.0.100. Then use ping to verify the network connectivity.
2.
Upgrade application programs.
After setting up the environment, perform the following operations on the console terminal.
Display the files in the current file system with the dir command.
Directory of cfa0:/