Ftp Client Source - HP 6125G Command Reference Manual

6125 blade switch series fundamentals command reference
Hide thumbs Also See for 6125G:
Table of Contents

Advertisement

Use undo ftp client ipv6 dscp to restore the default.
By default, IPv6 uses the DSCP value 0 for outgoing FTP packets on an FTP client.
Examples
# Set the DSCP value for IPv6 to use for outgoing FTP packets to 30 on an FTP client.
<Sysname> system-view
[Sysname] ftp client ipv6 dscp 30

ftp client source

Syntax
ftp client source { interface interface-type interface-number | ip source-ip-address }
undo ftp client source
View
System view
Default level
2: System level
Parameters
interface interface-type interface-number: Specifies the source interface for establishing FTP connections.
The primary IP address of the source interface is used as the source IP address of packets sent to an FTP
server. If the source interface has no primary IP address specified, no FTP connection can be established.
ip source-ip-address: Specifies the source IP address of packets sent to an FTP server, which is one of the
IP addresses of the device.
Description
Use ftp client source to specify the source IP address of packets sent to an FTP server.
Use undo ftp client source to restore the default.
By default, the source IP address is the IP address of the output interface of the route to the server is used
as the source IP address.
If you use the ftp client source command to first configure a source interface and then a source IP address,
the source IP address overwrites the source interface, and vice versa.
If you first use the ftp client source command to specify a source IP address and then use the ftp command
to specify another source IP address, the latter is used.
The source IP address specified with the ftp client source command applies to all FTP connections while
the one specified with the ftp command applies to the current FTP connection only.
Related commands: display ftp client configuration.
Examples
# Specify the source IP address of packets sent to an FTP server as 2.2.2.2.
<Sysname> system-view
[Sysname] ftp client source ip 2.2.2.2
# Specify the IP address of interface VLAN-interface 1 as the source IP address of packets sent to an FTP
server.
<Sysname> system-view
67

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125g/xg

Table of Contents