992 CHAPTER 80: FTP C ONFIGURATIONc CAUTION:■ The FTP function is available when a route exists between the FTP server andthe FTP client.■ When a device serving as the FTP server logs onto the device using IE, some IEfunctions are not supported because multiple user connections are established,and the device supports only one connection currently.Configuring the FTPClientEstablishing an FTPConnectionTo access an FTP server, the FTP client must connect with it. Two ways are availablefor the connection: using the ftp command to establish the connection directly;using the open command in FTP client view.Multiple routes may exist for the FTP client to successfully access the FTP server.You can specify one by configuring the source address of the packets of the FTPclient to meet the requirement of the security policy of the FTP client. You canconfigure the source address by configuring the source interface or source IPaddress. The primary IP address configured on the source interface is the sourceaddress of the transmitted packets. The source address of the transmitted packetsis selected following these rules:■ If no source address of the FTP client is specified, a device uses the IP address ofthe interface determined by the routing protocol as the source IP address tocommunicate with an FTP server.■ If the source address is specified with the ftp client source or ftp command,this source address is used to communicate with an FTP server.■ If the source address is specified with the ftp client source command andthen with the ftp command, the address specified with the latter one is usedto communicate with an FTP server.The source address specified with the ftp client source command is valid for allftp connections and the source address specified with the ftp command is validonly for the current FTP connection.Follow these steps to establish an FTP connection (In IPv4 networking):To do… Use the command… RemarksEnter system view system-view -Configure the sourceaddress of the FTP clientftp client source { interfaceinterface-type interface-number |ip source-ip-address }OptionalA device uses the IP addressof the interface determinedby the routing protocol as thesource IP address tocommunicate with the FTPserver by default.Exit to system view quit -