Search My Techie Guy

Ad from yllix

Wednesday, February 10, 2016

snmpwalk: Timeout: No Response from


Server1:~ # snmpwalk -v2c -c public
Timeout: No Response from

Server1:~ # ifconfig -a
ens160    Link encap:Ethernet  HWaddr 00:0C:29:D1:E6:46  
          inet addr:  Bcast:  Mask:
          inet6 addr: fe80::20c:29ff:fed1:e646/64 Scope:Link
          RX packets:18983282 errors:0 dropped:1223 overruns:0 frame:0
          TX packets:67797 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1646195609 (1569.9 Mb)  TX bytes:5717429 (5.4 Mb)

lo        Link encap:Local Loopback  
          inet addr:  Mask:
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:630856 errors:0 dropped:0 overruns:0 frame:0
          TX packets:630856 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:56145204 (53.5 Mb)  TX bytes:56145204 (53.5 Mb)


Make sure the server IP where you are running the snmpwalk command from has been added as an snmp client and it's IP allowed on the router/switch that you are trying to query.

for my case am trying to query a juniper switch, so i added the line below:

# set snmp community public clients  
# commit 
configuration check succeeds
commit complete

Trying the snmpwalk command again: problem solved

Server1:~ # snmpwalk -v2c -c public
SNMPv2-MIB::sysDescr.0 = STRING: Vodafone UG Border Gateway Router 01
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.2636.
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (3947453981) 456 days, 21:08:59.81
SNMPv2-MIB::sysContact.0 = STRING: Joshua Nomwesigwa 0723000208
SNMPv2-MIB::sysLocation.0 = STRING: Kololo, 1 Hill Drive, Kampala
SNMPv2-MIB::sysServices.0 = INTEGER: 6
Post a Comment