Ftp Client Ipv6 Source - H3C S5830V2 Command Reference Manual

Switch series fundamentals
Hide thumbs Also See for S5830V2:
Table of Contents

Advertisement

vpn-instance vpn-instance-name: Specifies the VPN instance to which the FTP server belongs. The
vpn-instance-name argument is a case-sensitive string of 1 to 31 characters. If the FTP server
belongs to the public network, do not specify this option.
dscp dscp-value: Specifies the DSCP value for IPv4 to use in outgoing FTP packets to indicate the
packet transmission priority. The value range is 0 to 63. The default is 0.
source { interface interface-type interface-number | ip source-ip-address }: Specifies the source
address used to establish the FTP connection.
interface interface-type interface-number: Specifies an interface by its type and number. The
device will use the interface's primary IPv4 address as the source address. To establish the
FTP connection successfully, make sure the interface is up and has the primary IPv4 address
configured.
ip source-ip-address: Specifies an IPv4 address. To establish the FTP connection successfully,
make sure this address is the IPv4 address of an interface in up state on the device.
Usage guidelines
This command is only applicable to IPv4 networks.
If no parameters are specified, this command enters the FTP client view without logging in to the FTP
server.
If the server parameters are specified, you are prompted to enter the username and password for
logging in to the FTP server.
Examples
# Log in to the FTP server 192.168.0.211. Use the source IPv4 address of 192.168.0.212 for
outgoing FTP packets.
<Sysname>ftp 192.168.0.211 source ip 192.168.0.212
Press CTRL+C to abort.
Connected to 192.168.0.211 (192.168.0.211).
220 WFTPD 2.0 service (by Texas Imperial Software) ready for new user
User (192.168.0.211:(none)): abc
331 Give me your password, please
Password:
230 Logged in successfully
Remote system type is MSDOS.
ftp>

ftp client ipv6 source

Use ftp client ipv6 source to specify the source IPv6 address for FTP packets sent to the 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 the IPv6 FTP server. The device
automatically selects a source IPv6 address as defined in RFC 3484.
Views
System view
86

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5820v2

Table of Contents