ip ssh source-interface <interface to use>
ip telnet source-interface <interface to use>

R1#telnet 22 /source-interface l0
Trying, 22 … Open
SSH-2.0-1.36 sshlib: GlobalScape

for ping:
ping <ip address> source <ip address / interface to use>

for traceroute using extended traceroute:

Protocol [ip]:
Target IP address:
Source address:
Numeric display [n]:
Timeout in seconds [3]:
Probe count [3]:
Minimum Time to Live [1]:
Maximum Time to Live [30]:
Port Number [33434]:
Loose, Strict, Record, Timestamp, Verbose[none]:
Type escape sequence to abort.
Tracing the route to
VRF info: (vrf in name/id, vrf out name/id)
  1  *  *  *

By Jon

One thought on “Set telnet / SSH source IP address for Cisco router”

Leave a Reply