<?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 Questions about PnP in Controllers</title>
    <link>https://community.cisco.com/t5/controllers/questions-about-pnp/m-p/3548128#M2946</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hi&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;We &lt;SPAN style="font-size: 13.3333px;"&gt;are running APIC-EM in our LAB environment and I have a few pending issues/questions before going into production.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; text-align: left;"&gt;1. Is there a way to get the entire device configuration using the api? including passwords and snmp information etc.&lt;/P&gt;&lt;H3 style="font-size: 1.1em; color: black; font-family: 'Droid Sans', sans-serif; text-align: left;"&gt;&lt;A href="https://10.226.171.72/swagger#!/network-device-config/getRunningConfigById" target="_blank"&gt;GET&lt;/A&gt; /network-device/{networkDeviceId}/config&lt;/H3&gt;&lt;P style="text-align: left;"&gt;I'm working on a solution to automate the replacement of a deployed switch (in case of RMA) with PnP. In my opinion the best solution would be to allow the API to create a new PnP project using an existing configuration ID from the Inventory (not possible right now). This way I could provision the replacement switch with the exact same configuration using PnP. The other solution is using the API to download the device configuration and upload it again while creating the PnP project. The problem is that the device configuration is missing all the sensible information like passwords and snmp information.&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="font-size: 13.86px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;2. We are using Tacacs on our switches and PnP isn't able to provision a new switch if I don't remove the following statements from the device configuration:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;aaa authentication enable default group **** enable&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;aaa authorization exec default group **** if-authenticated&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;aaa authorization commands 15 default group **** if-authenticated&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Is this problem going to be addressed in the next release?&lt;/P&gt;&lt;P&gt;&lt;SPAN class="path" style="padding: 0 0 0 10px; font-size: 13.86px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;SPAN class="path" style="padding: 0 0 0 10px; font-size: 13.86px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Mar 2019 12:37:13 GMT</pubDate>
    <dc:creator>sw1ft-code</dc:creator>
    <dc:date>2019-03-01T12:37:13Z</dc:date>
    <item>
      <title>Questions about PnP</title>
      <link>https://community.cisco.com/t5/controllers/questions-about-pnp/m-p/3548128#M2946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hi&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;We &lt;SPAN style="font-size: 13.3333px;"&gt;are running APIC-EM in our LAB environment and I have a few pending issues/questions before going into production.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; text-align: left;"&gt;1. Is there a way to get the entire device configuration using the api? including passwords and snmp information etc.&lt;/P&gt;&lt;H3 style="font-size: 1.1em; color: black; font-family: 'Droid Sans', sans-serif; text-align: left;"&gt;&lt;A href="https://10.226.171.72/swagger#!/network-device-config/getRunningConfigById" target="_blank"&gt;GET&lt;/A&gt; /network-device/{networkDeviceId}/config&lt;/H3&gt;&lt;P style="text-align: left;"&gt;I'm working on a solution to automate the replacement of a deployed switch (in case of RMA) with PnP. In my opinion the best solution would be to allow the API to create a new PnP project using an existing configuration ID from the Inventory (not possible right now). This way I could provision the replacement switch with the exact same configuration using PnP. The other solution is using the API to download the device configuration and upload it again while creating the PnP project. The problem is that the device configuration is missing all the sensible information like passwords and snmp information.&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="font-size: 13.86px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;2. We are using Tacacs on our switches and PnP isn't able to provision a new switch if I don't remove the following statements from the device configuration:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;aaa authentication enable default group **** enable&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;aaa authorization exec default group **** if-authenticated&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;aaa authorization commands 15 default group **** if-authenticated&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Is this problem going to be addressed in the next release?&lt;/P&gt;&lt;P&gt;&lt;SPAN class="path" style="padding: 0 0 0 10px; font-size: 13.86px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;SPAN class="path" style="padding: 0 0 0 10px; font-size: 13.86px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2019 12:37:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/questions-about-pnp/m-p/3548128#M2946</guid>
      <dc:creator>sw1ft-code</dc:creator>
      <dc:date>2019-03-01T12:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about PnP</title>
      <link>https://community.cisco.com/t5/controllers/questions-about-pnp/m-p/3548129#M2947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefano,&lt;/P&gt;&lt;P&gt;#1) Not today.&amp;nbsp; This was a deliberate design design due to data confidentiality.&amp;nbsp; GET API only require OBSERVER role.&amp;nbsp; Prime Infrastructure solves this with a privileged API call.&amp;nbsp;&amp;nbsp; We need to address this to implement RMA ourselves.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#2).&amp;nbsp; The first command is fine, is it the second two that cause the issue.&amp;nbsp; This requires IOS change, or there is an EEM script you can use (as part of the config file you download to work around).&amp;nbsp; My blog covers this in detail. &lt;A href="https://community.cisco.com/migration-blogpost/8430"&gt;Network Automation with Plug and Play (PnP) – Part 7&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2017 23:36:57 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/questions-about-pnp/m-p/3548129#M2947</guid>
      <dc:creator>aradford</dc:creator>
      <dc:date>2017-03-22T23:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about PnP</title>
      <link>https://community.cisco.com/t5/controllers/questions-about-pnp/m-p/3548130#M2948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that case I will use the Prime API as a workaround to solve my RMA problem.&lt;/P&gt;&lt;P&gt;Thank you for the suggestion about EEM.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way your blog posts are very helpful!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2017 10:06:45 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/questions-about-pnp/m-p/3548130#M2948</guid>
      <dc:creator>sw1ft-code</dc:creator>
      <dc:date>2017-03-23T10:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about PnP</title>
      <link>https://community.cisco.com/t5/controllers/questions-about-pnp/m-p/3548131#M2949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Franco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let us know if you have other questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2017 21:28:29 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/questions-about-pnp/m-p/3548131#M2949</guid>
      <dc:creator>aradford</dc:creator>
      <dc:date>2017-03-23T21:28:29Z</dc:date>
    </item>
  </channel>
</rss>

