Command Reference Guide
3Com Router 3000 Ethernet Family
Command Reference Guide
Error! Reference source not found.Error! Re
f
erence source not found.
3Com Corporation
9-47
Description
Use the sftp source-ip command to specify a source IP address for the packets sent
by the SFTP client. This IP address must be a local IP address.
Use the undo sftp source-ip command to delete the source IP address specified for
the SFTP client. After that, the source IP address of each packet sent by the SFTP
client is the IP address of the interface where the packet is sent out.
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.
Note:
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.
Example
# Use 192.168.0.1 as the source IP address in the packets sent by the SFTP client.
[Router] sftp source-ip 192.168.0.1
9.6 RSH Commands
9.6.1 rsh
Syntax
rsh host [ user username ] command remote-command
View
User View
Parameter
host: IP address or host name of the remote host.
user username: Login user that is allowed to execute the RSH command on the remote
host. If no user is specified, the system name of the router, which is specified using the
sysname command, applies.
command: Sets the command to be executed remotely.
remote-command: The command to be executed on the remote host. The commands
to be supported depend on the operating system running on the RSH server.










