74
source ipv6
source-ipv6-address
: Specifies a source IPv6 address for transmitted FTP packets. This
address must be an IPv6 address that has been configured on the device.
-i
interface-type interface-number
: Specifies an output interface by its type and number. This parameter
can be used only when the FTP server address is a link local address and the specified output interface
has a link local address. For the configuration of link local addresses, see
Layer 3—IP Services
Configuration Guide
.
vpn-instance
vpn-instance-name
: Specifies the MPLS L3VPN the FTP server belongs to. The
vpn-instance-name
argument is a case-sensitive string of 1 to 31 characters. If the FTP server is on the
public network, do not specify this option.
Usage guidelines
This command applies to only IPv6 networks.
If you do not specify any option when you enter this command, you enter FTP client view without logging
in to an FTP server.
Examples
# Log in to the FTP server with IPv6 address 3000::200.
<Sysname> ftp ipv6 3000::200
Trying 3000::200 ...
Press CTRL+K to abort
Connected to 3000::200.
220 Welcome!
User(3000::200:(none)): MY_NAME
331 Please specify the password.
Password:
230 Login successful.
[ftp]
# Log in to the FTP server with IPv6 address 3000::200 in VPN 1.
<Sysname> ftp ipv6 3000::200 vpn-instance vpn1
Trying 3000::200 ...
Press CTRL+K to abort
Connected to 3000::200.
220 Welcome!
User(3000::200:(none)): MY_NAME
331 Please specify the password.
Password:
230 Login successful.
[ftp]
get
Use
get
to download a file from the FTP server.
Syntax
get
remotefile
[
localfile
]
Views
FTP client view