<?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: PnP with Switch Stack in Controllers</title>
    <link>https://community.cisco.com/t5/controllers/pnp-with-switch-stack/m-p/3475921#M1349</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An overview of using EEM scripts in config is here &lt;A href="https://community.cisco.com/migration-blogpost/8427"&gt;Network Automation with Plug and Play (PnP) – Part 6&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The specific script you need is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P style="font-size: 18px; font-family: Monaco; color: #000000;"&gt;line vty 5 15&lt;/P&gt;
&lt;P style="font-size: 18px; font-family: Monaco; color: #000000;"&gt; login local&lt;/P&gt;
&lt;P style="font-size: 18px; font-family: Monaco; color: #000000;"&gt; transport input ssh telnet&lt;/P&gt;
&lt;P style="font-size: 18px; font-family: Monaco; color: #000000;"&gt;!&lt;/P&gt;
&lt;P style="font-size: 18px; font-family: Monaco; color: #000000;"&gt;&lt;/P&gt;
&lt;P style="font-size: 18px; font-family: Monaco; color: #000000;"&gt;event manager applet POST_PNP&lt;/P&gt;
&lt;P style="font-size: 18px; font-family: Monaco; color: #000000;"&gt;event timer countdown time 30&lt;/P&gt;
&lt;P style="font-size: 18px; font-family: Monaco; color: #000000;"&gt;action 1.0 cli command "enable"&lt;/P&gt;
&lt;P style="font-size: 18px; font-family: Monaco; color: #000000;"&gt;action 1.1 cli command "switch 1 priority 15"&amp;nbsp; pattern "continue"&lt;/P&gt;
&lt;P style="font-size: 18px; font-family: Monaco; color: #000000;"&gt;action 1.2 cli command "y"&lt;/P&gt;
&lt;P style="font-size: 18px; font-family: Monaco; color: #000000;"&gt;action 1.8 cli command "config t"&lt;/P&gt;
&lt;P style="font-size: 18px; font-family: Monaco; color: #000000;"&gt;action 2.3 cli command "no event manager applet POST_PNP"&lt;/P&gt;
&lt;P style="font-size: 18px; font-family: Monaco; color: #000000;"&gt;action 2.8 cli command "end"&lt;/P&gt;
&lt;P style="font-size: 18px; font-family: Monaco; color: #000000;"&gt;action 2.9 cli command "wr mem"&lt;/P&gt;
&lt;P style="font-size: 18px; font-family: Monaco; color: #000000;"&gt;action 3.0 cli command "end"&lt;/P&gt;
&lt;P style="font-size: 18px; font-family: Monaco; color: #000000;"&gt;&lt;/P&gt;
&lt;P style="font-size: 18px; font-family: Monaco; color: #000000;"&gt;end&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 17 Sep 2017 09:17:27 GMT</pubDate>
    <dc:creator>aradford</dc:creator>
    <dc:date>2017-09-17T09:17:27Z</dc:date>
    <item>
      <title>PnP with Switch Stack</title>
      <link>https://community.cisco.com/t5/controllers/pnp-with-switch-stack/m-p/3475918#M1346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts&lt;/P&gt;&lt;P&gt;we have a customer who has switch stack (member varies fro 3 4 ...8)&lt;/P&gt;&lt;P&gt;We have installed APIC EM and going to use PnP to manage those switches. We are not sure how to make a switch as Master in stack using APIC EM. is there a best practice to do that ? plz suggest&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2019 12:40:51 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/pnp-with-switch-stack/m-p/3475918#M1346</guid>
      <dc:creator>Abhishek Dave</dc:creator>
      <dc:date>2019-03-01T12:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: PnP with Switch Stack</title>
      <link>https://community.cisco.com/t5/controllers/pnp-with-switch-stack/m-p/3475919#M1347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The stack master commands are done in exec mode, not config mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The best way to do this is to use an EEM script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have published an example in the past.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Sep 2017 09:03:30 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/pnp-with-switch-stack/m-p/3475919#M1347</guid>
      <dc:creator>aradford</dc:creator>
      <dc:date>2017-09-17T09:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: PnP with Switch Stack</title>
      <link>https://community.cisco.com/t5/controllers/pnp-with-switch-stack/m-p/3475920#M1348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Adam for replying. can you please re-direct me to that example ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Sep 2017 09:06:45 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/pnp-with-switch-stack/m-p/3475920#M1348</guid>
      <dc:creator>Abhishek Dave</dc:creator>
      <dc:date>2017-09-17T09:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: PnP with Switch Stack</title>
      <link>https://community.cisco.com/t5/controllers/pnp-with-switch-stack/m-p/3475921#M1349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An overview of using EEM scripts in config is here &lt;A href="https://community.cisco.com/migration-blogpost/8427"&gt;Network Automation with Plug and Play (PnP) – Part 6&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The specific script you need is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P style="font-size: 18px; font-family: Monaco; color: #000000;"&gt;line vty 5 15&lt;/P&gt;
