08-11-2009 06:40 AM - edited 03-06-2019 07:11 AM
Team,
are there any IOS commands that can be used to stop/kill/halt IOS image transfer via TFTP ?
thanks
Solved! Go to Solution.
08-11-2009 09:34 AM
If you are telneting to that device via the port you are planning to shut down, you need to be careful thus I understand your concern :)
If the key combination isn't working as suggested, you can apply an ACL to the interface facing the TFTP server.
ip access-list extended KILL-TFTP
deny udp any eq 69 any
permit ip any any
interface xxx
ip access-group KILL-TFTP in
HTH,
__
Edison.
08-11-2009 07:02 AM
Have you tried Ctrl-^ ( = Ctrl Shift 6).
HTH,
jerry
01-28-2021 08:13 PM
this works for me. great.
06-10-2022 12:39 AM
thanks ... ctrl shift 6 works like a charm
08-11-2009 07:05 AM
IF you are already telnetting in during the transfer and see the transfer on the screen, use CTRL+SHIFT+6+X (= CTRL^X)
If you are not seing the transfer and it happens on someone else's Telnet window, then you can telnet to the router and flap the interface with shut/ no shut to kill it
08-11-2009 07:26 AM
i did tried ctrl+z and CTRL+SHIFT+6+X few times, with no luck.
is there any other way other than shut/no shut the port?
thanks
08-11-2009 08:17 AM
How about killing the TFTP server daemon?
Regards,
jerry
08-11-2009 06:31 PM
i do have tftp server access and it is a UNIX box. not sure how to kill tftp job using UNIX command and of course it is out of this forum's scope.
08-12-2009 05:13 AM
You can edit the file /etc/inetd.conf or /etc/inet/inetd.conf, and comment out the following line like this
#tftp dgram udp wait root /usr/sbin/tcpd in.tftpd
Then restart the inetd like this
pkill -HUP inetd
HTH,
jerry
08-11-2009 09:22 AM
telnet to the router from another window and bounce the link, if you dont have access to the TFTP server itself.
08-11-2009 09:34 AM
If you are telneting to that device via the port you are planning to shut down, you need to be careful thus I understand your concern :)
If the key combination isn't working as suggested, you can apply an ACL to the interface facing the TFTP server.
ip access-list extended KILL-TFTP
deny udp any eq 69 any
permit ip any any
interface xxx
ip access-group KILL-TFTP in
HTH,
__
Edison.
08-11-2009 04:04 PM
i personally find most pc does not work with Ctrl-^X or Ctrl-z.. i often use Ctrl-6 and it works.
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