Configuration Example: A Switch Functioning As An Ftp Client - H3C S7500 Series Operation Manual

Hide thumbs Also See for S7500 Series:
Table of Contents

Advertisement

Operation Manual – FTP and TFTP
H3C S7500 Series Ethernet Switches
Query a specified remote file
Download a remote file
Upload a local file to the remote
FTP server
Switch to another FTP user
Establish a control connection to
the FTP server
Terminate the current FTP
connection without exiting FTP
client view
Terminate the current FTP
connection without exiting FTP
client view
Terminate the current FTP
connection and quit to user view
Terminate the current FTP
connection and quit to user view
Display the on-line help on a
specified FTP command
Enable debugging for the FTP
Enable the verbose function

1.1.5 Configuration Example: A Switch Functioning as an FTP Client

I. Network requirements
A switch functions as an FTP client and a remote PC functions as an FTP server.
Create a user account on the FTP server with the username "switch" and
password "hello", and grant the Read/Write authority on the directory named
"switch" on the PC.
Configure the IP address 1.1.1.1 for a VLAN interface on the switch, and 2.2.2.2
for the PC. Ensure that the switch and PC are reachable to each other.
The switch application named switch.bin is stored on the PC. Download it to the switch
through FTP to upgrade the switch application, and upload the switch configuration file
named config.cfg to the switch directory of the PC to backup the configuration file.
To do...
Chapter 1 FTP and TFTP Configuration
Use the command...
ls [ remotefile ]
[ localfile ]
get remotefile
[ localfile ]
put localfile
[ remotefile ]
user username
[ password ]
open { ip-address |
server-name } [ port ]
disconnect
close
quit
bye
remotehelp
[ protocol-command ]
debugging
verbose
1-8
Remarks
Optional
Optional
Optional
Optional
Optional
Optional
Optional
Optional
Optional
Optional
Optional
Optional
The verbose function
is enabled by default.

Advertisement

Table of Contents
loading

Table of Contents