<?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: Update SSID name with a script in Wireless</title>
    <link>https://community.cisco.com/t5/wireless/update-ssid-name-with-a-script/m-p/4615094#M242331</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;- Normally not because the SSID is connected/attached to the WLAN&amp;nbsp; , which would need to be disabled, deleted and or then create a new one with the intended SSID.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;M.&lt;/P&gt;</description>
    <pubDate>Mon, 23 May 2022 06:24:51 GMT</pubDate>
    <dc:creator>Mark Elsen</dc:creator>
    <dc:date>2022-05-23T06:24:51Z</dc:date>
    <item>
      <title>Update SSID name with a script</title>
      <link>https://community.cisco.com/t5/wireless/update-ssid-name-with-a-script/m-p/4615080#M242329</link>
      <description>&lt;P&gt;is if possible to write a script to change SSID to include date? The script will need to be run everyday to include date in SSID.&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 05:32:49 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/update-ssid-name-with-a-script/m-p/4615080#M242329</guid>
      <dc:creator>Utami1151</dc:creator>
      <dc:date>2022-05-23T05:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Update SSID name with a script</title>
      <link>https://community.cisco.com/t5/wireless/update-ssid-name-with-a-script/m-p/4615094#M242331</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;- Normally not because the SSID is connected/attached to the WLAN&amp;nbsp; , which would need to be disabled, deleted and or then create a new one with the intended SSID.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;M.&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 06:24:51 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/update-ssid-name-with-a-script/m-p/4615094#M242331</guid>
      <dc:creator>Mark Elsen</dc:creator>
      <dc:date>2022-05-23T06:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Update SSID name with a script</title>
      <link>https://community.cisco.com/t5/wireless/update-ssid-name-with-a-script/m-p/4615099#M242333</link>
      <description>&lt;P&gt;I don’t have a script for you, but It’s just command execution, so I am sure you can do it, the tricky part will be changing the appending dates with ssid name (variable) everyday at a specific time, which will require some additional libraries and knowledge to work with them.&amp;nbsp;&lt;BR /&gt;just don’t plan to execute the script to WLC over wireless, as mentioned below, you will have to disable the WLAN.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 06:36:17 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/update-ssid-name-with-a-script/m-p/4615099#M242333</guid>
      <dc:creator>Ambuj M</dc:creator>
      <dc:date>2022-05-23T06:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Update SSID name with a script</title>
      <link>https://community.cisco.com/t5/wireless/update-ssid-name-with-a-script/m-p/4615118#M242334</link>
      <description>&lt;P&gt;yeah I can see that there is a CLI command in WLC to change SSID name.&lt;/P&gt;
&lt;P&gt;I'm thinking to write a cron job but not sure how yet.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks anyway&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 07:19:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/update-ssid-name-with-a-script/m-p/4615118#M242334</guid>
      <dc:creator>Utami1151</dc:creator>
      <dc:date>2022-05-23T07:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: Update SSID name with a script</title>
      <link>https://community.cisco.com/t5/wireless/update-ssid-name-with-a-script/m-p/4615131#M242335</link>
      <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/277486"&gt;@Utami1151&lt;/a&gt;&amp;nbsp;take notice that after you change the SSID to contain the date, none of the previously connected clients would be able to autoconnect to it, so a manual intervention would be required by the end-user.&lt;/P&gt;&lt;P&gt;If this is what you are trying to get, somekind of security for a hotel-like deployment, to avoid previous guests to use the "free Wi-Fi" service, that would be a tricky way to accomplish that, and maybe there would be another way to address that in your deployment.&lt;/P&gt;&lt;P&gt;With that been said, I think this piece of script would work for you if using a Catalyst 9800 (maybe missing other libraries that are need):&lt;/P&gt;&lt;PRE&gt;# // Netmiko module for remote connectivity&lt;BR /&gt;from netmiko import ConnectHandler, NetmikoTimeoutException, NetmikoAuthenticationException&lt;BR /&gt;&lt;BR /&gt;# // Get date into the script&lt;BR /&gt;import datetime, timedelta&lt;BR /&gt;&lt;BR /&gt;today = datetime.date.today()&lt;BR /&gt;ssidDate = str(today.strftime("%d%m%Y"))&lt;BR /&gt;# // Replace "Guest" with your own SSID substring that you want to keep&lt;BR /&gt;ssidString = Guest + ssidDate&lt;BR /&gt;&lt;BR /&gt;# // Define Configuration to be entered on c9800&lt;BR /&gt;template="""wlan Guest 99 {ssidString}&lt;BR /&gt;shutdown&lt;BR /&gt;# // As you are only modifying thge broadcasted SSID and not the WLAN profile, there is no need to change anything unless you want to also change the PSK&lt;BR /&gt;no shutdown&lt;BR /&gt;end&lt;BR /&gt;write""".format(ssidString=ssidString)&lt;BR /&gt;&lt;BR /&gt;#// Create c9800 template and replace credentials and IP address&lt;BR /&gt;yourIosWlc = ConnectHandler(&lt;BR /&gt;device_type="cisco_ios",&lt;BR /&gt;ip="10.11.12.13",&lt;BR /&gt;username="admin",&lt;BR /&gt;password="12345678"&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;#// Push the generated config on WLC&lt;BR /&gt;generatedconfig=template.split("\n")&lt;BR /&gt;yourIosWlc.send_config_set(generatedconfig)&lt;BR /&gt;yourIosWlc.disconnect()&lt;/PRE&gt;&lt;P&gt;HTH&lt;BR /&gt;-Jesus&lt;BR /&gt;*** Please rate helpful responses ***&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 07:51:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/update-ssid-name-with-a-script/m-p/4615131#M242335</guid>
      <dc:creator>JPavonM</dc:creator>
      <dc:date>2022-05-23T07:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: Update SSID name with a script</title>
      <link>https://community.cisco.com/t5/wireless/update-ssid-name-with-a-script/m-p/4615132#M242336</link>
      <description>&lt;P&gt;In addition to the previous, for the script to be run everyday, you need to create a scheduled task on Windows or a kron task on Linux to do that.&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 07:53:48 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/update-ssid-name-with-a-script/m-p/4615132#M242336</guid>
      <dc:creator>JPavonM</dc:creator>
      <dc:date>2022-05-23T07:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: Update SSID name with a script</title>
      <link>https://community.cisco.com/t5/wireless/update-ssid-name-with-a-script/m-p/4615831#M242397</link>
      <description>&lt;P&gt;You can run an EEM script to achieve this, you can schedule the EEM using KRON. This allows you to do everything in your WLC itself.&lt;/P&gt;
&lt;P&gt;Sample EEM script in 9800-&amp;nbsp;&lt;A href="https://community.cisco.com/t5/wireless-mobility-documents/automated-backup-ssid-with-eem-on-catalyst-9800-wireless/ta-p/3743838" target="_blank"&gt;Automated Backup SSID with EEM on Catalyst 9800 Wireless Controllers - Cisco Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Considering programming and automation is becoming a must have skill in network management, I would highly recommend to follow&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/324840"&gt;@JPavonM&lt;/a&gt;'s recommendation. There are lot of options available if you want to give a try. As&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/324840"&gt;@JPavonM&lt;/a&gt;&amp;nbsp;mentioned take note of the user friendliness as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 23:45:57 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/update-ssid-name-with-a-script/m-p/4615831#M242397</guid>
      <dc:creator>Arshad Safrulla</dc:creator>
      <dc:date>2022-05-23T23:45:57Z</dc:date>
    </item>
  </channel>
</rss>

