<?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 reboot AireOS APs in Controllers</title>
    <link>https://community.cisco.com/t5/controllers/script-to-reboot-aireos-aps/m-p/4772996#M953</link>
    <description>&lt;P&gt;Thanks. I tried but cannot get into the enable mode of the AP. Note this is for Cisco AP, not WLC, the AP model 9105AXW specifically.&lt;/P&gt;&lt;P&gt;I added secret and enable codes:&lt;/P&gt;&lt;P&gt;import re&lt;BR /&gt;from netmiko import ConnectHandler&lt;/P&gt;&lt;P&gt;with ConnectHandler(&lt;BR /&gt;ip = 'x.x.x.x',&lt;BR /&gt;port = 22,&lt;BR /&gt;username = '',&lt;BR /&gt;password = '',&lt;BR /&gt;&lt;STRONG&gt;secret = '',&lt;/STRONG&gt;&lt;BR /&gt;device_type = 'cisco_wlc_ssh'&lt;BR /&gt;) as ch:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;ch.enable()&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;output = ch.send_command("reload")&lt;/P&gt;&lt;P&gt;When I run this, I got this error on the AP log:&lt;/P&gt;&lt;P&gt;sshd[17053]: error: Could not get shadow information for username.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Fri, 10 Feb 2023 19:04:19 GMT</pubDate>
    <dc:creator>zhenningx</dc:creator>
    <dc:date>2023-02-10T19:04:19Z</dc:date>
    <item>
      <title>Script to reboot AireOS APs</title>
      <link>https://community.cisco.com/t5/controllers/script-to-reboot-aireos-aps/m-p/4771411#M951</link>
      <description>&lt;P&gt;Hello, I am looking for a script to SSH into a list of AireOS APs and issue "reload" command. Anyone has any ideas?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 14:46:57 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/script-to-reboot-aireos-aps/m-p/4771411#M951</guid>
      <dc:creator>zhenningx</dc:creator>
      <dc:date>2023-02-08T14:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: Script to reboot AireOS APs</title>
      <link>https://community.cisco.com/t5/controllers/script-to-reboot-aireos-aps/m-p/4771801#M952</link>
      <description>&lt;P&gt;Try netmiko -&amp;nbsp;&lt;A href="https://ktbyers.github.io/netmiko/docs/netmiko/cisco/cisco_wlc_ssh.html" target="_blank"&gt;https://ktbyers.github.io/netmiko/docs/netmiko/cisco/cisco_wlc_ssh.html&lt;/A&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;import re
from netmiko import ConnectHandler

with ConnectHandler(
    ip = '[ip_address]',
    port = 22,
    username = '[us]',
    password = '[pass',
    device_type = 'cisco_wlc_ssh'
) as ch:

    output = ch.send_command("reload")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 07:10:25 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/script-to-reboot-aireos-aps/m-p/4771801#M952</guid>
      <dc:creator>bigevilbeard</dc:creator>
      <dc:date>2023-02-09T07:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: Script to reboot AireOS APs</title>
      <link>https://community.cisco.com/t5/controllers/script-to-reboot-aireos-aps/m-p/4772996#M953</link>
      <description>&lt;P&gt;Thanks. I tried but cannot get into the enable mode of the AP. Note this is for Cisco AP, not WLC, the AP model 9105AXW specifically.&lt;/P&gt;&lt;P&gt;I added secret and enable codes:&lt;/P&gt;&lt;P&gt;import re&lt;BR /&gt;from netmiko import ConnectHandler&lt;/P&gt;&lt;P&gt;with ConnectHandler(&lt;BR /&gt;ip = 'x.x.x.x',&lt;BR /&gt;port = 22,&lt;BR /&gt;username = '',&lt;BR /&gt;password = '',&lt;BR /&gt;&lt;STRONG&gt;secret = '',&lt;/STRONG&gt;&lt;BR /&gt;device_type = 'cisco_wlc_ssh'&lt;BR /&gt;) as ch:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;ch.enable()&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;output = ch.send_command("reload")&lt;/P&gt;&lt;P&gt;When I run this, I got this error on the AP log:&lt;/P&gt;&lt;P&gt;sshd[17053]: error: Could not get shadow information for username.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2023 19:04:19 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/script-to-reboot-aireos-aps/m-p/4772996#M953</guid>
      <dc:creator>zhenningx</dc:creator>
      <dc:date>2023-02-10T19:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Script to reboot AireOS APs</title>
      <link>https://community.cisco.com/t5/controllers/script-to-reboot-aireos-aps/m-p/4773007#M954</link>
      <description>&lt;P&gt;Never seen that week before, I wonder if that driver is supporting for APs as well as as the WLC?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2023 20:19:41 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/script-to-reboot-aireos-aps/m-p/4773007#M954</guid>
      <dc:creator>bigevilbeard</dc:creator>
      <dc:date>2023-02-10T20:19:41Z</dc:date>
    </item>
  </channel>
</rss>

