Operation Manual – SSH Terminal Service
H3C S3600 Series Ethernet Switches-Release 1510 Chapter 2
SFTP Service
2-6
Table 2-9 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 [ all | 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 2-10 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.
2.1.4 SFTP Configuration Example
I. Network requirements
As shown in Figure 2-1: an SSH connection is established between SwitchA and
SwitchB. SwitchA, an SFTP client, uses the username client001 and password abc to
login to SwitchB for file management and file transfer.
II. Network diagram
SFTP Server
SwitchB
Vlan-interface
192.168.0.2/2
Vlan-interface1
192.168.0.1/24
SFTP Client
SwitchA
1
4
Figure 2-1 Network diagram for SFTP configuration