R0106-HP MSR Router Series Security Command Reference(V7)

410
Views
System view
Predefined user roles
network-admin
Parameters
interface interface-type interface-number: Specifies a source interface by its type and number. The SFTP
packets use the longest-matching IPv6 address of the specified interface as their source address.
ipv6 ipv6-address: Specifies a source IPv6 address.
Usage guidelines
If you execute this command multiple times, the most recent configuration takes effect.
This command takes effect on all IPv6 SFTP connections. The source IPv6 address specified in the sftp
ipv6 command takes effect only on the current IPv6 SFTP connection.
If you specify the source IPv6 address both in this command and the sftp ipv6 command, the source IPv6
address specified in the sftp ipv6 command takes effect.
Examples
# Specify the source IPv6 address for SFTP packets 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 for SFTP packets.
Use undo sftp client source to restore the default.
Syntax
sftp client source { interface interface-type interface-number | ip ip-address }
undo sftp client source
Default
The source IP address for SFTP packets is not configured. The SFTP packets use the primary IP address of
the output interface specified in the routing entry as their source IP address.
Views
System view
Predefined user roles
network-admin
Parameters
interface interface-type interface-number: Specifies a source interface by its type and number. The SFTP
packets use the primary IP address of the interface as the source address.
ip ip-address: Specifies a source IPv4 address.