07-18-2008 09:15 AM
i'm having difficulty reading SNMP on some switch stacks - models 3750 and 3560 switches.
what's the secret to making these work with SNMP polls and reading their MIBs?
thanks for any help.
larry
07-18-2008 09:26 AM
No secret. The very basic SNMP config is:
snmp-server community COMMUNITY RO
Where COMMUNITY is your desired read-only SNMP community string. There are a lot of other available options, but that alone will allow you to poll the switches with SNMP v1 or v2c.
07-18-2008 09:37 AM
it does already have that basic config with "public" you described.
one thing which concerns me and it may be why SNMP packets are not returning to my polling.
when you trace route to the switch's IP it includes an extra hop from the same IP. i'm thinking SNMP does not know the return path if it is going through two interfaces or switches in that stack.
for instance - here's an example of a trace route (IP addresses changed but you get the picture)
1 <1 ms <1 ms <1 ms 10.25.110.1
2 * <1 ms <1 ms 10.179.50.33
3 18 ms 5 ms 1 ms mpls1.net
4 11 ms 14 ms 19 ms mpls2.net
5 11 ms 13 ms 14 ms mpls3.net
6 * * * Request timed out.
7 * * * Request timed out.
8 11 ms 14 ms 18 ms mpls4.net
9 22 ms 16 ms 14 ms mpls5.net
10 * 53 ms * Cisco3750Stack [10.15.15.243]
11 52 ms 52 ms 52 ms Cisco3750Stack [10.15.15.243]
07-18-2008 09:49 AM
Yes, it could very well be a network problem that's causing this. If you enable debug snmp packet on the switch, do you see the requests making it?
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