Wired

last person joined: 10 hours ago 

Bring performance and reliability to your network with the Aruba Core, Aggregation, and Access layer switches. Discuss the latest features and functionality of the ArubaOS-Switch and ArubaOS-CX devices, and find ways to improve security across your network to bring together a mobile first solution.
Expand all | Collapse all

TFTP Not working Aruba 3180M

Jump to Best Answer
This thread has been viewed 52 times
  • 1.  TFTP Not working Aruba 3180M

    Posted Mar 05, 2018 02:23 PM

    Hi,

     

    I am having trouble uploading images via TFTP.

    I have 2 switches on the same broadcast network and set switch_A (ip=10.1.1.1/24 as a tftp server (tft server listen both) and switch_B (ip=10.1.1.2/24 as a tftp client.

    When i execute a:

    copy tftp flash 10.1.1.1 KB_16.02.0008.swi secondary

    i get the following:

    The secondary image will be deleted.

     

    Continue (y/n)? y

    Error in sending rq message.  Exceeded 5 retransmits.

    000M Peer unreachable.

     

    Both switches can ping each other but confused as to why TFTP is failing.



  • 2.  RE: TFTP Not working Aruba 3180M

    Posted Mar 05, 2018 02:25 PM

    Hi kainfs, 

     

    Try with the command "copy tftp flash 10.1.1.1 KB_16_02_0008.swi secondary" - It needs the whole filename.

     

    Justin



  • 3.  RE: TFTP Not working Aruba 3180M

    Posted Mar 05, 2018 02:49 PM

    Hi,

     

    sorry I did type in the full image name originally. I forgot to include it in my original post.

    I've now edited my original post.



  • 4.  RE: TFTP Not working Aruba 3180M

    Posted Mar 05, 2018 03:51 PM

    Any output in the "show log tftp" command?



  • 5.  RE: TFTP Not working Aruba 3180M

    Posted Mar 05, 2018 03:55 PM

    The file name in your original post shows "KB_16.02.0008.swi". 

     

    Can you confirm that you're putting "KB_16_02_0008.swi" as the file name in the tftp command? 

     

    They should be underscores in the file name, not periods.  



  • 6.  RE: TFTP Not working Aruba 3180M

    Posted Mar 06, 2018 02:14 AM

    Hi,

     

    yes they are underscores.

    I should have copied directly from the switch.

    This is the actual command i typed and the resulting output:

     

    Switch_B# copy tftp flash 10.1.1.1 KB_16_02_0008.swi secondary

    The secondary image will be deleted.

    Continue (y/n)? y

    Error in sending rq message.  Exceeded 5 retransmits.

    000M Peer unreachable.



  • 7.  RE: TFTP Not working Aruba 3180M

    Posted Mar 06, 2018 02:58 AM

    The message in the Show log tftp

    states :

    W 03/05/18 14:21:36 00136 tftp: ST1-CMDR: Connection to 10.1.1.1 failed



  • 8.  RE: TFTP Not working Aruba 3180M

    Posted Mar 06, 2018 03:14 AM

    I've now changed the tftp server to listen on the data plane only on Switch_A.

     

    I then run the following on Switch_B:

     

    copy tftp flash 10.1.1.1 KB_16_02_0008.swi secondary

     

    This time I get 000M transport error.

    The tftp log gives:

    W 03/06/18 08:02:36 00132 tftp: ST1-CMDR: RCVD error:1, msg: File not found.

     

    Sh flash on Switch_A shows the image:

    Image             Size (bytes) Date     Version

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

    Primary Image    :33116392 12/22/17 KB.16.04.0011

    Secondary Image  :24407181 07/05/16 KB.16.02.0008

     



  • 9.  RE: TFTP Not working Aruba 3180M

    Posted Mar 06, 2018 03:05 AM

    Would it be possible to show both switch configurations?


    @kainfs wrote:

    Hi,

     

    yes they are underscores.

    I should have copied directly from the switch.

    This is the actual command i typed and the resulting output:

     

    Switch_B# copy tftp flash 10.1.1.1 KB_16_02_0008.swi secondary

    The secondary image will be deleted.

    Continue (y/n)? y

    Error in sending rq message.  Exceeded 5 retransmits.

    000M Peer unreachable.


     



  • 10.  RE: TFTP Not working Aruba 3180M

    Posted Mar 06, 2018 03:22 AM

    @Dobias van Ingenwrote:

    Would it be possible to show both switch configurations?


    @kainfswrote:

    Hi,

     

    yes they are underscores.

    I should have copied directly from the switch.

    This is the actual command i typed and the resulting output:

     

    Switch_B# copy tftp flash 10.1.1.1 KB_16_02_0008.swi secondary

    The secondary image will be deleted.

    Continue (y/n)? y

    Error in sending rq message.  Exceeded 5 retransmits.

    000M Peer unreachable.


     


    Unfortunately i'm not allowed to post config. Is their certian portiosn of the config you are intrested in?



  • 11.  RE: TFTP Not working Aruba 3180M
    Best Answer

    Posted Mar 07, 2018 01:57 PM

    Managed to get this working now by adding "ip authorized-manager" config.

     



  • 12.  RE: TFTP Not working Aruba 3180M

    Posted Mar 07, 2018 02:45 PM

    Glad you were able to get it working.

     

    I was able to verify the command "copy tftp flash  <switch TFTP server IP> flash primary/secondary" also works.



  • 13.  RE: TFTP Not working Aruba 3180M

    Posted 10 days ago
    Hello,

    My question is similar to the original question on this thread.
    In my case, I am trying to backup the IOS image to a tftp server (My PC), but I keep getting the following error message.

    Aruba-Stack-3810M# copy flash tftp 192.168.xx.xx KB_16_01_0009
    033M Error in sending file.  Exceeded max number of retransmits.
    033M Error in sending file.  Exceeded max number of retransmits.
    Operation timed out.
    Aruba-Stack-3810M#

    Please how do I solve this problem?
    Thank you.


    ------------------------------
    obi jessie
    ------------------------------



  • 14.  RE: TFTP Not working Aruba 3180M

    Posted 9 days ago
    Looks like a firewall or file access rights problem on your tftp server. I would first check the logs on the tftp server, then start a packet capture/Wireshark and see what the switch is sending and your tftp server is responding.

    ------------------------------
    Herman Robers
    ------------------------
    If you have urgent issues, always contact your Aruba partner, distributor, or Aruba TAC Support. Check https://www.arubanetworks.com/support-services/contact-support/ for how to contact Aruba TAC. Any opinions expressed here are solely my own and not necessarily that of Hewlett Packard Enterprise or Aruba Networks.
    ------------------------------



  • 15.  RE: TFTP Not working Aruba 3180M

    Posted 9 days ago
    Thank you for responding.

    Sorry I didn't mention the solutions that I have tried.
    1. I checked for firewall issues and didn't find one. 
    2. Checked for network connectivity problems between the switch and tftp server but there didn't seem to be a problem.
    3. I thought that it might be because of the file and tried adjusting the tftp blksize.

    After every attempt at backup, I notice that it registers the name of the target file on the tftp server but is unable to copy the image.
    I only see a 0KB file.
    I am able to upload a more recent version of the IOS image from the tftp server to the switch but can not backup the IOS image currently running in the switch.

    Any reason as to why I can upload files to the switch but can not backup the IOS?


    ------------------------------
    obi jessie
    ------------------------------



  • 16.  RE: TFTP Not working Aruba 3180M

    Posted 9 days ago
    Write permissions?





  • 17.  RE: TFTP Not working Aruba 3180M

    Posted 9 days ago
    I didn't see if you added the primary or secondary to the end of the command, like this:

    Switch(config)# copy flash tftp 10.80.2.181 KB.16.10.0012 primary

    The below snip shows that it copied to my tftp server.



    ------------------------------
    Justin Noonan
    ------------------------------



  • 18.  RE: TFTP Not working Aruba 3180M

    Posted 9 days ago

    I specified the directory to which I want to install the image as shown below but it still didn't solve the problem.
    @Parnassus, 
    I could not verify the file permissions from a show flash command. Please how do I verify this? 


    ------------------------------
    obi jessie
    ------------------------------



  • 19.  RE: TFTP Not working Aruba 3180M

    Posted 9 days ago
    Can you validate your TFTP Server configuration and reachability also from another client placed on the very same subnet?

    ------------------------------
    Davide Poletto
    ------------------------------



  • 20.  RE: TFTP Not working Aruba 3180M

    Posted 9 days ago
    Yes, I can verify that my tftp server configuration is correct and reachable from another client in the network.

    ------------------------------
    obi jessie
    ------------------------------



  • 21.  RE: TFTP Not working Aruba 3180M

    Posted 8 days ago
    So from another TFTP Client (not your Aruba 3810M) you were able to WRITE - upload a file - into your TFTP server without issues?

    ------------------------------
    Davide Poletto
    ------------------------------



  • 22.  RE: TFTP Not working Aruba 3180M

    Posted 6 days ago
    No I have not tried uploading files from one TFTP client to another.

    Since the error message says "033M Error in sending file.  Exceeded max number of retransmits.",
    I was hoping that there would be a way to extend the number of retransmits.
    It may sound naïve but is there a way to do something like that?

    Thank you.


    ------------------------------
    obi jessie
    ------------------------------



  • 23.  RE: TFTP Not working Aruba 3180M

    Posted 5 days ago
    If you see retransmit exceeded, as packet loss on a LAN connection is quite rare I would not expect increasing the retry count to solve anything.

    I personally started to abandon/replace tftp years ago as there were many issues and limitations (The original tftp has a size limitation  of 32MB, and not all tftp servers can transfer files of a significant size). Did you capture the traffic on the tftp server? It can be that there are error messages in the tftp protocol, or the data frames sent are too large and fragmented/dropped.

    In this case, I think sftp (ssh-based) is the only alternative. For firmware uploads to the switch, I find the web UI is also much more reliable.

    ------------------------------
    Herman Robers
    ------------------------
    If you have urgent issues, always contact your Aruba partner, distributor, or Aruba TAC Support. Check https://www.arubanetworks.com/support-services/contact-support/ for how to contact Aruba TAC. Any opinions expressed here are solely my own and not necessarily that of Hewlett Packard Enterprise or Aruba Networks.
    ------------------------------



  • 24.  RE: TFTP Not working Aruba 3180M

    Posted 3 days ago
    Thank you all for the responses.

    I opted for the USB option for the OS and configuration files backup and it worked.
    However, I was unable to restore from the same USB but I could restore from the 
    tftp server so I guess I am good.

    Just one more thing though, I could not find anything regarding the vlan.dat file
    in the switch and on any documents I have seen.
    I know that cisco catalyst makes use of a  vlan.dat file, so I was thinking it would be 
    the same for Aruba switches. I am wrong?
    If so, what is the files the houses the vlan database called and where can I find it in 
    Aruba 3810M?

    Thank you.

    ------------------------------
    obi jessie
    ------------------------------



  • 25.  RE: TFTP Not working Aruba 3180M

    Posted 2 days ago
    Hi Obi, IMHO in approaching the ArubaOS​-Switch operating system you're extrapolating a little bit too much from your Cisco IOS operating system's experience/knowledge. HPE Aruba isn't properly Cisco (and vice-versa). What is architecturally valid for Cisco Catalyst wouldn't be valid too for some or all Aruba switch series.

    Specifically speaking there isn't any vlan.dat file. There isn't any (exposed to user) VLAN Database apart what you define and see on the Switch's running configuration...all you need is a good - properly working - running configuration. To backup (and, consequently, to recover) a Switch's running configuration you need (1) a properly working Switch and (2) a backup of its running configuration (supposing the running configuration was saved as it happens when you execute the write memory CLI command).

    That's what is essentially required in normal operating scenarios.

    ------------------------------
    Davide Poletto
    ------------------------------



  • 26.  RE: TFTP Not working Aruba 3180M

    Posted 2 days ago
    Hello David,

    Thank you for educating me. I know better now.

    After upgrading the OS version from KB.16.09.0006 to KB.16.10.12 for both the primary and secondary OS images,
    I found that I could not return to the previous OS version.

    Is it possible to downgrade the OS version?


    ------------------------------
    obi jessie
    ------------------------------



  • 27.  RE: TFTP Not working Aruba 3180M

    Posted 2 days ago
    Did you read the KB.16.10.0012 Release Notes? didn't you? IIRC there is a note about "downgrading" ArubaOS-Switch operating system version (in terms of recommendations, restrictions and best practices). I personally am not able to see a valid reason to "downgrade" a Switch software once it was successfully upgraded and once it's verified that it is running flawlessly (as I believe it's your case). Is it just an exercise?

    ------------------------------
    Davide Poletto
    ------------------------------



  • 28.  RE: TFTP Not working Aruba 3180M

    Posted 2 days ago
    I didn't initially read the release note but I have now, thank you.
    I asked that question because;
    I backed up the OS to a USB and restored it to the switch from a tftp server (backed up OS does not have the .swi extension as can be seen when downloading from the website). However, when I attempted a boot of the same OS after restoring it, I saw an error message the said something like "it does not contain a signature". But when I install a new version I downloaded from the website, it works, so I thought either downgrading or the absence of the file name extension was the issue.
    And also because we are new to Aruba switch and would like to learn about it as much as possible by first carrying exercises.

    ------------------------------
    obi jessie
    ------------------------------



  • 29.  RE: TFTP Not working Aruba 3180M

    Posted 15 hours ago
    Hello, if I were you I will double check flash file (uploaded from the Switch to a particular location or uploaded to the Switch from a particular location, no matter the "transfer method" used) against its MD5, SHA1 or SHA256 hash values when those are available (published). That way you will be sure that what you have uploaded from (or uploaded to) the Switch matches - on the destination location or on the origin location - the file you're supposing to work with (published).

    ASP -> download SWI file (example from here for KB.16.10.0013) -> check calculated MD5/SHA256 against published MD5/SHA256 hash values -> if calculated hash of downloaded file matches with hash of published files then your downloaded file is AS the published one -> you can use that file and upload it to your Switch to perform an ArubaOS-Switch system software update.

    The same if you want to backup the ArubaOS-Switch operating system image(s) on your device to your PC, once you uploaded the wanted image on your PC, you should verify that uploaded image has the same Hash value of the one published by Aruba on ASP (clearly the considering the very same version)...because we're supposing that that particular image flashed into the Switch was/is/will be exactly equal to the related image you can download from ASP.

    Clearly corruptions can happen during file transfers, on both directions, both for file transfers that is going to happen locally or remotely...but the reason for those corruptions can be reduced to involved tools' incorrect configuration or involved connectivity issues...that's because, doing the check suggested above, you already verified (and eventually excluded) your file(s) against corruptions at the origin/destination as the result of initial file(s) transfer.

    ------------------------------
    Davide Poletto
    ------------------------------