&lt;P style="font-size: 18px; font-family: Monaco; color: #000000;"&gt; login local&lt;/P&gt;
&lt;P style="font-size: 18px; font-family: Monaco; color: #000000;"&gt; transport input ssh telnet&lt;/P&gt;
&lt;P style="font-size: 18px; font-family: Monaco; color: #000000;"&gt;!&lt;/P&gt;
&lt;P style="font-size: 18px; font-family: Monaco; color: #000000;"&gt;&lt;/P&gt;
&lt;P style="font-size: 18px; font-family: Monaco; color: #000000;"&gt;event manager applet POST_PNP&lt;/P&gt;
&lt;P style="font-size: 18px; font-family: Monaco; color: #000000;"&gt;event timer countdown time 30&lt;/P&gt;
&lt;P style="font-size: 18px; font-family: Monaco; color: #000000;"&gt;action 1.0 cli command "enable"&lt;/P&gt;
&lt;P style="font-size: 18px; font-family: Monaco; color: #000000;"&gt;action 1.1 cli command "switch 1 priority 15"&amp;nbsp; pattern "continue"&lt;/P&gt;
&lt;P style="font-size: 18px; font-family: Monaco; color: #000000;"&gt;action 1.2 cli command "y"&lt;/P&gt;
&lt;P style="font-size: 18px; font-family: Monaco; color: #000000;"&gt;action 1.8 cli command "config t"&lt;/P&gt;
&lt;P style="font-size: 18px; font-family: Monaco; color: #000000;"&gt;action 2.3 cli command "no event manager applet POST_PNP"&lt;/P&gt;
&lt;P style="font-size: 18px; font-family: Monaco; color: #000000;"&gt;action 2.8 cli command "end"&lt;/P&gt;
&lt;P style="font-size: 18px; font-family: Monaco; color: #000000;"&gt;action 2.9 cli command "wr mem"&lt;/P&gt;
&lt;P style="font-size: 18px; font-family: Monaco; color: #000000;"&gt;action 3.0 cli command "end"&lt;/P&gt;
&lt;P style="font-size: 18px; font-family: Monaco; color: #000000;"&gt;&lt;/P&gt;
&lt;P style="font-size: 18px; font-family: Monaco; color: #000000;"&gt;end&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Sep 2017 09:17:27 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/pnp-with-switch-stack/m-p/3475921#M1349</guid>
      <dc:creator>aradford</dc:creator>
      <dc:date>2017-09-17T09:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: PnP with Switch Stack</title>
      <link>https://community.cisco.com/t5/controllers/pnp-with-switch-stack/m-p/3475922#M1350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BTW, what model switches are they?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Sep 2017 09:20:53 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/pnp-with-switch-stack/m-p/3475922#M1350</guid>
      <dc:creator>aradford</dc:creator>
      <dc:date>2017-09-17T09:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: PnP with Switch Stack</title>
      <link>https://community.cisco.com/t5/controllers/pnp-with-switch-stack/m-p/3475923#M1351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for sharing the post. These are 3850s.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Sep 2017 09:23:11 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/pnp-with-switch-stack/m-p/3475923#M1351</guid>
      <dc:creator>Abhishek Dave</dc:creator>
      <dc:date>2017-09-17T09:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: PnP with Switch Stack</title>
      <link>https://community.cisco.com/t5/controllers/pnp-with-switch-stack/m-p/3475924#M1352</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;I will try that out in LAB. Before that can you verify if below flow is correct :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sw-1........................&lt;/P&gt;&lt;P&gt;sw-2.......................... PnP&lt;/P&gt;&lt;P&gt;sw-3........................&lt;/P&gt;&lt;P&gt;sw-4.......................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is a stack of 4 switches and PnP Server is also in place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now in order to make sw-1 as master, I should use the eem script that you gave along with other template commands (like interface etc...) that I want on the switch. is that correct ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Sep 2017 10:15:42 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/pnp-with-switch-stack/m-p/3475924#M1352</guid>
      <dc:creator>Abhishek Dave</dc:creator>
      <dc:date>2017-09-17T10:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: PnP with Switch Stack</title>
      <link>https://community.cisco.com/t5/controllers/pnp-with-switch-stack/m-p/3475925#M1353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That will make switch #1 master (after a re-election).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You also need to take into account the switch member number.&amp;nbsp; Today, the only way to do that is via power-on order (top to bottom).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason that is important is your config file will contain interfaces which have the member number as the first number.&lt;/P&gt;&lt;P&gt;e.g. Gig1/0/10 will be stack member number 1, while Gig3/0/10 will be member number 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stacking will support any switch contacting APIC-EM (as the PnP agent provides the serial numbers for all members of the stacks).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 07:33:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/pnp-with-switch-stack/m-p/3475925#M1353</guid>
      <dc:creator>aradford</dc:creator>
      <dc:date>2017-09-18T07:33:36Z</dc:date>
    </item>
  </channel>
</rss>

