Sftp Configuration Example - H3C S3100-52P Operation Manual

Ssh terminal service
Hide thumbs Also See for S3100-52P:
Table of Contents

Advertisement

Operation Manual – SSH Terminal Service
H3C S3100-52P Ethernet Switch
Table 1-20 Display help information about an SFTP client command
Enter system view
Enter SFTP client view
Display help information
about one or all SFTP
client commands
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
Enter system view
Specify
address for the SFTP
client
Specify a source interface
for the SFTP client
Display the current source
IP address or the IP
address of the source
interface specified for the
SFTP client

1.2.4 SFTP Configuration Example

I. Network requirements
As shown in Figure 1-14:
Suppose SSH-related configuration has been performed on Switch A and Switch
B.
Suppose an SSH user named "abc" with password "hello" already exists.
Switch B serves as an SFTP server, with IP address 10.111.27.91.
Switch A serves as an SFTP client.
Operation
system-view
sftp
host-name }
help [ command-name ]
Operation
system-view
a
source
IP
sftp source-ip ip-address
sftp
interface-type
interface-number
display sftp source-ip
Command
{
host-ip
|
Command
source-interface
1-28
Chapter 1 SSH Terminal Service
Description
Optional
Description
Optional
Optional
Optional
You can execute this
command in any view.

Advertisement

Table of Contents
loading

Table of Contents