Friday, December 14, 2012

Set Ping/Telnet/SSH/Traceroute source IP address for Cisco router

1. SSH
ip ssh source-interface <interface to use>

2. Telnet
ip telnet source-interface <interface to use>

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

3. ping
ping <ip address> source <ip address / interface to use>

4. 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  *  *  *

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


NetSec Youtube Videos