Downloading to SwitchError: Failed to download image - tftp: timeout

  • 0
  • 1
  • Question
  • Updated 3 years ago
  • Answered
Hello, Good morning.

If I have connectivity between the switch and tftp server(tftp32), why I get that message? what Im doing wrong?
Photo of Hermes Medina

Hermes Medina

  • 206 Points 100 badge 2x thumb

Posted 4 years ago

  • 0
  • 1
Photo of PARTHIBAN CHINNAYA

PARTHIBAN CHINNAYA, Alum

  • 4,382 Points 4k badge 2x thumb
i understand you can ping the switch from the server.
could you see request coming to switch.
Sometimes it turns out to be a tftp server problem.
Two TFTP severs in the same machine cause conflict and doesnt work.
Can you try from a different machine.
can you provide access?
Photo of PARTHIBAN CHINNAYA

PARTHIBAN CHINNAYA, Alum

  • 4,382 Points 4k badge 2x thumb
instead of downloading an image to the switch.
could you check if you can backup the config via TFTP.
this can help in isolating problem.
Also whats the model number of switch and exos version ur loading.
Photo of Stephen Elliott

Stephen Elliott

  • 1,244 Points 1k badge 2x thumb

don't forget to specify the default-VR if you're not using the Mgmt VR.

download image x.x.x.x vr vr-default <filename>

Photo of Hermes Medina

Hermes Medina

  • 206 Points 100 badge 2x thumb
Thank you I will try that :)
Photo of PARTHIBAN CHINNAYA

PARTHIBAN CHINNAYA, Alum

  • 4,382 Points 4k badge 2x thumb
Tftp put/get  command to backup config.
Photo of Alexandr P

Alexandr P, Embassador

  • 12,768 Points 10k badge 2x thumb
Hi!

First of all - you have to see ping between switch and tftp-server.
Also you can try to upgrade image through BootRom.
 1) Go to BootRom
2) Connect PC with working TFTP-server to management port :       
      configip ipaddress <ipaddress/mask> gateway <ipaddress>
{NOTE: gateway ipaddress is TFTP server}
3) Input: showip (or ping PC)
4) Input in CLI: download image <ipaddress> <filename>
{NOTE: ipaddress - TFTP server; filename - XOS image}
5) Apply to default reset.

In this case you'l see - is tftp-server working fine.

Or other case try to reopen tftpd32.

Thank you!
Photo of Hermes Medina

Hermes Medina

  • 206 Points 100 badge 2x thumb
About your questions.

Yes, I can ping from the switch to the server.

I cant save my config file to the server neither, it said:
"Uploading test.cfg to 192.168.1.10 ... failed!
Error: Network is unreachable"

Switch model X440-48p and the exos version that Im trying to download is summitX-15.6.2.12.xos

Thank you for your time!
Photo of PARTHIBAN CHINNAYA

PARTHIBAN CHINNAYA, Alum

  • 4,382 Points 4k badge 2x thumb
connect a pc directly to the mgmt port and check if it works.
Photo of Hermes Medina

Hermes Medina

  • 206 Points 100 badge 2x thumb
no it doesnt 
Photo of Alice Grandi

Alice Grandi

  • 274 Points 250 badge 2x thumb
Also checking the messages in the tftp packets exchanged between the switch and the server can be very useful to help you find the problem, you can use a software like Wireshark or similar to do this...
Photo of Hermes Medina

Hermes Medina

  • 206 Points 100 badge 2x thumb
Also, my tftp server didnt receive the request from the switch.
I just used Windows tftp client (on the same laptop) to get a file from the tftp server and it works
Photo of PARTHIBAN CHINNAYA

PARTHIBAN CHINNAYA, Alum

  • 4,382 Points 4k badge 2x thumb
could you try restarting tftpd process in the switch.
restart process tftpd 
Photo of Hermes Medina

Hermes Medina

  • 206 Points 100 badge 2x thumb
