1-16
Description
Use the
ftp source-ip
command to specify the source IP address of that the switch uses every time it
connects to an FTP server, and the configuration will be saved to the configuration file of the system.
The value of argument
ip-address
must be an IP address on the device where the configuration is
performed. Otherwise, a prompt appears to show the configuration fails.
Use the
undo ftp source-ip
command to cancel the source IP address setting.
By default, the switch uses the IP address of the outbound interface in the local routing table as the
source IP address for connecting to an FTP server. The destination of the outbound interface is the
subnet where the FTP server resides.
Examples
# Specify 192.168.0.1 as the source IP address that the switch uses every time it connects to an FTP
server.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] ftp source-ip 192.168.0.1
get
Syntax
get
remotefile
[
localfile
]
View
FTP client view
Parameters
remotefile
: Name of a file to be downloaded.
localfile
: File name used when a file is downloaded and saved to the local device. If this argument is not
specified, the source file name is used when a file is saved and downloaded to the local device.
Description
Use the
get
command to download a remote file and save it as a local file.
When using the
get
command to download files from a remote FTP server, note to limit the length of file
path and file name within the following ranges:
z
A directory name should be no more than 91 characters.
z
A file name plus its local path name should be no more than 127 characters.
z
A device name should be no more than 14 characters.
z
A file name plus its complete path name should be no more than 142 characters.
Summary of Contents for 5500-EI PWR
Page 43: ...2 6...
Page 76: ...1 17...
Page 228: ...ii stp transmit limit 1 44 vlan mapping modulo 1 45 vlan vpn tunnel 1 46...
Page 477: ...5 24 Sysname vlan 2 Sysname vlan2 service type multicast...
Page 503: ...2 3 System View return to User View with Ctrl Z Sysname dot1x url http 192 168 19 23...
Page 519: ...iii...
Page 597: ...2 2 security policy server 192 168 0 1 user name format without domain...
Page 648: ...1 9 Examples Clear static ARP entries Sysname reset arp static...
Page 663: ...4 3 Sysname resilient arp interface vlan interface 2...
Page 767: ...1 28 From 12 00 Jan 1 2008 to 12 00 Jun 1 2008...
Page 1111: ...ii xmodem get 3 18...
Page 1314: ...A 44 Z...