90
200 Type is Image (Binary)
ftp>
ftp client ipv6 source
Use
ftp client ipv6 source
to specify the source IPv6 address for FTP packets sent to an IPv6 FTP
server.
Use
undo ftp client ipv6 source
to restore the default.
Syntax
ftp client ipv6 source
{
interface
interface-type interface-number
|
ipv6
source-ipv6-address
}
undo
ftp client ipv6 source
Default
No source address is specified for FTP packets sent to an IPv6 FTP server. The device selects a
source IPv6 address as defined in RFC 3484.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
interface
interface-type interface-number
: Specifies an interface by its type and number. The device
will use the interface's IPv6 address as the source address. For successful FTP packet transmission,
make sure the interface is up and is configured with an IPv6 address.
ipv6
source-ipv6-address
: Specifies an IPv6 address. For successful FTP packet transmission,
make sure this address is the IPv6 address of an interface in up state on the device.
Usage guidelines
If you execute this command multiple times, the most recent configuration takes effect.
The source address specified with the
ftp ipv6
command takes precedence over the source address
specified with the
ftp client ipv6 source
command.
The source address specified with the
ftp client ipv6 source
command applies to all FTP
connections. The source address specified with the
ftp
ipv6
command applies only to the FTP
connection that is being established.
Examples
# Specify the source IPv6 address of 2000::1 for FTP packets sent to an IPv6 FTP server.
<Sysname> system–view
[Sysname] ftp client ipv6 source ipv6 2000::1
Related commands
ftp ipv6
ftp client source
Use
ftp client source
to specify the source IPv4 address for outgoing FTP packets.
Use
undo ftp client source
to restore the default.