Configuration Example: A Switch Operating As An Ftp Server - 3Com 4200G 12-Port Configuration Manual

4200g family
Hide thumbs Also See for 4200G 12-Port:
Table of Contents

Advertisement

To do...
Specify an interface as the
source interface the FTP client
uses every time it connects to
an FTP server
Specify an IP address as the
source IP address the FTP
client uses every time it
connects to an FTP server
Display the source IP address
used by an FTP client every
time it connects to an FTP
server
The specified interface must be an existing one. Otherwise a prompt appears to show that the
configuration fails.
The value of the ip-address argument must be the IP address of the device where the configuration
is performed. Otherwise a prompt appears to show that the configuration fails.
The source interface/source IP address set for one connection is prior to the fixed source
interface/source IP address set for each connection. That is, for a connection between an FTP
client and an FTP server, if you specify the source interface/source IP address used for the
connection this time, and the specified source interface/source IP address is different from the
fixed one, the former will be used for the connection this time.
Only one fixed source interface or source IP address can be set for the FTP client at one time. That
is, only one of the commands ftp source-interface and ftp source-ip can be valid at one time. If
you execute both of them, the new setting will overwrite the original one.

Configuration Example: A Switch Operating as an FTP Server

Network requirements
A switch operates as an FTP server and a remote PC as an FTP client. The application switch.bin of
the switch is stored on the PC. Upload the application to the remote switch through FTP and use the
boot boot-loader command to specify switch.bin as the application for next startup. Reboot the switch
to upgrade the switch application and download the configuration file config.cfg from the switch, thus to
back up the configuration file.
Create a user account on the FTP server with the username switch and password hello.
The IP addresses 1.1.1.1 for a VLAN interface on the switch and 2.2.2.2 for the PC have been
configured. Ensure that a route exists between the switch and the PC.
Use the command...
ftp source-interface
interface-type interface-number
ftp source-ip ip-address
display ftp source-ip
1-8
Remarks
Use either command
Not specified by default
Available in any view

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

4200g 24-port4200g 48-portSwitch 4800g pwr 24-port

Table of Contents