59
View
User view
Default level
3: Manage level
Parameters
server-address
: IP address or host name of the remote FTP server.
service-port
: TCP port number of the FTP server, in the range of 0 to 65535. The default value is 21.
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 L3 VPN that the FTP server belongs to. The
vpn-instance-name
argument is a case-sensitive string of 1 to 31 characters.
Description
Use the
ftp ipv6
command to log in to the FTP server and enter FTP client view.
•
This command applies to IPv6 networks only.
•
If you use this command without specifying any parameters, you will simply enter the FTP client view
without logging in to an FTP server.
•
If you specify the parameters, enter the username and password for accessing the 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.