352
undo sftp client ipv6 source
Default
An SFTP client uses the IPv6 address of the interface specified by the route of the device to access
the SFTP server.
Views
System view
Default command level
3: Manage level
Parameters
interface
interface-type interface-number
: Specifies a source interface by its type and number.
ipv6
ipv6-address
: Specifies a source IPv6 address.
Usage guidelines
To make sure the SFTP client and the SFTP server can communicate with each other, and to
improve the manageability of SFTP clients in the authentication service, Hewlett Packard Enterprise
recommends that you specify a loopback interface as the source interface.
Examples
# Specify the source IPv6 address of the SFTP client as
2:2::2:2
.
<Sysname> system-view
[Sysname] sftp client ipv6 source ipv6 2:2::2:2
Related commands
display sftp client source
sftp client source
Use
sftp client source
to specify the source IPv4 address or interface of an SFTP client.
Use
undo sftp client source
to remove the configuration.
Syntax
sftp client source
{
interface
interface-type interface-number
|
ip
ip-address
}
undo sftp client source
Default
An SFTP client uses the IP address of the interface specified by the route of the device to access the
SFTP server.
Views
System view
Default command level
3: Manage level
Parameters
interface
interface-type interface-number
: Specifies a source interface by its type and number.
ip
ip-address
: Specifies a source IPv4 address.