4 sftp configuration example, I. network requirements, 4 sftp configuration example -28 – H3C Technologies H3C S3100 Series Switches User Manual
Page 514

Operation Manual – SSH Terminal Service
H3C S3100-52P Ethernet Switch
Chapter 1 SSH Terminal Service
1-28
Table 1-20
Display help information about an SFTP client command
Operation
Command
Description
Enter system view
system-view
—
Enter SFTP client view
sftp
{
host-ip |
host-name
}
—
Display help information
about one or all SFTP
client commands
help
[ command-name ]
Optional
VI. Specifying a source IP address or source interface for the SFTP client
You can use the command here to specify a source IP address or source interface for
the SFTP client, thus enhancing traffic manageability.
Table 1-21
Specify a source IP address/interface for the SFTP client
Operation
Command
Description
Enter system view
system-view
—
Specify a source IP
address for the SFTP
client
sftp source-ip ip-address
Optional
Specify a source interface
for the SFTP client
sftp source-interface
interface-type
interface-number
Optional
Display the current source
IP address or the IP
address of the source
interface specified for the
SFTP client
display sftp source-ip
Optional
You can execute this
command in any view.
1.2.4 SFTP Configuration Example
I. Network requirements
As shown in Figure 1-14:
z
Suppose SSH-related configuration has been performed on Switch A and Switch
B.
z
Suppose an SSH user named "abc" with password "hello" already exists.
z
Switch B serves as an SFTP server, with IP address 10.111.27.91.
z
Switch A serves as an SFTP client.