Command Reference Guide

370ssh-server source-interface 3Com Router 5000 Family and Router 6000 Family
Command Reference
ssh-server source-interface
Purpose Use the ssh-server source-interface command to specify a source
interface, which must be an existing local interface, for the SSH server. After that, the
IP address of the specified interface is used as the source IP address in each packet
sent by the SSH server.
Use the undo ssh-server source-interface command to delete the source
interface specified for the SSH server. After that, the source IP address in each packet
sent by the SSH server is that of the outgoing interface where the packet is sent out.
Syntax ssh-server source-interface interface-type interface-number
undo ssh-server 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 SSH server is the IP
address of the interface where the packet is sent out.
Example Set the source interface for the SSH server to Ethernet 0/0/0.
[Router] ssh-server source-interface Ethernet 0/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 SSH server with the
ssh-server source-interface command or with the ssh-server source-ip
command. If both commands are configured, the one configured later overrides.