<?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 ZTP - guesthell does not load after loading startup script in Controllers</title>
    <link>https://community.cisco.com/t5/controllers/ztp-guesthell-does-not-load-after-loading-startup-script/m-p/4483561#M2328</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would you like to enter the initial configuration dialog? [yes/no]:&lt;BR /&gt;Loading 9K/python_script.py from 10.15.255.52 (via Vlan990): !&lt;BR /&gt;[OK - 8646 bytes]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If I use the debug from my tftpd server I get this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Connection received from 10.242.67.27 on port 52391 [14/10 13:03:34.105]
Read request for file &amp;lt;python_script.py&amp;gt;. Mode octet [14/10 13:03:34.106]
OACK: &amp;lt;blksize=8192,&amp;gt; [14/10 13:03:34.106]
Using local port 49808 [14/10 13:03:34.106]
Peer returns ERROR &amp;lt;Session terminated&amp;gt; -&amp;gt; aborting transfer [14/10 13:03:34.118]
Connection received from 10.242.67.27 on port 50484 [14/10 13:03:34.119]
Read request for file &amp;lt;python_script.py&amp;gt;. Mode octet [14/10 13:03:34.119]
OACK: &amp;lt;blksize=8192,&amp;gt; [14/10 13:03:34.119]
Using local port 49809 [14/10 13:03:34.119]
Connection received from 10.242.67.27 on port 54963 [14/10 13:03:36.119]
Read request for file &amp;lt;python_script.py&amp;gt;. Mode octet [14/10 13:03:36.120]
OACK: &amp;lt;blksize=8192,&amp;gt; [14/10 13:03:36.120]
Using local port 49810 [14/10 13:03:36.120]
Peer returns ERROR &amp;lt;Session terminated&amp;gt; -&amp;gt; aborting transfer [14/10 13:03:36.143]
Connection received from 10.242.67.27 on port 51977 [14/10 13:03:36.144]
Read request for file &amp;lt;python_script.py&amp;gt;. Mode octet [14/10 13:03:36.144]
OACK: &amp;lt;blksize=8192,&amp;gt; [14/10 13:03:36.145]
Using local port 49811 [14/10 13:03:36.145]
Connection received from 10.242.67.27 on port 53283 [14/10 13:03:38.152]
Read request for file &amp;lt;python_script.py&amp;gt;. Mode octet [14/10 13:03:38.152]
OACK: &amp;lt;blksize=8192,&amp;gt; [14/10 13:03:38.152]
Using local port 49812 [14/10 13:03:38.152]
Peer returns ERROR &amp;lt;Session terminated&amp;gt; -&amp;gt; aborting transfer [14/10 13:03:38.165]
Connection received from 10.242.67.27 on port 51878 [14/10 13:03:38.166]
Read request for file &amp;lt;python_script.py&amp;gt;. Mode octet [14/10 13:03:38.167]
OACK: &amp;lt;blksize=8192,&amp;gt; [14/10 13:03:38.167]
Using local port 49813 [14/10 13:03:38.167]
Connection received from 10.242.67.27 on port 52056 [14/10 13:03:40.168]
Read request for file &amp;lt;python_script.py&amp;gt;. Mode octet [14/10 13:03:40.168]
OACK: &amp;lt;blksize=8192,&amp;gt; [14/10 13:03:40.169]
Using local port 49814 [14/10 13:03:40.169]
Peer returns ERROR &amp;lt;Session terminated&amp;gt; -&amp;gt; aborting transfer [14/10 13:03:40.181]
Connection received from 10.242.67.27 on port 53005 [14/10 13:03:40.182]
Read request for file &amp;lt;python_script.py&amp;gt;. Mode octet [14/10 13:03:40.183]
OACK: &amp;lt;blksize=8192,&amp;gt; [14/10 13:03:40.183]
Using local port 49815 [14/10 13:03:40.183]
Connection received from 10.242.67.27 on port 54992 [14/10 13:03:42.182]
Read request for file &amp;lt;python_script.py&amp;gt;. Mode octet [14/10 13:03:42.183]
OACK: &amp;lt;blksize=8192,&amp;gt; [14/10 13:03:42.183]
Using local port 49816 [14/10 13:03:42.183]
Peer returns ERROR &amp;lt;Session terminated&amp;gt; -&amp;gt; aborting transfer [14/10 13:03:42.201]
Connection received from 10.242.67.27 on port 49485 [14/10 13:03:42.202]
Read request for file &amp;lt;python_script.py&amp;gt;. Mode octet [14/10 13:03:42.203]
OACK: &amp;lt;blksize=8192,&amp;gt; [14/10 13:03:42.203]
Using local port 49817 [14/10 13:03:42.203]
&amp;lt;python_script.py&amp;gt;: sent 2 blks, 8628 bytes in 0 s. 0 blk resent [14/10 13:03:42.229]
TIMEOUT waiting for Ack block #0  [14/10 13:03:49.124]
TIMEOUT waiting for Ack block #0  [14/10 13:03:51.149]
TIMEOUT waiting for Ack block #0  [14/10 13:03:53.169]
TIMEOUT waiting for Ack block #0  [14/10 13:03:55.185]&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;The script is not downloaded, resulting in a fail and the switch starts in default mode.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Any idea?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Oct 2021 13:12:05 GMT</pubDate>
    <dc:creator>_|brt.drml|_</dc:creator>
    <dc:date>2021-10-14T13:12:05Z</dc:date>
    <item>
      <title>ZTP - guesthell does not load after loading startup script</title>
      <link>https://community.cisco.com/t5/controllers/ztp-guesthell-does-not-load-after-loading-startup-script/m-p/4483561#M2328</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would you like to enter the initial configuration dialog? [yes/no]:&lt;BR /&gt;Loading 9K/python_script.py from 10.15.255.52 (via Vlan990): !&lt;BR /&gt;[OK - 8646 bytes]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If I use the debug from my tftpd server I get this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Connection received from 10.242.67.27 on port 52391 [14/10 13:03:34.105]
