Networking

Enable SNMPv3 on Summit XOS Switch configured with enhanced security

How to Enable SNMPv3 on Summit XOS Switch configured with enhanced security

Recently, I ran into an issue connected an XOS switch to Netsight monitoring. ย After lookingย at Netsight, the console simply said the status was “Contact Lost.” ย From within Netsight however, I could ping the switch (simply right click the switch listed in the console tree and selectย Ping).

extreme_snmp00

As you can see above, I had ping responses which means at least at layer three I have network connectivity. ย This pointed the problem towards SNMP configuration. ย This switch when configured initially was setup in the “enhanced security” mode which basically turns off everything until it is explicitly turned back on in the initial setup. ย On issuing aย show config snmp the configuration looked like this:

extreme_snmp01

As seen above, you can see the reason that SNMP is not working correctly. ย Also aย show log revealed many entries with Access Denied messages and the sort for SNMP. ย The following are the commands used to correct the issue with SNMP:

Adding the users back:

configure snmpv3 add user "admin" engine-id <your engine-id goes here>
configure snmpv3 add user "initial" engine-id <your engine-id goes here>
configure snmpv3 add user "initialmd5" engine-id <your engine-id goes here>
configure snmpv3 add user "initialsha" engine-id <your engine-id goes here>
configure snmpv3 add user "initialmd5Priv" engine-id <your engine-id goes here>
configure snmpv3 add user "initialshaPriv" engine-id <your engine-id goes here>

Enabling the communities:

configure snmp add community readonly public
configure snmp add community readwrite private

Enabling SNMP access:

enable snmp access vr "VR-Default"
enable snmp access vr "VR-Mgmt"
enable snmp access

Setting up the snmpuser:

configure snmpv3 add user yoursnmpuser authentication md5 privacy

Adding your SNMP user to the appropriate group:

conf snmpv3 add group admin user yoursnmpuser sec-model usm

After the appropriate configuration has been put in place on the switch side, we can now go into Netsight and test the configuration using the MIB Tools:

Right-click the device in question and then selectย MIB Tools

extreme_snmp02

You can then select theย Profile dropdown to test SNMP versions 1-3.

extreme_snmp03

If the test is successful, you will see theย Device Request: Contact was establishedย message at the bottom of the MIB Tools window.

extreme_snmp04

Configuring SNMP on XOS switches is not a difficult task, however, depending on whether or not the switch was initially configured with the enhanced security option will definitely make a difference in how much configuration needs to be put in place on the switch to allow SNMP communication.

Subscribe to VirtualizationHowto via Email ๐Ÿ””

Enter your email address to subscribe to this blog and receive notifications of new posts by email.



Brandon Lee

Brandon Lee is the Senior Writer, Engineer and owner at Virtualizationhowto.com, and a 7-time VMware vExpert, with over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, He has extensive experience in various IT segments and is a strong advocate for open source technologies. Brandon holds many industry certifications, loves the outdoors and spending time with family. Also, he goes through the effort of testing and troubleshooting issues, so you don't have to.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.