Doesnt work :(
Photo of Alexandr P

Alexandr P, Embassador

  • 12,768 Points 10k badge 2x thumb
Which command you use to download image?

Thank you!
Photo of Hermes Medina

Hermes Medina

  • 206 Points 100 badge 2x thumb
X440-48p.22 # download image 192.168.1.10 summitX-15.6.2.12.xos "VR-Mgmt"
Photo of Alexandr P

Alexandr P, Embassador

  • 12,768 Points 10k badge 2x thumb
#show vlan
#ping vr "VR-Mgmt" 192.168.1.10

what exacly message you have after 
# download image 192.168.1.10 summitX-15.6.2.12.xos "VR-Mgmt"
Photo of Hermes Medina

Hermes Medina

  • 206 Points 100 badge 2x thumb
X440-48p.25 # show vlan---------------------------------------------------------------------------------------------
Name            VID  Protocol Addr       Flags                       Proto  Ports  Virtual
                                                                            Active router
                                                                            /Total
---------------------------------------------------------------------------------------------
Default         1    --------------------------------T--------------- ANY    0 /48  VR-Default
Mgmt            4095 192.168.1.20   /24  ---------------------------- ANY    1 /1   VR-Mgmt
---------------------------------------------------------------------------------------------
Flags : (B) BFD Enabled, (c) 802.1ad customer VLAN, (C) EAPS Control VLAN,
        (d) Dynamically created VLAN, (D) VLAN Admin Disabled,
        (e) CES Configured, (E) ESRP Enabled, (f) IP Forwarding Enabled,
        (F) Learning Disabled, (i) ISIS Enabled, (I) Inter-Switch Connection VLAN for MLAG,
        (k) PTP Configured, (l) MPLS Enabled, (L) Loopback Enabled,
        (m) IPmc Forwarding Enabled, (M) Translation Member VLAN or Subscriber VLAN,
        (n) IP Multinetting Enabled, (N) Network Login VLAN, (o) OSPF Enabled,
        (O) Flooding Disabled, (p) PIM Enabled, (P) EAPS protected VLAN,
        (r) RIP Enabled, (R) Sub-VLAN IP Range Configured,
        (s) Sub-VLAN, (S) Super-VLAN, (t) Translation VLAN or Network VLAN,
        (T) Member of STP Domain, (v) VRRP Enabled, (V) VPLS Enabled, (W) VPWS Enabled,
        (Z) OpenFlow Enabled

Total number of VLAN(s) : 2


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

* X440-48p.27 # ping vr "VR-Mgmt" 192.168.1.10
Ping(ICMP) 192.168.1.10: 4 packets, 8 data bytes, interval 1 second(s).
16 bytes from 192.168.1.10: icmp_seq=0 ttl=128 time=0.733 ms
16 bytes from 192.168.1.10: icmp_seq=1 ttl=128 time=9.516 ms
16 bytes from 192.168.1.10: icmp_seq=2 ttl=128 time=9.407 ms
16 bytes from 192.168.1.10: icmp_seq=3 ttl=128 time=10 ms

--- 192.168.1.10 ping statistics ---
4 packets transmitted, 4 packets received, 0% loss
round-trip min/avg/max = 0/7/10 ms

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

X440-48p.28 # download image 192.168.1.10 summitX-15.6.2.12.xos "VR-Mgmt"Note: The inactive partition (secondary) will be used for installation.
Do you want to install image after downloading? (y - yes, n - no, <cr> - cancel) Yes

Downloading to SwitchError: Failed to download image - tftp: timeout
Photo of Hermes Medina

Hermes Medina

  • 206 Points 100 badge 2x thumb
I made a new config, for management port:

configure vlan Mgmt ipaddress 192.168.1.20 255.255.255.0
#
configure iproute add default 192.168.1.10 vr VR-Mgmt

and now I can ping from the server but not backwards. In fact I cant ping to 192.168.1.10 nor 192.168.1.20 from the switch.
Photo of Alexandr P

Alexandr P, Embassador

  • 12,768 Points 10k badge 2x thumb
1. Can you try to use another PC with tftp-server?
2. Can you try to download image through VR-Default?
3. Can you try to upgrade image through BootRom?
Photo of Drew C.

Drew C., Community Manager

  • 40,858 Points 20k badge 2x thumb
You mentioned that you're using Windows.  Is the windows firewall causing these problems?  You may want to turn it off temporarily if you haven't tried that already.
Photo of Reid Knuttila

Reid Knuttila

  • 170 Points 100 badge 2x thumb
Can I configure XOS to have a VR that it always uses when TFTP downloading images, so that when I have Netsight tell it to download an image it knows to use, for example, VR-Mgmt?
Photo of craymond

craymond

  • 608 Points 500 badge 2x thumb
Custom VRs are only allowed in certain Extreme Switches (you would have to check the manuals, but I think it is the high end only (x460, x670, BDs etc...) If you are using netsight to download images I would recommend using the scripts that are provided. In Inventory manager you select the MIB override method (right click) and select script. Then you select the script that you need for your switch, (SCP or TFTP , VR-Default or VR-Mgmt)