<?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: Non-default SNMP User in XMC = headache with Traps... FAD? in ExtremeCloud IQ- Site Engine Management Center</title>
    <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/non-default-snmp-user-in-xmc-headache-with-traps-fad/m-p/77026#M8634</link>
    <description>&lt;P&gt;Now I look at this traps view in XMC like Thanos stared at some sights after wiping out half of life in the universe.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Apr 2021 04:38:32 GMT</pubDate>
    <dc:creator>Tomasz</dc:creator>
    <dc:date>2021-04-07T04:38:32Z</dc:date>
    <item>
      <title>Non-default SNMP User in XMC = headache with Traps... FAD?</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/non-default-snmp-user-in-xmc-headache-with-traps-fad/m-p/77025#M8633</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I’ve a bit long story to a short question (tl;dr: GOTO the last paragraph). &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I’ll share my thoughts below according to the troubleshooting steps I took today, hoping that someone can have a look and make sure it’s FAD and not some tricky internals in XMC that are to be modified in a future release.&lt;/P&gt;&lt;P&gt;I am playing around in my lab trying to configure EXOS + XMC/EAC/EAN + few other things in the way I consider a set of deployment good practices. I decided to use a non-default SNMPv3 user for XMC-EXOS communication, along with SHA and AES (FYI: 128b) instead of MD5/DES.&lt;/P&gt;&lt;P&gt;XMC: 8.5.4.23&lt;/P&gt;&lt;P&gt;EXOS: 30.7 and 31.2&lt;/P&gt;&lt;P&gt;I wanted to play with SNMP Traps today as someone told me they don’t work with ELRP. I remember they work well in the EXOS S&amp;amp;R training so tried to do it quick and spent few hours on that lol. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I used “Configure Trap Receiver” option in XMC to configure EXOS.&lt;/P&gt;&lt;P&gt;Toggling ports, saving config, inducing ELRP to trigger port disabling, custom trap - nothing shown up in XMC Events when limiting the view to Traps. Syslog was good though.&lt;/P&gt;&lt;P&gt;Double-checked device profile in XMC and SNMP config in EXOS. All was fine. XMC and EXOS in the same subnet thru VR-Default.&lt;/P&gt;&lt;P&gt;Unfortunately I spotted wrong time on XMC and it distracted me for a while (took another quarters to understand chronyd doesn’t like Windows Server for time sync unless additional measure is taken). I thought perhaps that’s the reason why traps are not showing. Definitely looked in a wrong place, tcpdump would be better to see if anything comes to XMC as the first step.&lt;/P&gt;&lt;P&gt;I tried to fix things like limit to VR-Default in snmpv3 target-params as I didn’t see any traps sent under neither ‘show snmp vr-def’ nor ‘show snmp vr-mgmt’. I thought they are not sent as it tried VR-Mgmt by default and it was down so nothing to send. But when I limited the VR scope, it didn’t work.&lt;/P&gt;&lt;P&gt;Moved between 30.7 and 31.2 just to check for any potential fw issue.&lt;/P&gt;&lt;P&gt;After a bit of lurking around the same show commands again and again and staring into the void I have spotted that XMC’s right-click option put a username into EXOS config that I don’t want to use (ie. I have a different username in SNMP part of device profile):&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;configure snmpv3 add target-params "TV1v3snmpuser" user&lt;SPAN style="color:#c0392b;"&gt;&lt;STRONG&gt; "snmpuser"&lt;/STRONG&gt;&lt;/SPAN&gt; mp-model snmpv3 sec-model usm sec-level priv&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;And it was wrong, because I have created SNMPv3 user called xmc for XMC-EXOS communication and I don’t have snmpuser account in SNMP config of EXOS at all.&lt;/P&gt;&lt;P&gt;So I have modified this line in EXOS. The switch started sending traps! But… Nothing in XMC.&lt;/P&gt;&lt;P&gt;With tcpdump on XMC (helped a lot as ‘show snmpv3 counters’ are good in default communication direction, not relevant for Traps/Informs) I could see this kind of stuff:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;DIV&gt;&lt;SPAN style="color:#000000;"&gt;21:53:51.339422 00:04:96:d7:85:28 (oui Unknown) &amp;gt; 00:0c:29:c3:94:f8 (oui Unknown), ethertype IPv4 (0x0800), length 271: 172.16.101.1.44417 &amp;gt; xmc.lab.local.snmp-trap:&amp;nbsp; F=apr U="xmc" [!scoped PDU]01_5[ABBREVIATED - Tomasz]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color:#000000;"&gt;21:53:51.339607 00:0c:29:c3:94:f8 (oui Unknown) &amp;gt; 00:04:96:d7:85:28 (oui Unknown), ethertype IPv4 (0x0800), length 148: xmc.lab.local.snmp-trap &amp;gt; 172.16.101.1.44417:&amp;nbsp; F= U="xmc" E=_80_00_1f_88_80_2b_a1_56_5d_46_43_30_60 C="" Report(28)&amp;nbsp; S:&lt;/SPAN&gt;&lt;SPAN style="color:#c0392b;"&gt;&lt;STRONG&gt;snmpUsmMIB.usmMIBObjects.usmStats.usmStatsUnknownUserNames&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#000000;"&gt;.0=23&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;DIV&gt;That was strange indeed. I have decided to run through /usr/postinstall/snmpconfig to change the default snmpuser to my good ol’ pal ‘xmc’.&amp;nbsp;During deployment I didn’t change it as I considered it just for SNMP agent on XMC in case of anything above trying to poll XMC server.&lt;/DIV&gt;&lt;DIV&gt;Restarted the service, restarted the server. No friggin’ luck this time.&lt;/DIV&gt;&lt;DIV&gt;After digging more I have realized that postinstall script is modifying /etc/snmp/snmpd.conf but it doesn’t touch &lt;STRONG&gt;/usr/local/Extreme_Networks/NetSight/appdata/snmptrapd.conf&lt;/STRONG&gt;. I have added a line to cover my non-default user (&lt;STRONG&gt;‘createUser xmc SHA &amp;lt;authcred&amp;gt; AES &amp;lt;privcred&amp;gt;’&lt;/STRONG&gt;). Traps finally got succesfully processed by XMC and displayed under Events tab.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;My quesion is - is this FAD? I had to manually modify /usr/local/Extreme…/appdata/snmptrapd.conf with my non-default EXOS SNMPv3 user (although the file comments wanted to discourage me) as right-click ‘Register Trap Receiver’ wasn’t using my Device Profile SNMP user and that user was neither reflected in the config to receive traps.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;Tomasz&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;P.S. If you find that useful for non-defaults in SNMP config, perhaps it’s worth noting in the KB until XMC behavior is adjusted.&lt;/DIV&gt;</description>
      <pubDate>Wed, 07 Apr 2021 04:28:35 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/non-default-snmp-user-in-xmc-headache-with-traps-fad/m-p/77025#M8633</guid>
      <dc:creator>Tomasz</dc:creator>
      <dc:date>2021-04-07T04:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: Non-default SNMP User in XMC = headache with Traps... FAD?</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/non-default-snmp-user-in-xmc-headache-with-traps-fad/m-p/77026#M8634</link>
      <description>&lt;P&gt;Now I look at this traps view in XMC like Thanos stared at some sights after wiping out half of life in the universe.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 04:38:32 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/non-default-snmp-user-in-xmc-headache-with-traps-fad/m-p/77026#M8634</guid>
      <dc:creator>Tomasz</dc:creator>
      <dc:date>2021-04-07T04:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: Non-default SNMP User in XMC = headache with Traps... FAD?</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/non-default-snmp-user-in-xmc-headache-with-traps-fad/m-p/77027#M8635</link>
      <description>&lt;P&gt;Hi Tomasz,&lt;/P&gt;&lt;P&gt;last time I did something with SNMP Traps in EXOS/XMC it was working as expected, but it was ~2 years ago. Did you take a look at Administration → Options → Trap?&lt;/P&gt;&lt;P&gt;But I had another fatal problem with this: You can only define one global SNMP credential. When you have different snmp-profiles for different subsidaries, this will fail. I don’t know why there isn’t an option to use the SNMP user for traps, that is configured in the selected SNMP profile of the switch.&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;Stefan&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 13:44:31 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/non-default-snmp-user-in-xmc-headache-with-traps-fad/m-p/77027#M8635</guid>
      <dc:creator>Stefan_K_</dc:creator>
      <dc:date>2021-04-07T13:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: Non-default SNMP User in XMC = headache with Traps... FAD?</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/non-default-snmp-user-in-xmc-headache-with-traps-fad/m-p/77028#M8636</link>
      <description>&lt;P&gt;I can confirm, that you need to manually mod the snmptrad.conf for using snmpV3 Traps.&lt;/P&gt;&lt;P&gt;In legacy Java console client you were able to mod this file from GUI with choosing snmp profile. But this function was never ported to WEB-GUI. I don’t know why.&lt;/P&gt;&lt;P&gt;If you use “register trap receiver” in web-gui it is configured as v1/v2c trap or as snmpv3 Inform, which is mostly not working, from my experience.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 14:33:44 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/non-default-snmp-user-in-xmc-headache-with-traps-fad/m-p/77028#M8636</guid>
      <dc:creator>PeterK</dc:creator>
      <dc:date>2021-04-07T14:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Non-default SNMP User in XMC = headache with Traps... FAD?</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/non-default-snmp-user-in-xmc-headache-with-traps-fad/m-p/77029#M8637</link>
      <description>&lt;P&gt;So what is the purpose of this?&lt;/P&gt;&lt;FIGURE&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="66cdd61a90d04377804f3ead26a09018_393cee50-f1ff-4f71-a173-42ac7e221dcb.png"&gt;&lt;img src="https://community.extremenetworks.com/t5/image/serverpage/image-id/725i05E531890A6C452F/image-size/large?v=v2&amp;amp;px=999" role="button" title="66cdd61a90d04377804f3ead26a09018_393cee50-f1ff-4f71-a173-42ac7e221dcb.png" alt="66cdd61a90d04377804f3ead26a09018_393cee50-f1ff-4f71-a173-42ac7e221dcb.png" /&gt;&lt;/span&gt;&lt;/FIGURE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 14:42:49 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/non-default-snmp-user-in-xmc-headache-with-traps-fad/m-p/77029#M8637</guid>
      <dc:creator>Stefan_K_</dc:creator>
      <dc:date>2021-04-07T14:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: Non-default SNMP User in XMC = headache with Traps... FAD?</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/non-default-snmp-user-in-xmc-headache-with-traps-fad/m-p/77030#M8638</link>
      <description>&lt;P&gt;Hi Stefan, Peter,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dang! So simple! I was looking at SNMP options for XMC but didn’t look at Traps...&lt;/P&gt;&lt;P&gt;I have adjusted these options, removed trap config from EXOS and re-registered thru the GUI. It used the correct one.&lt;/P&gt;&lt;P&gt;It works kinda strange but it works indeed. When you choose something else than default_snmp_v3 another record is just added in new line to /usr/local/Extreme_Networks/NetSight/appdata/snmptrapd.conf.&lt;/P&gt;&lt;P&gt;I’d still ask for registering the trap receiver according to snmp user already set on a device (+ if I want to have creds for all kinds of devices in the snmptrapd.conf file, I have to pick each one and save the options several times; EXOS snmp user is ‘xmc’ but for WiNG it’s that ‘snmpmanager’ thing).&lt;/P&gt;&lt;P&gt;Kind of workaround but it’s fair enough.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&gt;Tomasz&lt;/P&gt;</description>
      <pubDate>Thu, 08 Apr 2021 02:33:32 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/non-default-snmp-user-in-xmc-headache-with-traps-fad/m-p/77030#M8638</guid>
      <dc:creator>Tomasz</dc:creator>
      <dc:date>2021-04-08T02:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: Non-default SNMP User in XMC = headache with Traps... FAD?</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/non-default-snmp-user-in-xmc-headache-with-traps-fad/m-p/77031#M8639</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yeah, I would support such a feature request. Extreme needs a &lt;A href="https://www.uservoice.com/" target="_blank" rel="nofollow noreferrer noopener"&gt;Uservoice&lt;/A&gt; where we could upvote such ideas. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Apr 2021 03:03:35 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/non-default-snmp-user-in-xmc-headache-with-traps-fad/m-p/77031#M8639</guid>
      <dc:creator>Stefan_K_</dc:creator>
      <dc:date>2021-04-08T03:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: Non-default SNMP User in XMC = headache with Traps... FAD?</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/non-default-snmp-user-in-xmc-headache-with-traps-fad/m-p/77032#M8640</link>
      <description>&lt;P&gt;Hi Tomasz,&lt;/P&gt;&lt;P&gt;is it registered as trap or as inform?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Apr 2021 13:40:55 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/non-default-snmp-user-in-xmc-headache-with-traps-fad/m-p/77032#M8640</guid>
      <dc:creator>PeterK</dc:creator>
      <dc:date>2021-04-08T13:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: Non-default SNMP User in XMC = headache with Traps... FAD?</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/non-default-snmp-user-in-xmc-headache-with-traps-fad/m-p/77033#M8641</link>
      <description>&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Inform (which I prefer):&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;configure snmpv3 add target-addr "TVv3xmc" param "TV1v3xmc" ipaddress 172.16.101.121 transport-port 162 from 172.16.101.1 tag-list "TVInformTag"&lt;BR /&gt;configure snmpv3 add target-params "TV1v3xmc" user "xmc" mp-model snmpv3 sec-model usm sec-level priv&lt;BR /&gt;configure snmpv3 add notify "TVInformTag" tag "TVInformTag" type inform&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Tomasz&lt;/P&gt;</description>
      <pubDate>Thu, 08 Apr 2021 15:10:41 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/non-default-snmp-user-in-xmc-headache-with-traps-fad/m-p/77033#M8641</guid>
      <dc:creator>Tomasz</dc:creator>
      <dc:date>2021-04-08T15:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: Non-default SNMP User in XMC = headache with Traps... FAD?</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/non-default-snmp-user-in-xmc-headache-with-traps-fad/m-p/77034#M8642</link>
      <description>&lt;P&gt;ok, thanks.&lt;/P&gt;&lt;P&gt;I always have trouble to get informs running/displayed in XMC.&lt;/P&gt;&lt;P&gt;That’s why I prefer v3 Traps.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Apr 2021 15:31:23 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/non-default-snmp-user-in-xmc-headache-with-traps-fad/m-p/77034#M8642</guid>
      <dc:creator>PeterK</dc:creator>
      <dc:date>2021-04-08T15:31:23Z</dc:date>
    </item>
  </channel>
</rss>

