Command Reference FTP CLIENT Commands
8.5 ftp-client source-address
Use this command to bind FTP Client with the source IP address of client and use this IP address to
communicate with server. Use the no form of this command to disable source IP address binding.
Use the default form of this command to restore the default setting.
ftp-client source-address {ip-address | ipv6-address}
no ftp-client source-address
By default, the IP address is not bound with the client locally. Instead, it is selected by the route.
Global configuration mode
The default command is used to restore the FTP client setting. Specifically, data connection is in
PASV mode and file transfer BINARY. The client source IP address is not bound.
The following example binds FTP Client with source IP address 192.168.23.236.
Ruijie(config)# ftp-client source-address 192.168.23.236
The following example binds FTP Client with source IP address 2003:0:0:0::2.
Ruijie(config)# ftp-client source-address 2003:0:0:0::2
The following example disables source IP address binding.
Ruijie(config)# no ftp-client source-address
The following example restores the default setting of the FTP Client.
Ruijie(config)# default ftp-client