Ports and Mac Address mapping not working for Cisco Switches configured with SNMP v3

Ports and Mac Address mapping not working for Cisco Switches configured with SNMP v3

In OpUtils Switch Port Mapper, we use SNMP to get the Ports & MAC Address details. However, If Cisco Switches are configured with SNMP V3 then we would not be able to get the Ports and Mac address details using the normal SNMP query because the SNMP v3 in Cisco does not support without vlan -match prefix command enabled for SNMP-server.

In case of Cisco Switches added using SNMP v3  credentials and does not show the Mac address details in the Switch port mapper then follow the below steps to get the mac details in SPM.

This single command creates multiple context name for its all vlan ids.
     
1. Execute below command (modify as switch configuration) in the cisco switch. Change the type to auth or priv based on the security level used.

      snmp-server group yourGroupName v3 auth context vlan- match prefix read ViewName

Then execute below command also for include mibs. (Ignore if the commands are already configured).

      snmp-server view ViewName iso included 

      snmp-server view ViewName mib-2 included 

      snmp-server view ViewName cisco included

      write memory (to make sure the configuration is saved). 

2. Create new file CiscoSwitches.properties under OpManager/conf directory

3. Add entry into CiscoSwitches.properties file like switch name=vlan

(Ex: 192.161.44.100=vlan) Replace the appropriate switch name that is under question. 

4. Stop the OpManager service.

5. Rename the logs folder located under OpManager/ directory and create a new folder as logs under OpManager/ directory.

6. Start the OpManager service

7. Then re-scan the switches from  Inventory-->IP Management-->Switches and let update us the status.

Please refer the below link for further clarification about this configuration given by Cisco.

          • Related Articles

          • Error Retrieving config file even after SNMP & TFTP success in OpUtils

            Sometimes, The config file won't be retrieved even the device would responding to SNMP queries and manual file transfer will work. ...
          • OpUtils - DNS Not resolved across the ipam/spm

            By Design, OpUtils will query the DNS Server to get the DNS Names for the IP Addresses. Please follow the below steps and check the reported issue. Solution 1:     1. Add your DNS server(s) from Settings > OpUtils > IPAM > General    (Ignore if it is ...
          • 80014 DHCP Server Scan not working

            Follow the below steps to apply the debug patch. Stop the ManageEngine OpUtils Service. Rename the OpUtils\logs folder to OpUtils\logs_old. Download the dll file from mail attachment Go to <OpUtils installation Directory>/Oputils/lib/native Rename ...
          • Error Retrieving config file in OpUtils

            We might get this error msg if the network connection between cisco device and OpUtils server is not configured properly or windows firewall might block the file copy to server. To ensure this, We can try manual pushing of config file from cisco ...
          • (Linux) Why Nmap not works / Subnets in IPAM not scanned

            ​Take Screenshots/Output for all the below commands for troubleshooting and giving solution asap Scenario 1 :  If nmap not works in linux machine, We have to change mode to executable. Resolution: Go to OpManager/Nmap directory via terminal. Exceute ...