Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 
New Member

3560 12.2 SNMP timeout mid-query / SNMP over TCP


we have a setup where our monitoring box has to go through a linux box to get to 3560 to get snmp data, so i have a DNAT setup.

For some strange reason snmpwalk always times out on the same spot.

Right after

IF-MIB::ifHCOutBroadcastPkts.10152 = Counter64: 0

And before

IF-MIB::ifLinkUpDownTrapEnable.1 = INTEGER: enabled(1)

every single time.

snmpwalk -t 60 -v2c udp:linux_box:16108 -c community

(port 16108 DNAT'd to 161/udp)

everything works fine if i go to the switch directly

I figured i could use snmp over tcp, but it does not look like this switch even supports it...

does anyone know how to enable this?


Cisco Employee

Re: 3560 12.2 SNMP timeout mid-query / SNMP over TCP

SNMP over TCP is not supported. This sounds like some kind of buffer problem with Linux's DNAT module.

Since it looks like you're using net-snmp, you might try using its SNMP Proxy capabilities instead of DNAT. You just need to run the net-snmp snmpd on the Linux box.

See on how to configure the proxy.

New Member

Re: 3560 12.2 SNMP timeout mid-query / SNMP over TCP

thank you so much! this solved my problem!

CreatePlease to create content