88Usages guidelinesIf you execute this command multiple times, the most recent configuration takes effect.The source address specified with the ftp command takes precedence over the source addressspecified with the ftp client source command.The source address specified with the ftp client source command applies to all FTP connections. Thesource address specified with the ftp command applies only to the current FTP connection.Examples# Specify the source IPv4 address of 192.168.20.222 for outgoing FTP packets. system-view[Sysname] ftp client source ip 192.168.20.222Related commandsftpftp ipv6Use ftp ipv6 to log in to an FTP server and enter FTP client view.Syntaxftp ipv6 [ ftp-server [ service-port ] [ vpn-instance vpn-instance-name ] [ dscp dscp-value | source{ ipv6 source-ipv6-address | interface interface-type interface-number } ] * [ -i interface-typeinterface-number ] ]ViewsUser viewPredefined user rolesnetwork-adminParametersftp-server: Specifies the IPv6 address or host name of an FTP server. A host name can be acase-insensitive string of 1 to 253 characters. Valid characters for a host name include letters, digits,hyphens (-), underscores (_), and dots (.).service-port: Specifies the TCP port number of the FTP server, in the range of 0 to 65535. Thedefault value is 21.dscp dscp-value: Specifies the DSCP value for IPv6 to use in outgoing FTP packets to indicate thepacket transmission priority. The value range is 0 to 63. The default is 0.source { ipv6 source-ipv6-address | interface interface-type interface-number }: Specifies thesource address used to establish the FTP connection.• interface interface-type interface-number: Specifies an interface by its type and number. Thedevice will use the interface's IPv6 address as the source address. To establish the FTPconnection successfully, make sure the interface is up and is configured with an IPv6 address.• ipv6 source-ipv6-address: Specifies an IPv6 address. To establish the FTP connectionsuccessfully, make sure this address is the IPv6 address of an interface in up state on thedevice.vpn-instance vpn-instance-name: Specifies the VPN instance to which the FTP server belongs. Thevpn-instance-name argument is a case-sensitive string of 1 to 31 characters. If the FTP serverbelongs to the public network, do not specify this option.-i interface-type interface-number: Specifies an output interface by its type and number. This optioncan be used only when the FTP server address is a link local address and the specified output