Friday, December 14, 2012

Set telnet / SSH source IP address for Cisco router


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


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



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

for traceroute using extended traceroute:

R1#traceroute
Protocol [ip]:
Target IP address: 10.10.10.10
Source address: 10.11.11.11
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 10.10.10.10
VRF info: (vrf in name/id, vrf out name/id)
  1  *  *  *

1 comment:

  1. wonderful issues altogether, you simply won a new reader.
    What would you recommend about your publish that you simply made a few days in the past?

    Any sure?
    My web site ... how to play golf for a living

    ReplyDelete