HP VPN Firewall Appliances System Management and Maintenance Command Reference
249
# Use the primary IP address of interface GigabitEthernet 0/1 as the source IP address for outgoing FTP
packets.
<Sysname> system-view
[Sysname] ftp client source interface gigabitethernet 0/1
[Sysname]
Related commands
display ftp client configuration
ftp ipv6
Use ftp ipv6 to log in to an IPv6 FTP server and enter FTP client view.
Syntax
ftp ipv6 [ server-address [ service-port ] [ vpn-instance vpn-instance-name ] [ source ipv6
source-ipv6-address ] [ -i interface-type interface-number ] ]
Views
User view
Default command 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 the chapter on IPv6 basics in
Network Management Configuration Guide.
vpn-instance vpn-instance-name: Specifies the VPN that 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
If no parameters are specified, this command enters the FTP client view without logging in to an FTP
server.
If the FTP server parameters are specified, you also need to enter the username and password for
accessing the FTP server.
Examples
# Log in to the FTP server at 3000::200.
<Sysname> ftp ipv6 3000::200
Trying 3000::200 ...
Press CTRL+K to abort
Connected to 3000::200.
220 Welcome!