Mapping of Ports and MAC address is not working for Cisco switches when configured with SNMP v3 


In Switch Port Mapper, we use SNMP protocol to get the ports and 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. This is due to the fact that 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:

This single command creates multiple context name for its all vlan ids.

  1. Execute below command (modify as switch configuration) in the cisco switch. 
  2. 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).

  3. Create new file under OpManager/conf directory
  4. Add entry into file like switch name=vlan (Ex: Replace the appropriate switch name that is under question.
  5. Stop the OpManager service.
  6. Rename the logs folder located under OpManager/ directory and create a new folder as logs under OpManager/ directory.
  7. Start the OpManager service.
  8. Then re-scan the switches from Inventory-->IP Management-->Switches and let update us the status.

More Information

24/5 Support

Support will be available 24hrs a day and five days a week (Monday through Friday), excluding USA & India public holidays.

Tel : +1-888-720-9500
Email :

Speak to us

  • Join the OpUtils Community, to get instant answers for your queries, register with our Forum.
  • Tweet the latest happenings in OpUtils, follow us at Twitter.