<?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: Script to switch on/off captive portal by script in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/script-to-switch-on-off-captive-portal-by-script/m-p/29572#M21596</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One way would be to schedule an external box connected to your mgmt-interface to issue a XML API command towards your PA (that is a local cronjob issues this box to through XML API change the config and commit on your PA) - but this would add an external dependency.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont know if you can schedule such thing from within PA. Specially since the captive portal isnt setup through a security rule (if im not mistaken) - otherwise it should be able to schedule it that way (that the security rule is only valid a specific time of the day).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 01 Dec 2013 17:21:32 GMT</pubDate>
    <dc:creator>mikand</dc:creator>
    <dc:date>2013-12-01T17:21:32Z</dc:date>
    <item>
      <title>Script to switch on/off captive portal by script</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/script-to-switch-on-off-captive-portal-by-script/m-p/29571#M21595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm still interested in finding a solution to manage my PA500 captive portal feature to switch on and off during certain times of the day.&amp;nbsp; I have heard in another setting that one can switch captive portal on and off from a script.&amp;nbsp; Which commands would such a script include for a safe and 'best practice' enabling and disabling of CP?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once being successful in managing this from a script I assume that it is possible to have these CP on / off scripts run at predetermined times of the day (or even better, somehow link them to a defined schedule).&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank a lot for help on this (for me, important) issue &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards Tor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2013 09:52:55 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/script-to-switch-on-off-captive-portal-by-script/m-p/29571#M21595</guid>
      <dc:creator>LCMember4427</dc:creator>
      <dc:date>2013-11-15T09:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: Script to switch on/off captive portal by script</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/script-to-switch-on-off-captive-portal-by-script/m-p/29572#M21596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One way would be to schedule an external box connected to your mgmt-interface to issue a XML API command towards your PA (that is a local cronjob issues this box to through XML API change the config and commit on your PA) - but this would add an external dependency.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont know if you can schedule such thing from within PA. Specially since the captive portal isnt setup through a security rule (if im not mistaken) - otherwise it should be able to schedule it that way (that the security rule is only valid a specific time of the day).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Dec 2013 17:21:32 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/script-to-switch-on-off-captive-portal-by-script/m-p/29572#M21596</guid>
      <dc:creator>mikand</dc:creator>
      <dc:date>2013-12-01T17:21:32Z</dc:date>
    </item>
  </channel>
</rss>

