10-27-2005 04:35 AM - edited 03-03-2019 12:35 AM
Normally when you telnet or tftp from a router, it sources the traffic with the exiting interface. Is there a way to change this default behavior so that you can source it from another interface like, for example, the way you can with ping and traceroute? I was hoping there was some kind of global command that did this.
10-27-2005 04:52 AM
Enrique
There is not a single global command that will establish the source address. But there are a number of application specific commands that can do this. For example you can use these commands for the various applications:
ip domain lookup source-interface
ip ftp source-interface
ip flow-export source
ip ssh source-interface
ip tftp source-interface
ip telnet source-interface
ip tacacs source-interface
logging source-interface
ntp source
snmp-server trap-source
There probably are some others but these are the ones I could easily think of.
HTH
Rick
10-30-2005 07:03 PM
Hi
As already well pointed out by Rick,for telenting purpose you can also make use of the following command to select/opt the source interface.
PE1#telnet 10.1.1.2 /source-interface gigabitEthernet 1/1
regds
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide