<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RE: Schedule a script in ExtremeSwitching (EXOS/Switch Engine)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/schedule-a-script/m-p/46766#M11908</link>
    <description>Create Date: Nov 27 2012 10:22PM&lt;BR /&gt;
&lt;BR /&gt;
Hey Arbhatt&lt;BR /&gt;
&lt;BR /&gt;
Yes you can do this using two UPM Profiles.  UPM profiles are scripts that are dynamic.  Here's how to do this for the disable power part you would do the same for enable inline power&lt;BR /&gt;
&lt;BR /&gt;
Create upm profile power_off&lt;BR /&gt;
disable inline power port X&lt;BR /&gt;
.&lt;BR /&gt;
Note that the "." has to be the by itself in the last line&lt;BR /&gt;
&lt;BR /&gt;
Once the profile is built you create and add a timer&lt;BR /&gt;
&lt;BR /&gt;
Create upm timer power_off_Timer&lt;BR /&gt;
config upm timer "power_off_timer" at 11 27 2012 20 00 00 every 86400 (this timer would kick off at 8:00 pm and execute every day. Time is in seconds)&lt;BR /&gt;
&lt;BR /&gt;
This attaches the timer to the profile&lt;BR /&gt;
&lt;BR /&gt;
config upm timer "power_off_timer" profile "power_off"&lt;BR /&gt;
&lt;BR /&gt;
You would do the same thing for the power on just pick a new time.&lt;BR /&gt;
&lt;BR /&gt;
Hope that helps&lt;BR /&gt;
P  (from Paul_Russo)</description>
    <pubDate>Wed, 08 Jan 2014 05:57:00 GMT</pubDate>
    <dc:creator>EtherNation_Use</dc:creator>
    <dc:date>2014-01-08T05:57:00Z</dc:date>
    <item>
      <title>Schedule a script</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/schedule-a-script/m-p/46765#M11907</link>
      <description>Create Date: Nov 26 2012  9:33PM&lt;BR /&gt;
&lt;BR /&gt;
Is there a way I can schedule a script to disable some ports in the night and re-enable them again. I want to reboot a POE device every night.&lt;BR /&gt;
&lt;BR /&gt;
di inline-power port X&lt;BR /&gt;
en inline-power port X&lt;BR /&gt;
&lt;BR /&gt;
This should do it but I am trying to figure out if we can schedule the scripts without using Ridgeline?  (from Arpit_Bhatt)</description>
      <pubDate>Wed, 08 Jan 2014 05:57:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/schedule-a-script/m-p/46765#M11907</guid>
      <dc:creator>EtherNation_Use</dc:creator>
      <dc:date>2014-01-08T05:57:00Z</dc:date>
    </item>
    <item>
      <title>RE: Schedule a script</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/schedule-a-script/m-p/46766#M11908</link>
      <description>Create Date: Nov 27 2012 10:22PM&lt;BR /&gt;
&lt;BR /&gt;
Hey Arbhatt&lt;BR /&gt;
&lt;BR /&gt;
Yes you can do this using two UPM Profiles.  UPM profiles are scripts that are dynamic.  Here's how to do this for the disable power part you would do the same for enable inline power&lt;BR /&gt;
&lt;BR /&gt;
Create upm profile power_off&lt;BR /&gt;
disable inline power port X&lt;BR /&gt;
.&lt;BR /&gt;
Note that the "." has to be the by itself in the last line&lt;BR /&gt;
&lt;BR /&gt;
Once the profile is built you create and add a timer&lt;BR /&gt;
&lt;BR /&gt;
Create upm timer power_off_Timer&lt;BR /&gt;
config upm timer "power_off_timer" at 11 27 2012 20 00 00 every 86400 (this timer would kick off at 8:00 pm and execute every day. Time is in seconds)&lt;BR /&gt;
&lt;BR /&gt;
This attaches the timer to the profile&lt;BR /&gt;
&lt;BR /&gt;
config upm timer "power_off_timer" profile "power_off"&lt;BR /&gt;
&lt;BR /&gt;
You would do the same thing for the power on just pick a new time.&lt;BR /&gt;
&lt;BR /&gt;
Hope that helps&lt;BR /&gt;
P  (from Paul_Russo)</description>
      <pubDate>Wed, 08 Jan 2014 05:57:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/schedule-a-script/m-p/46766#M11908</guid>
      <dc:creator>EtherNation_Use</dc:creator>
      <dc:date>2014-01-08T05:57:00Z</dc:date>
    </item>
    <item>
      <title>RE: Schedule a script</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/schedule-a-script/m-p/46767#M11909</link>
      <description>Create Date: Nov 27 2012 10:51PM&lt;BR /&gt;
&lt;BR /&gt;
That makes sense. Thanks for the information.&lt;BR /&gt;
&lt;BR /&gt;
Any idea when you would use UPM scripts over .xsf scripts?&lt;BR /&gt;
1) If there is no Ridgeline.&lt;BR /&gt;
Any other scenarios?&lt;BR /&gt;
&lt;BR /&gt;
In this case I am using Ridgeline and have a script task schedule for port enable/disable.  (from Arpit_Bhatt)</description>
      <pubDate>Wed, 08 Jan 2014 05:57:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/schedule-a-script/m-p/46767#M11909</guid>
      <dc:creator>EtherNation_Use</dc:creator>
      <dc:date>2014-01-08T05:57:00Z</dc:date>
    </item>
    <item>
      <title>RE: Schedule a script</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/schedule-a-script/m-p/46768#M11910</link>
      <description>Create Date: Nov 28 2012  1:46PM&lt;BR /&gt;
