ExtremeSwitching (EXOS)

 View Only
  • 1.  Space for scripts

    Posted 03-08-2014 18:07

    new Extreme switches have a lot of RAM.
    Now we can download xsf scripts to the flash,
    but it is possible to use linux tmpfs -> /dev/shm (for example 20 MB)
    This could be useful when you need to download some dynamic scripts.

    Is it possible to add this to EXOS?


  • 2.  RE: Space for scripts

    Posted 03-09-2014 16:29
    YES, you should able to trasnfer the file. I have tried using filezilla as well and I was able to transfer XSF files successfully.

  • 3.  RE: Space for scripts

    Posted 03-09-2014 18:16

    sorry for my above description.
    I try to clarify what I mean.
    Now, it is not possible to get access to /dev/shm on EXOS to download scripts
    (to Extreme RAM), is there any chance to make it as a feature request ?


  • 4.  RE: Space for scripts

    Posted 03-09-2014 23:38
    administrator@ubuntuServer-TAC1:~$ sftp admin@" target="_blank" rel="nofollow noreferrer noopener">admin@

    Keyboard-interactive authentication

    Enter password for admin:

    Connected to

    sftp> put /home/administrator/combined-switch1.pol

    Uploading /home/administrator/combined-switch1.pol to /config/combined-switch1.pol

    /home/administrator/combined-switch1.pol 100% 144KB 143.7KB/s 00:00


    EXOS will store the config file under the /config/ folder.

    I am using SFTP(OpenSSH_5.9p1) to upload the ".POL" file on switch. I would say in similay way you may also upload it.

    Let me this is what you want.

  • 5.  RE: Space for scripts

    Posted 03-10-2014 00:35

    What would be the point of having a volatile file system to store scripts? You would have to remotely reload any scripts you wanted to use every time you rebooted a switch.

    Regards, Daniel

  • 6.  RE: Space for scripts

    Posted 03-10-2014 10:17
    Hi Sumit and Daniel ,

    thank you for your answers.

    Daniel I know that, and I need that :)
    What I want to achieve:

    1) after reload/reboot, switch will download a script after 5 minutes
    2) upm will check every 10-15 minutes tftp server for new script, and load it


  • 7.  RE: Space for scripts

    Posted 03-10-2014 11:22
    You can do that today without a volatile file system, although I understand the concern about the proliferation of scripts in Flash...

    What is it exactly that you would like to accomplish with these scripts? Just curious...

    Regards, Daniel

  • 8.  RE: Space for scripts

    Posted 03-10-2014 12:38
    We use ip-security functions like arp validation and dhcp-snooping,
    after restart/reboot ip-security and arp tables are empty.
    This produce many logs like 'ARP violation' etc.. and all devices don't have network access,
    until they get IP from DHCP.
    Scripts use many lines of " conf ip-security dhcp-bindings add ...".

    Second thing EXOS 15.X has a bug/feature 😉 in ip-security function,
    that forces us to do "conf ip-security dhcp-bindings del then add..." by hand
    or "conf ip-security dhcp-bindings del and "wait when the device discover/renew IP address from DHCP.

    We wait when our partner will reopen the TAC case.