3Com Switch 4200G Configuration Guide
336 CHAPTER 38: FTP AND TFTP CONFIGURATION
Configuration Example:
A Switch Operating as
an FTP Client
Network requirements
A switch and a remote PC operate as an FTP client and an FTP server.
■ Create a user account on the FTP server, with the user name being switch,
password being hello, and the permission to access the directory named Switch
assigned to the user account.
■ The IP address of a VLAN interface on the switch is 1.1.1.1. The IP address of the
PC is 2.2.2.2. And the route between the two is reachable.
Download the application named switch.bin from the PC to the switch and upload
the configuration file named vrpcfg.txt to the directory named Switch on the PC to
backup the configuration file.
Query the specified
files
dir [ filename ] [ localfile ] Optional
Query a specified
remote file
ls [ remotefile ] [ localfile ] Optional
Download a remote file get remotefile [ localfile ] Optional
Upload a local file to
the remote FTP server
put localfile [ remotefile ] Optional
Rename a file on a
remote host.
rename remote-source
remote-dest
Optional
Switch to another FTP
user
user username [ password ] Optional
Connect to a remote
FTP server
open { ip-address | server-name }
[ port ]
Optional
Terminate the current
FTP connection without
exiting FTP client view
disconnect Optional
Terminate the current
FTP connection without
exiting FTP client view
close Optional
Terminate the current
FTP connection and
quit to user view
quit Optional
Terminate the current
FTP control connection
and data connection
bye Optional
Display the on-line help
on a specified
command concerning
FTP
remotehelp [
protocol-command ]
Optional
Enable verbose
function
verbose Optional
The verbose function is enabled by
default.
Table 292 FTP client operations (Continued)
Operation Command Description