&lt;BR /&gt;
Hello Arbhatt&lt;BR /&gt;
&lt;BR /&gt;
UPM is used for any "scripting" that needs to happen based on an event.  That event can be time as we did here, it could be based on a device using LLDP (for example a phone connects in and you want to move it to a VLAN and set up ACLs and QoS), it could be a user authentication (set a level of ACL or QoS for a certain user) or it can be based on a log message (if event A is seen i the log then do this.  The this is the UPM profile)&lt;BR /&gt;
&lt;BR /&gt;
A script is static and is used for doing something needed on the switch.  For example doing a grep for a variable or executing a series of commands to set up a configuration.  Something that does not need to happen on a regular basis. It is possible to use UPM to launch a script.  There is a script for fdboui where the script used the OUI of the MAC address from the FDB table to tell you which manufacturer is on each port.  I have used UPM to launch that script every hour and post the information to the log which in turn gets sent to a syslog server.&lt;BR /&gt;
&lt;BR /&gt;
Ridgeline is just a central location to manage all of this information from UPM to scripts.  It is the way to deploy a UPM profile to the whole network if needed as an example.&lt;BR /&gt;
&lt;BR /&gt;
Does that help?&lt;BR /&gt;
&lt;BR /&gt;
P  (from Paul_Russo)</description>
      <pubDate>Wed, 08 Jan 2014 05:57:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/schedule-a-script/m-p/46768#M11910</guid>
      <dc:creator>EtherNation_Use</dc:creator>
      <dc:date>2014-01-08T05:57:00Z</dc:date>
    </item>
    <item>
      <title>RE: Schedule a script</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/schedule-a-script/m-p/46769#M11911</link>
      <description>Create Date: Nov 29 2012 12:32AM&lt;BR /&gt;
&lt;BR /&gt;
That's a really good explanation. Thank you so much. I am into static scripting but haven't tried the UPM profiles yet. Now i understand the stuff&lt;BR /&gt;
&lt;BR /&gt;
We have some switches that are still running 12.3.3.6. So I think I can use ELRP to detect loops and then use the event in the log to disable port. Thanks for the information and help.&lt;BR /&gt;
&lt;BR /&gt;
  (from Arpit_Bhatt)</description>
      <pubDate>Wed, 08 Jan 2014 05:57:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/schedule-a-script/m-p/46769#M11911</guid>
      <dc:creator>EtherNation_Use</dc:creator>
      <dc:date>2014-01-08T05:57:00Z</dc:date>
    </item>
    <item>
      <title>RE: Schedule a script</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/schedule-a-script/m-p/46770#M11912</link>
      <description>Create Date: Dec  4 2012 11:41PM&lt;BR /&gt;
&lt;BR /&gt;
Hey Arbhatt&lt;BR /&gt;
&lt;BR /&gt;
if you have 12.5 or later ELRP can do that for you.  If not then yes scripting will help you do disable the port.  I would recommend the new code first as it adds some nice capabilities with a duration versus a permanent disable and the ability to not block uplink or EAPS ports.&lt;BR /&gt;
&lt;BR /&gt;
good luck  (from Paul_Russo)</description>
      <pubDate>Wed, 08 Jan 2014 05:57:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/schedule-a-script/m-p/46770#M11912</guid>
      <dc:creator>EtherNation_Use</dc:creator>
      <dc:date>2014-01-08T05:57:00Z</dc:date>
    </item>
    <item>
      <title>RE: Schedule a script</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/schedule-a-script/m-p/46771#M11913</link>
      <description>Create Date: Dec  6 2012  3:39AM&lt;BR /&gt;
&lt;BR /&gt;
Hey Prusso,&lt;BR /&gt;
&lt;BR /&gt;
Looks like i will have to go for UPM profiles coz Ridgeline did not work v well with scheduling. It does not reboot the devices as expected. Shceduling part of the code for script tasks seems to not work.&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your help.&lt;BR /&gt;
&lt;BR /&gt;
Arpit  (from Arpit_Bhatt)</description>
      <pubDate>Wed, 08 Jan 2014 05:57:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/schedule-a-script/m-p/46771#M11913</guid>
      <dc:creator>EtherNation_Use</dc:creator>
      <dc:date>2014-01-08T05:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: Schedule a script</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/schedule-a-script/m-p/121707#M23198</link>
      <description>&lt;P&gt;For this use case, you don’t necessarily need Ridgeline. You can automate it using a simple script with a scheduler. For example, use a shell or Python script to SSH into the switch, run disable inline-power port X at night, and then enable inline-power port X in the morning. Then schedule it with cron (Linux) or Task Scheduler (Windows).&lt;BR /&gt;&lt;BR /&gt;Some switches also support built-in scheduling features or event-based automation, so it’s worth checking your firmware capabilities as well.&lt;BR /&gt;In setups where you’re managing multiple configurations (kind of like handling different options in a sonic menu), keeping scripts modular and scheduled externally usually gives more flexibility and control.&lt;/P&gt;</description>
      <pubDate>Fri, 01 May 2026 02:56:53 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/schedule-a-script/m-p/121707#M23198</guid>
      <dc:creator>chris88</dc:creator>
      <dc:date>2026-05-01T02:56:53Z</dc:date>
    </item>
  </channel>
</rss>

