<?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: ZTP and Python - Downloading Configs in Controllers</title>
    <link>https://community.cisco.com/t5/controllers/ztp-and-python-downloading-configs/m-p/3874719#M1883</link>
    <description>Hi&lt;BR /&gt;&lt;BR /&gt;You can use Cisco APIC-EM (free) to push all configs on your switches. &lt;BR /&gt;Some references:&lt;BR /&gt;&lt;A href="https://developer.cisco.com/site/network-plug-n-play/" target="_blank"&gt;https://developer.cisco.com/site/network-plug-n-play/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.cisco.com/t5/automation-and-analytics/apic-em-zero-touch-deployment-api-manual/td-p/3427616" target="_blank"&gt;https://community.cisco.com/t5/automation-and-analytics/apic-em-zero-touch-deployment-api-manual/td-p/3427616&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.cisco.com/c/en/us/td/docs/solutions/Enterprise/Plug-and-Play/software/guide/pnp_apic_em_config_guide_rel1_3_x/pnp_apic_em_config_guide_chapter_01.html" target="_blank"&gt;https://www.cisco.com/c/en/us/td/docs/solutions/Enterprise/Plug-and-Play/software/guide/pnp_apic_em_config_guide_rel1_3_x/pnp_apic_em_config_guide_chapter_01.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This part is to push all configs. Now to prepare them, you can use a Python script with Jinja library. This will build a full config you can import into startup.&lt;BR /&gt;&lt;BR /&gt;It's not mandatory to user apic-em to push them but if you start with Python it could help.&lt;BR /&gt;&lt;BR /&gt;For the Python and Jinja part, sure you got responses of you google it. It's not very difficult.</description>
    <pubDate>Tue, 18 Jun 2019 02:33:31 GMT</pubDate>
    <dc:creator>Francesco Molino</dc:creator>
    <dc:date>2019-06-18T02:33:31Z</dc:date>
    <item>
      <title>ZTP and Python - Downloading Configs</title>
      <link>https://community.cisco.com/t5/controllers/ztp-and-python-downloading-configs/m-p/3874490#M1882</link>
      <description>&lt;P&gt;Need to deploy hundreds of Cat 9300 switches and I am trying to automate configuration generation as well as configuration deployment. I am reading about ZTP (zero touch provision) for the config deployment. I am not interested in sending individual cli.configure commands through the Python script but would rather download an entire configuration from a TFTP server and then just load it into the startup configuration.&lt;BR /&gt;&lt;BR /&gt;I have no idea what this Python script would look like or how each switch will know which config it needs to retrieve (they will be named by hostname most likely). Any suggestion or links would be greatly appreciated!&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2019 18:17:12 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/ztp-and-python-downloading-configs/m-p/3874490#M1882</guid>
      <dc:creator>ehayric1320</dc:creator>
      <dc:date>2019-06-17T18:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: ZTP and Python - Downloading Configs</title>
      <link>https://community.cisco.com/t5/controllers/ztp-and-python-downloading-configs/m-p/3874719#M1883</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;You can use Cisco APIC-EM (free) to push all configs on your switches. &lt;BR /&gt;Some references:&lt;BR /&gt;&lt;A href="https://developer.cisco.com/site/network-plug-n-play/" target="_blank"&gt;https://developer.cisco.com/site/network-plug-n-play/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.cisco.com/t5/automation-and-analytics/apic-em-zero-touch-deployment-api-manual/td-p/3427616" target="_blank"&gt;https://community.cisco.com/t5/automation-and-analytics/apic-em-zero-touch-deployment-api-manual/td-p/3427616&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.cisco.com/c/en/us/td/docs/solutions/Enterprise/Plug-and-Play/software/guide/pnp_apic_em_config_guide_rel1_3_x/pnp_apic_em_config_guide_chapter_01.html" target="_blank"&gt;https://www.cisco.com/c/en/us/td/docs/solutions/Enterprise/Plug-and-Play/software/guide/pnp_apic_em_config_guide_rel1_3_x/pnp_apic_em_config_guide_chapter_01.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This part is to push all configs. Now to prepare them, you can use a Python script with Jinja library. This will build a full config you can import into startup.&lt;BR /&gt;&lt;BR /&gt;It's not mandatory to user apic-em to push them but if you start with Python it could help.&lt;BR /&gt;&lt;BR /&gt;For the Python and Jinja part, sure you got responses of you google it. It's not very difficult.</description>
      <pubDate>Tue, 18 Jun 2019 02:33:31 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/ztp-and-python-downloading-configs/m-p/3874719#M1883</guid>
      <dc:creator>Francesco Molino</dc:creator>
      <dc:date>2019-06-18T02:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: ZTP and Python - Downloading Configs</title>
      <link>https://community.cisco.com/t5/controllers/ztp-and-python-downloading-configs/m-p/3874829#M1884</link>
      <description>&lt;P&gt;Don't forget to look at&amp;nbsp;CSCvo75523.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2019 07:49:49 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/ztp-and-python-downloading-configs/m-p/3874829#M1884</guid>
      <dc:creator>Leo Laohoo</dc:creator>
      <dc:date>2019-06-18T07:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: ZTP and Python - Downloading Configs</title>
      <link>https://community.cisco.com/t5/controllers/ztp-and-python-downloading-configs/m-p/3875070#M1885</link>
      <description>&lt;P&gt;Thank you very much. Yes I have already put something together using Ansible + JIinja for generating the configs.&lt;BR /&gt;&lt;BR /&gt;So will the APIC-EM automatically hand out a device IP like ZTP? We first need to get the switches online and given an IP from our lab environment where the APIC-EM vm will be installed I guess.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2019 13:03:46 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/ztp-and-python-downloading-configs/m-p/3875070#M1885</guid>
      <dc:creator>ehayric1320</dc:creator>
      <dc:date>2019-06-18T13:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: ZTP and Python - Downloading Configs</title>
      <link>https://community.cisco.com/t5/controllers/ztp-and-python-downloading-configs/m-p/3877081#M1886</link>
      <description>Apic will need to know about serial Numbers and your devices will be connected to any port getting an io through a dhcp server with a dedicated option to let him know what is the ip of the apic-em server</description>
      <pubDate>Thu, 20 Jun 2019 20:58:42 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/ztp-and-python-downloading-configs/m-p/3877081#M1886</guid>
      <dc:creator>Francesco Molino</dc:creator>
      <dc:date>2019-06-20T20:58:42Z</dc:date>
    </item>
  </channel>
</rss>

