Command Reference Guide

340sftp source-interface 3Com Router 5000 Family and Router 6000 Family
Command Reference
sftp source-interface
Purpose Use the sftp source-interface command to specify a source interface, which
must be an existing local interface, for the SFTP client. After that, the IP address of the
specified interface is used as the source IP address in each packet sent by the SFTP
client.
Use the undo sftp source-interface command to delete the source interface
specified for the SFTP client. After that, the source IP address in each packet sent by
the SFTP client is that of the outgoing interface where the packet is sent out.
Syntax sftp source-interface interface-type interface-number
undo sftp source-interface
Parameters interface-type
interface-number
Specifies an interface by its type and number.
Default By default, the source IP address in each packet sent by the SFTP client is the IP
address of the interface where the packet is sent out.
Example Set the source interface for the SFTP client to ethernet0/0/0.
[Router] sftp source-interface ethernet0/0/0
View This command can be used in the following views:
System view
Description You may specify a source IP address for the packets sent by the Telnet server with the
sftp source-interface command or with the sftp source-ip command. If
both commands are configured, the one configured later overrides.