Read request for file &amp;lt;python_script.py&amp;gt;. Mode octet [14/10 13:03:34.106]
OACK: &amp;lt;blksize=8192,&amp;gt; [14/10 13:03:34.106]
Using local port 49808 [14/10 13:03:34.106]
Peer returns ERROR &amp;lt;Session terminated&amp;gt; -&amp;gt; aborting transfer [14/10 13:03:34.118]
Connection received from 10.242.67.27 on port 50484 [14/10 13:03:34.119]
Read request for file &amp;lt;python_script.py&amp;gt;. Mode octet [14/10 13:03:34.119]
OACK: &amp;lt;blksize=8192,&amp;gt; [14/10 13:03:34.119]
Using local port 49809 [14/10 13:03:34.119]
Connection received from 10.242.67.27 on port 54963 [14/10 13:03:36.119]
Read request for file &amp;lt;python_script.py&amp;gt;. Mode octet [14/10 13:03:36.120]
OACK: &amp;lt;blksize=8192,&amp;gt; [14/10 13:03:36.120]
Using local port 49810 [14/10 13:03:36.120]
Peer returns ERROR &amp;lt;Session terminated&amp;gt; -&amp;gt; aborting transfer [14/10 13:03:36.143]
Connection received from 10.242.67.27 on port 51977 [14/10 13:03:36.144]
Read request for file &amp;lt;python_script.py&amp;gt;. Mode octet [14/10 13:03:36.144]
OACK: &amp;lt;blksize=8192,&amp;gt; [14/10 13:03:36.145]
Using local port 49811 [14/10 13:03:36.145]
Connection received from 10.242.67.27 on port 53283 [14/10 13:03:38.152]
Read request for file &amp;lt;python_script.py&amp;gt;. Mode octet [14/10 13:03:38.152]
OACK: &amp;lt;blksize=8192,&amp;gt; [14/10 13:03:38.152]
Using local port 49812 [14/10 13:03:38.152]
Peer returns ERROR &amp;lt;Session terminated&amp;gt; -&amp;gt; aborting transfer [14/10 13:03:38.165]
Connection received from 10.242.67.27 on port 51878 [14/10 13:03:38.166]
Read request for file &amp;lt;python_script.py&amp;gt;. Mode octet [14/10 13:03:38.167]
OACK: &amp;lt;blksize=8192,&amp;gt; [14/10 13:03:38.167]
Using local port 49813 [14/10 13:03:38.167]
Connection received from 10.242.67.27 on port 52056 [14/10 13:03:40.168]
Read request for file &amp;lt;python_script.py&amp;gt;. Mode octet [14/10 13:03:40.168]
OACK: &amp;lt;blksize=8192,&amp;gt; [14/10 13:03:40.169]
Using local port 49814 [14/10 13:03:40.169]
Peer returns ERROR &amp;lt;Session terminated&amp;gt; -&amp;gt; aborting transfer [14/10 13:03:40.181]
Connection received from 10.242.67.27 on port 53005 [14/10 13:03:40.182]
Read request for file &amp;lt;python_script.py&amp;gt;. Mode octet [14/10 13:03:40.183]
OACK: &amp;lt;blksize=8192,&amp;gt; [14/10 13:03:40.183]
Using local port 49815 [14/10 13:03:40.183]
Connection received from 10.242.67.27 on port 54992 [14/10 13:03:42.182]
Read request for file &amp;lt;python_script.py&amp;gt;. Mode octet [14/10 13:03:42.183]
OACK: &amp;lt;blksize=8192,&amp;gt; [14/10 13:03:42.183]
Using local port 49816 [14/10 13:03:42.183]
Peer returns ERROR &amp;lt;Session terminated&amp;gt; -&amp;gt; aborting transfer [14/10 13:03:42.201]
Connection received from 10.242.67.27 on port 49485 [14/10 13:03:42.202]
Read request for file &amp;lt;python_script.py&amp;gt;. Mode octet [14/10 13:03:42.203]
OACK: &amp;lt;blksize=8192,&amp;gt; [14/10 13:03:42.203]
Using local port 49817 [14/10 13:03:42.203]
&amp;lt;python_script.py&amp;gt;: sent 2 blks, 8628 bytes in 0 s. 0 blk resent [14/10 13:03:42.229]
TIMEOUT waiting for Ack block #0  [14/10 13:03:49.124]
TIMEOUT waiting for Ack block #0  [14/10 13:03:51.149]
TIMEOUT waiting for Ack block #0  [14/10 13:03:53.169]
TIMEOUT waiting for Ack block #0  [14/10 13:03:55.185]&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;The script is not downloaded, resulting in a fail and the switch starts in default mode.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Any idea?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Oct 2021 13:12:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/ztp-guesthell-does-not-load-after-loading-startup-script/m-p/4483561#M2328</guid>
      <dc:creator>_|brt.drml|_</dc:creator>
      <dc:date>2021-10-14T13:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: ZTP - guesthell does not load after loading startup script</title>
      <link>https://community.cisco.com/t5/controllers/ztp-guesthell-does-not-load-after-loading-startup-script/m-p/4487767#M2329</link>
      <description>&lt;P&gt;Solved it,&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue was that the tftp blocksize was defaulted to 8192.&lt;/P&gt;&lt;P&gt;On my network the packets got fragmented and therefore the script download failed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reducing to a lower blocksize did not work either. Why: when rebooting, after wr erase the c9300 switch to its defaults, the blocksize was again set to default.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i enabled a webs server with http:80 and then the start-up did work again.&lt;/P&gt;&lt;P&gt;As a solution I enabled the start-up on the web-server and the script can then fetch some files on the tftp to complete the installation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Oct 2021 08:39:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/ztp-guesthell-does-not-load-after-loading-startup-script/m-p/4487767#M2329</guid>
      <dc:creator>_|brt.drml|_</dc:creator>
      <dc:date>2021-10-18T08:39:13Z</dc:date>
    </item>
  </channel>
</rss>

