Command Reference Guide
3Com Router 5000 Family and Router 6000 Family ssh2 source-ip ● 381
Command Reference
ssh2 source-ip
Purpose Use the ssh2 source-ip command to specify a source IP address for the packets
sent by the SSH client. This IP address must be a local IP address.
Use the undo ssh2 source-ip command to delete the source IP address specified
for the SSH client. After that, the source IP address of each packet sent by the SSH
client is the IP address of the interface where the packet is sent out.
Syntax ssh2 source-ip ip-address
undo ssh2 source-ip
Parameters ip-address
Source IP address.
Default By default, the source IP address in each packet sent by the SSH client is the IP address
of the interface where the packet is sent out.
Example Use 192.168.0.1 as the source IP address in the packets sent by the SSH client.
[Router] ftp source-ip 192.168.0.1
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
telnet-server source-interface command or with the telnet-server
source-ip command. If both commands are configured, the one configured later
overrides.