<?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: Catalyst Stacks - Priority in Controllers</title>
    <link>https://community.cisco.com/t5/controllers/catalyst-stacks-priority/m-p/3537204#M3067</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I understand now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My usual trick to solve an "exec" command is to use a self-destructing EEM script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a number of examples in blogs.&amp;nbsp; There is a sophisticated example here &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;You could try something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 9pt; font-family: Monaco; color: black; background-color: yellow;"&gt;event manager applet POST_PNP&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 9pt; font-family: Monaco; color: black; background-color: yellow;"&gt;event timer countdown time 30&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 9pt; font-family: Monaco; color: black; background-color: yellow;"&gt;action 1.0 cli command "enable"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 9pt; font-family: Monaco; color: black; background-color: yellow;"&gt;action 1.1 cli command "switch 1 priority 15"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 9pt; font-family: Monaco; color: black; background-color: yellow;"&gt;action 1.2 cli command "switch 2 priority 14"&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 9pt; font-family: Monaco; color: black; background-color: yellow;"&gt;action 2.3 cli command "no event manager applet POST_PNP"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 9pt; font-family: Monaco; color: black; background-color: aqua;"&gt;action 2.8 cli command "end"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;You put this just before the "end" in your PnP configuration file.&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Feb 2017 13:46:14 GMT</pubDate>
    <dc:creator>aradford</dc:creator>
    <dc:date>2017-02-08T13:46:14Z</dc:date>
    <item>
      <title>Catalyst Stacks - Priority</title>
      <link>https://community.cisco.com/t5/controllers/catalyst-stacks-priority/m-p/3537201#M3064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using the APIC-EM controller to stage quite a few 3850 and 3650 stacks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Setting the switch priority is a command entered at the privileged EXEC prompt (vs in config mode) and these are routinely failing.&lt;/P&gt;&lt;P&gt;What is the recommended approach for these type of configuration commands?&amp;nbsp; See config load log below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Received response from pnp agent for message correlatorId: CiscoPnP-1.0-6-290-3C3C7414-6 but with error code : ZTD_CMD_ERROR Response String: ERROR:PnP Service Error 1402:Invalid input detected&lt;/P&gt;&lt;P&gt; service log: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Loading &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://192.0.2.2:443/api/v1/file/onetimedownload/51d1dd82-a586-4e47-8cb9-4800965ea918" rel="nofollow" target="_blank"&gt;https://192.0.2.2:443/api/v1/file/onetimedownload/51d1dd82-a586-4e47-8cb9-4800965ea918&lt;/A&gt;&lt;SPAN&gt; !&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;switch 1 priority 15&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ^&lt;/P&gt;&lt;P&gt;% Invalid input detected at '^' marker.&lt;/P&gt;&lt;P&gt;switch 2 priority 14&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ^&lt;/P&gt;&lt;P&gt;% Invalid input detected at '^' marker.&lt;/P&gt;&lt;P&gt;% You already have RSA keys defined named ops-cd03.4-d4-s1.portseattle.org.&lt;/P&gt;&lt;P&gt;% They will be replaced.&lt;/P&gt;&lt;P&gt;% The key modulus size is 2048 bits&lt;/P&gt;&lt;P&gt;% Generating 2048 bit RSA keys, keys will be non-exportable...&lt;/P&gt;&lt;P&gt;[OK] (elapsed time was 2 seconds)&lt;/P&gt;&lt;P&gt;AutoQoS Error: AutoQoS already configured&lt;/P&gt;&lt;P&gt;% Range command terminated because it failed on GigabitEthernet1/0/1&lt;/P&gt;&lt;P&gt;% Range command terminated because it failed on GigabitEthernet1/0/1&lt;/P&gt;&lt;P&gt; switchport access vlan &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ^&lt;/P&gt;&lt;P&gt;% Invalid input detected at '^' marker.&lt;/P&gt;&lt;P&gt;% % Duplicate permit statement ignored.&lt;/P&gt;&lt;P&gt;% % Duplicate permit statement ignored.&lt;/P&gt;&lt;P&gt;% % Duplicate permit statement ignored.&lt;/P&gt;&lt;P&gt;% % Duplicate permit statement ignored.&lt;/P&gt;&lt;P&gt;% % Duplicate permit statement ignored.&lt;/P&gt;&lt;P&gt;% % Duplicate permit statement ignored.&lt;/P&gt;&lt;P&gt;% % Duplicate permit statement ignored.&lt;/P&gt;&lt;P&gt;% % Duplicate permit statement ignored.&lt;/P&gt;&lt;P&gt;% % Duplicate permit statement ignored.&lt;/P&gt;&lt;P&gt;% % Duplicate permit statement ignored.&lt;/P&gt;&lt;P&gt;% % Duplicate permit statement ignored.&lt;/P&gt;&lt;P&gt;% % Duplicate permit statement ignored.&lt;/P&gt;&lt;P&gt;% % Duplicate permit statement ignored.&lt;/P&gt;&lt;P&gt;% % Duplicate permit statement ignored.&lt;/P&gt;&lt;P&gt;% % Duplicate permit statement ignored.&lt;/P&gt;&lt;P&gt;% % Duplicate permit statement ignored.&lt;/P&gt;&lt;P&gt;% % Duplicate permit statement ignored.&lt;/P&gt;&lt;P&gt;% % Duplicate permit statement ignored.&lt;/P&gt;&lt;P&gt;% % Duplicate permit statement ignored.&lt;/P&gt;&lt;P&gt;% % Duplicate permit statement ignored.&lt;/P&gt;&lt;P&gt;% % Duplicate permit statement ignored.&lt;/P&gt;&lt;P&gt; Warning: The cli will be deprecated soon&lt;/P&gt;&lt;P&gt; 'tacacs-server host 10.254.11.5 single-connection'&lt;/P&gt;&lt;P&gt; Please move to 'tacacs server ' CLI&lt;/P&gt;&lt;P&gt; Warning: The cli will be deprecated soon&lt;/P&gt;&lt;P&gt; 'tacacs-server host 10.6.104.5 single-connection'&lt;/P&gt;&lt;P&gt; Please move to 'tacacs server ' CLI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2019 12:36:02 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/catalyst-stacks-priority/m-p/3537201#M3064</guid>
      <dc:creator>Claudia de Luna</dc:creator>
      <dc:date>2019-03-01T12:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Catalyst Stacks - Priority</title>
      <link>https://community.cisco.com/t5/controllers/catalyst-stacks-priority/m-p/3537202#M3065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Claudia,&lt;/P&gt;&lt;P&gt;this looks like the switch member numbers are not correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you do a "show switch" is there a member #1?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;longer conversation to follow on stack switch member numbers and limitations&amp;gt;&lt;/P&gt;&lt;P&gt;Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 20:56:46 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/catalyst-stacks-priority/m-p/3537202#M3065</guid>
      <dc:creator>aradford</dc:creator>
      <dc:date>2017-02-06T20:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: Catalyst Stacks - Priority</title>
      <link>https://community.cisco.com/t5/controllers/catalyst-stacks-priority/m-p/3537203#M3066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, there is a switch 1. In this case we needed to pre-provition stacks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;config would look something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vlan X&lt;/P&gt;&lt;P&gt;name xxxx&lt;/P&gt;&lt;P&gt;!##################### Global Config Template Processing #####################!&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;switch 2 provision ws-c3650-24pd&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;switch 3 provision ws-c3650-24pd&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;switch 4 provision ws-c3650-24pd&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;switch 5 provision ws-c3650-24pd&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;switch 1 priority 15&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;switch 2 priority 14&lt;/P&gt;&lt;P&gt;!#####################START of Global TEMPLATE #####################&lt;/P&gt;&lt;P&gt;!#&lt;/P&gt;&lt;P&gt;hostname xxx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 21:46:31 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/catalyst-stacks-priority/m-p/3537203#M3066</guid>
      <dc:creator>Claudia de Luna</dc:creator>
      <dc:date>2017-02-06T21:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: Catalyst Stacks - Priority</title>
      <link>https://community.cisco.com/t5/controllers/catalyst-stacks-priority/m-p/3537204#M3067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I understand now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My usual trick to solve an "exec" command is to use a self-destructing EEM script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a number of examples in blogs.&amp;nbsp; There is a sophisticated example here &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;You could try something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 9pt; font-family: Monaco; color: black; background-color: yellow;"&gt;event manager applet POST_PNP&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 9pt; font-family: Monaco; color: black; background-color: yellow;"&gt;event timer countdown time 30&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 9pt; font-family: Monaco; color: black; background-color: yellow;"&gt;action 1.0 cli command "enable"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 9pt; font-family: Monaco; color: black; background-color: yellow;"&gt;action 1.1 cli command "switch 1 priority 15"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 9pt; font-family: Monaco; color: black; background-color: yellow;"&gt;action 1.2 cli command "switch 2 priority 14"&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 9pt; font-family: Monaco; color: black; background-color: yellow;"&gt;action 2.3 cli command "no event manager applet POST_PNP"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 9pt; font-family: Monaco; color: black; background-color: aqua;"&gt;action 2.8 cli command "end"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;You put this just before the "end" in your PnP configuration file.&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2017 13:46:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/catalyst-stacks-priority/m-p/3537204#M3067</guid>
      <dc:creator>aradford</dc:creator>
      <dc:date>2017-02-08T13:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Catalyst Stacks - Priority</title>
      <link>https://community.cisco.com/t5/controllers/catalyst-stacks-priority/m-p/3537205#M3068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when i tested the above there was an issue:&lt;/P&gt;&lt;P&gt;The &lt;SPAN style="color: #000000; font-family: Monaco; font-size: 12px; background-color: #ffff00;"&gt;"switch 1 priority 15"&lt;/SPAN&gt; command is an interactive command, and prompts you for a "y/n" response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also did another "wr me" to get rid of the EEM script from the startup configuration file as well as the running config.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A working version of the EEM script is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 18px; font-family: Monaco; color: #000000;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;event manager applet POST_PNP&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 18px; font-family: Monaco; color: #000000;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;event timer countdown time 30&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 18px; font-family: Monaco; color: #000000;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;action 1.0 cli command "enable"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 18px; font-family: Monaco; color: #000000;"&gt;&lt;SPAN style="color: #ff0000; font-size: 8pt;"&gt;action 1.1 cli command "switch 1 priority 15"&amp;nbsp; pattern "continue"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 18px; font-family: Monaco; color: #000000;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;action 1.2 cli command "y"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 18px; font-family: Monaco; color: #000000;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;action 1.8 cli command "config t"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 18px; font-family: Monaco; color: #000000;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;action 2.3 cli command "no event manager applet POST_PNP"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 18px; font-family: Monaco; color: #000000;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;action 2.8 cli command "end"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 18px; font-family: Monaco; color: #000000;"&gt;&lt;SPAN style="color: #ff0000; font-size: 8pt;"&gt;action 2.9 cli command "wr mem"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 18px; font-family: Monaco; color: #000000;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;action 3.0 cli command "end"&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2017 17:06:42 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/catalyst-stacks-priority/m-p/3537205#M3068</guid>
      <dc:creator>aradford</dc:creator>
      <dc:date>2017-02-08T17:06:42Z</dc:date>
    </item>
  </channel>
</rss>

