09-26-2016 09:37 AM - edited 03-08-2019 07:35 AM
Hello
I have a 3945 integrated router. On a separate server I am trying to monitor the status of all the interfaces via SNMP through the ifTable.
I am running into an issue of trying to obtain status of interfaces on the switch. From my understanding the router and the switch are separate from each other with their own IOS and SNMP agent.
How would I go about accessing the MIB of the switch via SNMP?
Thanks for the help!
09-26-2016 07:15 PM
Hi,
Similar to router , you need to enable SNMP on the switch to acsess or manage the device via SNMP.
Switch# snmp-server community <community name> RO/RW
that's it.. :)
Now , you can poll the device statics via SNMP from your monitoring tool after adding this switch
in your tool .
Link for your reference :
http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/7282-12.html#enablesnmp
Thanks-
Afroz
***Ratings Encourages Contributors ***
09-27-2016 05:29 PM
Hi Afroz!
Thanks for the response.
I am using SNMP v3 and have set up my groups/users on both the router and the switch. The issue I am running into is that when I poll the SNMP device I only retrieve MIB elements associated with the router.
I cant seem to access the SNMP agent associated with the switch even when setting the SNMP target address to an interface on the switch.
Thanks
John
09-27-2016 06:08 PM
how are you trying to access it ?
can you try to configure or poll the switch with SNMPv2 and see how it works...
Thanks-
Afroz
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide