04-04-2011 04:23 AM - edited 03-06-2019 04:25 PM
Hi ,
I'm trying to configure the SNMP in switch 3750 but not able to pull the details . it throwing the error which is mention below a
%IP_SNMP-3-SOCKET: can't open UDP socket
14w1d: Unable to open socket on port 161
IOS version : c3750-ipbasek9-mz.122-25.SEE2.bin
Even i googled , most of the answer show if there is no ip address in interface or in VLAN or might be memory low
But i have the IP address in the VLAN , even i have enough memory.
Head Total(b) Used(b) Free(b) Lowest(b) Largest(b)
Processor 1F5BD0C 89015028 26102836 62912192 59227760 61235104
I/O 7400000 12574720 8417344 4157376 4071808 4149576
And same way i have configured SNMP in another switch 3750, which has same memory.In that i did't this kind of error.
Advance Thank
04-04-2011 04:55 AM
Hi,
Can you do sh run | in snmp as well as sh access-list and sh ip int br | exc una
Regards.
Alain.
04-04-2011 05:12 AM
Hi ,
Atlast i got the solution , Now i'm able to recieve snmp.
Here it a tricky one,
I have use the command
Snmp-server trap-source vlan 3
in that vlan 3 I have the IP address.
But the switch is looking for the IP address in the vlan 1, but I did't have the ip address in it .
That is why it is throwing the error. So the mandatory we need to give the ip address in vlan 1 . Even though if you have IP address in some other VLAN.for e.g ., in vlan 3 or 4 ...
Even though why the SNMP is looking IP address only in vlan 1 ?
Thanks for qick reply ...
Cisco makes me think alot.
08-30-2017 12:48 PM
I have found that if you don't need VLAN 1, shutdown the vlan. I was getting the same message and I referred to the other user ptting an IP on VLAN 1, but in reality, once I shutdown the interface, my snmp server could poll 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