<?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 delete SNMP Communities via IMC? in IMC</title>
    <link>https://community.hpe.com/t5/imc/how-to-delete-snmp-communities-via-imc/m-p/6882142#M3097</link>
    <description>&lt;P&gt;I played around and actually found the answer to my own questions :-)&lt;/P&gt;&lt;P&gt;So to test any script commands, what I should do in CLI is to first issue the command "&lt;STRONG&gt;config&lt;/STRONG&gt;" and then I can enter the lines I have in my script.&lt;/P&gt;&lt;P&gt;And the correct syntax to add an SNMP community is:&lt;/P&gt;&lt;P&gt;snmp-server community Donald unrestricted&lt;/P&gt;&lt;P&gt;So my tiny 4 lines that will save me some time are simply:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;no snmp-server community public&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;no snmp-server community private&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;snmp-server community Donald&amp;nbsp;unrestricted&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;snmp-server community Duck restricted&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Jul 2016 11:14:00 GMT</pubDate>
    <dc:creator>Arctica</dc:creator>
    <dc:date>2016-07-26T11:14:00Z</dc:date>
    <item>
      <title>How to delete SNMP Communities via IMC?</title>
      <link>https://community.hpe.com/t5/imc/how-to-delete-snmp-communities-via-imc/m-p/6881718#M3093</link>
      <description>&lt;P&gt;Just starting to learn how to use IMC.&lt;/P&gt;&lt;P&gt;Really happy to have found the batch setting of new community names via&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://elhk-apps:8080/imc/gencfg/taskmanage/taskList.xhtml" target="_blank"&gt;Resource&lt;/A&gt; &lt;SPAN class="imc_ui_centerHeaderNavSeparator"&gt;&amp;gt;&lt;/SPAN&gt; &lt;A href="http://elhk-apps:8080/imc/gencfg/taskmanage/taskList.xhtml" target="_blank"&gt;Batch Operation&lt;/A&gt; &lt;SPAN class="imc_ui_centerHeaderNavSeparator"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN class="imc_ui_centerHeaderLink"&gt;Device/Interface Configuration Guide&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I get the impression that this is working for adding new SNMP names, but how do I batch that I want to delete the "Public" and "Private" default SNMP communities?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2016 14:36:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/imc/how-to-delete-snmp-communities-via-imc/m-p/6881718#M3093</guid>
      <dc:creator>Arctica</dc:creator>
      <dc:date>2016-07-25T14:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete SNMP Communities via IMC?</title>
      <link>https://community.hpe.com/t5/imc/how-to-delete-snmp-communities-via-imc/m-p/6881882#M3095</link>
      <description>&lt;P&gt;I think the best way to do this will be to create a configuration template (Service -&amp;gt; Configuration Center), and push that out to those devices.&lt;/P&gt;&lt;P&gt;Create a config&amp;nbsp;template that contains "no snmp-server community public", or whatever the equivalent is for your devices.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2016 20:33:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/imc/how-to-delete-snmp-communities-via-imc/m-p/6881882#M3095</guid>
      <dc:creator>LindsayHill</dc:creator>
      <dc:date>2016-07-25T20:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete SNMP Communities via IMC?</title>
      <link>https://community.hpe.com/t5/imc/how-to-delete-snmp-communities-via-imc/m-p/6882121#M3096</link>
      <description>&lt;P&gt;Great, thanks a lot!&lt;/P&gt;&lt;P&gt;I made a script with these 2 lines and it worked perfect when testing against a HP Procurve 2520 switch:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;no snmp-server community public&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;no snmp-server community private&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;May I ask you one more thing?&lt;BR /&gt;I thought I could add 2 more lines and have the same script add the SNMP communities I want to have:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;snmp-server community donald&amp;nbsp;rw&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;snmp-server community duck ro&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;But those lines fail with a "TELNET syntax error".&lt;/P&gt;&lt;P&gt;Is there a way to test that the commands in the script are correct or not? I tried to Telnet to the switch, went to CLI and entered as an example "&lt;SPAN&gt;no snmp-server community public" which I know works via IMC, but the Telnet window just say "Invalid input: snmp-server".&lt;BR /&gt;And what would be the correct syntax in my little script to have the communities added?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2016 10:52:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/imc/how-to-delete-snmp-communities-via-imc/m-p/6882121#M3096</guid>
      <dc:creator>Arctica</dc:creator>
      <dc:date>2016-07-26T10:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete SNMP Communities via IMC?</title>
      <link>https://community.hpe.com/t5/imc/how-to-delete-snmp-communities-via-imc/m-p/6882142#M3097</link>
      <description>&lt;P&gt;I played around and actually found the answer to my own questions :-)&lt;/P&gt;&lt;P&gt;So to test any script commands, what I should do in CLI is to first issue the command "&lt;STRONG&gt;config&lt;/STRONG&gt;" and then I can enter the lines I have in my script.&lt;/P&gt;&lt;P&gt;And the correct syntax to add an SNMP community is:&lt;/P&gt;&lt;P&gt;snmp-server community Donald unrestricted&lt;/P&gt;&lt;P&gt;So my tiny 4 lines that will save me some time are simply:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;no snmp-server community public&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;no snmp-server community private&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;snmp-server community Donald&amp;nbsp;unrestricted&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;snmp-server community Duck restricted&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2016 11:14:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/imc/how-to-delete-snmp-communities-via-imc/m-p/6882142#M3097</guid>
      <dc:creator>Arctica</dc:creator>
      <dc:date>2016-07-26T11:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete SNMP Communities via IMC?</title>
      <link>https://community.hpe.com/t5/imc/how-to-delete-snmp-communities-via-imc/m-p/6882356#M3098</link>
      <description>&lt;P&gt;Good to hear you got it working&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2016 22:16:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/imc/how-to-delete-snmp-communities-via-imc/m-p/6882356#M3098</guid>
      <dc:creator>LindsayHill</dc:creator>
      <dc:date>2016-07-26T22:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete SNMP Communities via IMC?</title>
      <link>https://community.hpe.com/t5/imc/how-to-delete-snmp-communities-via-imc/m-p/6882827#M3099</link>
      <description>&lt;P&gt;Also note&amp;nbsp;that the CLI script execution function does not automatically save the modified configuration to memory.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So add a &lt;STRONG&gt;write memory&lt;/STRONG&gt;&amp;nbsp;(or equivalent for your OS) statement to the end of your script to save. Otherwise the next reboot will clear your changes.&lt;/P&gt;&lt;P&gt;That&amp;nbsp;can be handy not to save if you are just testing or want an easy recovery - a reboot will quickly restore the old config.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2016 01:26:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/imc/how-to-delete-snmp-communities-via-imc/m-p/6882827#M3099</guid>
      <dc:creator>NeilR</dc:creator>
      <dc:date>2016-07-28T01:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete SNMP Communities via IMC?</title>
      <link>https://community.hpe.com/t5/imc/how-to-delete-snmp-communities-via-imc/m-p/6883034#M3103</link>
      <description>&lt;P&gt;Thanks, I wouldn't have thought about that!&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2016 12:52:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/imc/how-to-delete-snmp-communities-via-imc/m-p/6883034#M3103</guid>
      <dc:creator>Arctica</dc:creator>
      <dc:date>2016-07-28T12:52:47Z</dc:date>
    </item>
  </channel>
</rss>

