Wired Intelligent Edge (Campus Switching and Routing)

Reply
Highlighted
Occasional Contributor I

TFTP Problems 2530 and 2930F

Hi,

I'm having problems to TFTP image files using a 2530 switch.

My TFTP server is located on another subnet.

If I TFTP from my Cisco switches on the same network, it's working fine.

However, I actually can TFTP configuration files using the 2530.

 

Is this a software bug?

 

----------------------------------------------------------------------------------------

 

HP-2530-8G-PoEP# show system information

Status and Counters - General System Information

System Name : HP-2530-8G-PoEP
System Contact :
System Location :

MAC Age Time (sec) : 300

Time Zone : 0
Daylight Time Rule : None

Software revision : YA.16.05.0004 Base MAC Addr : e0071b-340ca0
ROM Version : YA.15.20 Serial Number : CN68FP53DN

Up Time : 18 hours Memory - Total : 67,108,864
CPU Util (%) : 1 Free : 39,058,240

IP Mgmt - Pkts Rx : 27,512 Packet - Total : 3022
Pkts Tx : 27,407 Buffers Free : 2895
Lowest : 2884
Missed : 0

 

----------------------------------------------------------------------------------------

 

HP-2530-8G-PoEP# copy tftp config new_config.cfg 172.18.20.51 J9774A.cfg
HP-2530-8G-PoEP#

 

HP-2530-8G-PoEP# show config
config
new_config.cfg

 

----------------------------------------------------------------------------------------

 

HP-2530-8G-PoEP# copy tftp flash 172.18.20.51 YA_16_04_0011.swi secondary
The secondary image will be deleted.

Continue (y/n)? y
000M Request failed.
HP-2530-8G-PoEP#

 

HP-2530-8G-PoEP# show log -r
Keys: W=Warning I=Information
M=Major D=Debug E=Error
---- Reverse event Log listing: Events Since Boot ----
W 01/01/90 18:31:15 00137 tftp: Request failed.

 

 

Thanks!

 

Oscar Bengtsson

 


Accepted Solutions
Highlighted
Occasional Contributor I

Re: TFTP Problems 2530 and 2930F

Worked when using tftpd64 on my windows machine, no idea why it doesn't work on Ubuntu.

View solution in original post


All Replies
Highlighted
Guru Elite

Re: TFTP Problems 2530 and 2930F

Is there any logging on the TFTP server?


*Answers and views expressed by me on this forum are my own and not necessarily the position of Aruba Networks or Hewlett Packard Enterprise.*
ArubaOS 8.5 User Guide
InstantOS 8.5 User Guide
Airheads Knowledgebase
Airheads Learning Videos
Remote Access Point Solution Guide
ArubaOS Consolidated Release Notes
ArubaOS 8 ViA VPN Solution Guide
Highlighted
Occasional Contributor I

Re: TFTP Problems 2530 and 2930F

I'm using atftp, the output shows that there is actually being blocks transfered but then it stops. Tried changing block sizes back and forth.

 

Jan 26 11:50:23 KST-LAB-TFTP-SERVER atftpd[2864]: Creating new socket: 172.18.20.51:58760
Jan 26 11:50:23 KST-LAB-TFTP-SERVER atftpd[2864]: Serving YA_16_05_0004.swi to 10.202.0.10:3150
Jan 26 11:50:23 KST-LAB-TFTP-SERVER atftpd[2864]: received RRQ <filename: YA_16_05_0004.swi, mode: octet, blksize: 1416>
Jan 26 11:50:23 KST-LAB-TFTP-SERVER atftpd[2864]: blksize option -> 1416
Jan 26 11:50:23 KST-LAB-TFTP-SERVER atftpd[2864]: sent OACK <blksize: 1416>
Jan 26 11:50:23 KST-LAB-TFTP-SERVER atftpd[2864]: received ACK <block: 0>
Jan 26 11:50:23 KST-LAB-TFTP-SERVER atftpd[2864]: sent DATA <block: 1, size 1416>
Jan 26 11:50:23 KST-LAB-TFTP-SERVER atftpd[2864]: received ACK <block: 1>
Jan 26 11:50:23 KST-LAB-TFTP-SERVER atftpd[2864]: sent DATA <block: 2, size 1416>
Jan 26 11:50:28 KST-LAB-TFTP-SERVER atftpd[2864]: timeout: retrying...
Jan 26 11:50:28 KST-LAB-TFTP-SERVER atftpd[2864]: sent DATA <block: 2, size 1416>
Jan 26 11:50:28 KST-LAB-TFTP-SERVER atftpd[2864]: recvmsg: Connection refused
Jan 26 11:50:28 KST-LAB-TFTP-SERVER atftpd[2864]: tftpd_file.c: 979: recvfrom: Connection refused
Jan 26 11:50:28 KST-LAB-TFTP-SERVER atftpd[2864]: Aborting transfer
Jan 26 11:50:28 KST-LAB-TFTP-SERVER atftpd[2864]: Server thread exiting
Jan 26 11:51:33 KST-LAB-TFTP-SERVER atftpd[2864]: socket may listen on any address, including broadcast

Highlighted
Occasional Contributor I

Re: TFTP Problems 2530 and 2930F

Worked when using tftpd64 on my windows machine, no idea why it doesn't work on Ubuntu.

View solution in original post

Highlighted
New Contributor

Re: TFTP Problems 2530 and 2930F

Hi lads,

 

I ran into a similar problem with my 2930F switches. I am building a zero touch deployment including a firmware update configured via the DHCP options. I ran into the problem that the first three packets of the firmware were transferred and then the switch sent an ICMP Destination Unreachable/Port Unreachable. The switch retries to transfer four times and then aborts and continues to load the configuration file.

 

I have found out that this is only done if the current firmware of the switch matches the firmware to load. Only if the firmware is a different one loading it is successful. Tested with upgrade from version WC.16.07.0003 to WC.16.10.0005.

 

After the switch has booted I am still able to just copy the same firmware over the flash primary without any issues. I am using tftpd-hpa version 5.2+20150808 on ubuntu18.04 LTS.

 

I am posting this here because when analyzing this I stumbled across this thread. I can also thereby confirm that tftpd-hpa is working with the HP switches.

Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: