<?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: How to shut no shut in one command in Switching</title>
    <link>https://community.cisco.com/t5/switching/how-to-shut-no-shut-in-one-command/m-p/4028032#M481663</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;- Thrown out , depending on what it means, note also that a 'null-time-elapsed' shut/no-shut may not always achieve the desired result.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;M.&lt;/P&gt;</description>
    <pubDate>Wed, 12 Feb 2020 08:52:42 GMT</pubDate>
    <dc:creator>Mark Elsen</dc:creator>
    <dc:date>2020-02-12T08:52:42Z</dc:date>
    <item>
      <title>How to shut no shut in one command</title>
      <link>https://community.cisco.com/t5/switching/how-to-shut-no-shut-in-one-command/m-p/4027869#M481638</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On servers and desktops we do:&lt;/P&gt;&lt;P&gt;C:\ipconfig /release &amp;amp;&amp;amp; ipconfig /renew&lt;/P&gt;&lt;P&gt;That way we are able to reconnect after releasing an IP and not thrown out and unable to reconnect because it has no IP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the Cisco 4506e:&lt;/P&gt;&lt;P&gt;What is the syntax to do a shut, no shut command as one entry so when I'm thrown out, the port goes back to no shut so I can reconnect?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2020 23:24:49 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/how-to-shut-no-shut-in-one-command/m-p/4027869#M481638</guid>
      <dc:creator>kelly.abbott</dc:creator>
      <dc:date>2020-02-11T23:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to shut no shut in one command</title>
      <link>https://community.cisco.com/t5/switching/how-to-shut-no-shut-in-one-command/m-p/4027883#M481641</link>
      <description>Depends on the age of the NIC. &lt;BR /&gt;I've seen wired clients that have very old NIC that "shut/no shut" does not help and the only way for the NIC to "wake up" is to reboot the entire chassis.</description>
      <pubDate>Wed, 12 Feb 2020 00:05:56 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/how-to-shut-no-shut-in-one-command/m-p/4027883#M481641</guid>
      <dc:creator>Leo Laohoo</dc:creator>
      <dc:date>2020-02-12T00:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to shut no shut in one command</title>
      <link>https://community.cisco.com/t5/switching/how-to-shut-no-shut-in-one-command/m-p/4027985#M481657</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;You can't chain commands like that on IOS. The best you can do is launch an EEM script and then have that execute the commands in the background:&lt;/P&gt;
&lt;PRE&gt;!
event manager applet SHUTNOSHUT
event none
action 1.0 cli command "enable"
action 2.0 cli command "conf t"
action 3.0 cli command "int gi0/1"
action 4.0 cli command "shut"
action 5.0 cli commnad "no shut"
action 6.0 cli command "quit"
!&lt;/PRE&gt;
&lt;P&gt;Then from the CLI launch it with:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;event manager run&amp;nbsp;SHUTNOSHUT&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;cheers,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Seb.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 07:13:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/how-to-shut-no-shut-in-one-command/m-p/4027985#M481657</guid>
      <dc:creator>Seb Rupik</dc:creator>
      <dc:date>2020-02-12T07:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to shut no shut in one command</title>
      <link>https://community.cisco.com/t5/switching/how-to-shut-no-shut-in-one-command/m-p/4028032#M481663</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;- Thrown out , depending on what it means, note also that a 'null-time-elapsed' shut/no-shut may not always achieve the desired result.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;M.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 08:52:42 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/how-to-shut-no-shut-in-one-command/m-p/4028032#M481663</guid>
      <dc:creator>Mark Elsen</dc:creator>
      <dc:date>2020-02-12T08:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to shut no shut in one command</title>
      <link>https://community.cisco.com/t5/switching/how-to-shut-no-shut-in-one-command/m-p/4028081#M481673</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you could use the terminal shell to enter multiple commands. Let's say you want to bounce interface GigabitEthernet0/0 (shut/no shut), you would enter the terminal shell and then enter the line below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4506#term shell&lt;/P&gt;
&lt;P&gt;4506#conf t; interface GigabitEthernet 0/0; shut; sleep 5; no shut; end&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 10:19:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/how-to-shut-no-shut-in-one-command/m-p/4028081#M481673</guid>
      <dc:creator>Georg Pauwen</dc:creator>
      <dc:date>2020-02-12T10:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to shut no shut in one command</title>
      <link>https://community.cisco.com/t5/switching/how-to-shut-no-shut-in-one-command/m-p/4422112#M506738</link>
      <description>&lt;P&gt;how about just copy and paste the commands....&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 20:26:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/how-to-shut-no-shut-in-one-command/m-p/4422112#M506738</guid>
      <dc:creator>PETERKLIPA6691</dc:creator>
      <dc:date>2021-06-22T20:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to shut no shut in one command</title>
      <link>https://community.cisco.com/t5/switching/how-to-shut-no-shut-in-one-command/m-p/4422316#M506759</link>
      <description>&lt;P&gt;you can do it using EEM and it should give you desired results.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;## Make sure to mark post as helpful, If it resolved your issue. ##&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 08:02:17 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/how-to-shut-no-shut-in-one-command/m-p/4422316#M506759</guid>
      <dc:creator>Mohsin Alam</dc:creator>
      <dc:date>2021-06-23T08:02:17Z</dc:date>
    </item>
  </channel>
</rss>

