Forum Discussion

Ciscoape's avatar
Ciscoape
Icon for Nimbostratus rankNimbostratus
Aug 04, 2023

Rseries SCP OS to appliance from remote server

I'm new to rseries but I need to SCP an OS from a remote server onto the appliance via CLI. Server I am admining from holding OS only allows SCP file transfers out and https is not an option. What is the file path? 

From a admin linux box to r5600 i tried:

"#scp <local F5OS.iso filename>  admin@<r5600  IPaddress>:/system/images/staging"
"#scp <local F5OS.iso filename>  admin@<r5600  IPaddress>:/images/staging"
"#scp <local F5OS.iso filename>  admin@<r5600  IPaddress>:/system/images/import/iso"
"#scp <local F5OS.iso filename>  admin@<r5600  IPaddress>:/images/import/iso"

Each time I get the response "Invalid pathname"

https://techdocs.f5.com/en-us/f5os-a-1-5-0/f5-rseries-systems-administration-configuration/title-system-settings.html discusses it some but does not give me all of the information I need (or water it down enough for me).

Any help is always apprecriated

       

  • Hi Ciscoape,

    /var/import/staging/
    /var/export/chassis/import/iso/

    Can you try with these pathnames?

  • I wonder what is the difference between the two directories? Where should I upload an .iso image for a system upgrade of r5900 appliance?

    • Hi michal-k,

      One is a symbolic link to the other. When you upload an .iso file to one of these directories, it will also appear in the other.

      /var/import/staging/
      /var/export/chassis/import/iso/

       

      • michal-k's avatar
        michal-k
        Icon for Altostratus rankAltostratus

        Thanks a lot for the clarification, this helps..

  • /var/import/staging/

    Defenitly worked. I didn't even need to try the second path. I feel like I need a F5 Docker class.

  • Hi Ciscoape,

    /var/import/staging/
    /var/export/chassis/import/iso/

    Can you try with these pathnames?