Space for scripts


Userlevel 3
Hi,

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?

--
Jarek

8 replies

Userlevel 4
YES, you should able to trasnfer the file. I have tried using filezilla as well and I was able to transfer XSF files successfully.
Userlevel 3
Hi,

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 ?

--
Jarek
Userlevel 4
administrator@ubuntuServer-TAC1:~$ sftp admin@10.67.73.65

Keyboard-interactive authentication

Enter password for admin:

Connected to 10.67.73.65.

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

sftp>

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.
Userlevel 6
Jarek,

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
Userlevel 3
dflouret wrote:

Jarek,

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

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

Regards
--
Jarek
Userlevel 3
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

Regards
--
Jarek
Userlevel 6
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
Userlevel 3
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.

Regards.
--
Jarek

Reply