cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5780
Views
0
Helpful
3
Replies

%IP_SNMP-3-SOCKET: can't open UDP socket 14w1d: Unable to open socket on port 161

Diwakar Dayalan
Level 1
Level 1

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

3 Replies 3

cadet alain
VIP Alumni
VIP Alumni

Hi,

Can you do  sh run | in snmp as well as sh access-list and sh ip int br | exc una

Regards.

Alain.

Don't forget to rate helpful posts.

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.

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.