RE: Timeout

Jurkiewicz Jean-Marc <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
With « term mon » ( Terminal monitor) + "debug snmp"  entered on the switch, you should get some messages on the switch.
Do you see some ?

Best regards
JM

De : Abid Ayoub [mailto:[email protected]]
Envoyé : Montag, 29. Juli 2013 10:01
À : Lee
Cc : [email protected]
Objet : Re: Timeout

Hi,

I get nothing, i get the same message : Timeout: No Response from <IP>
so , are there other solutions to solve this problem ?

Abid

2013/7/26 Lee <[email protected]<mailto:[email protected]>>
On 7/26/13, Abid Ayoub <[email protected]<mailto:[email protected]>> wrote:
>
> I think that the problem is in udp port or in ip adresse because there is
> only one community string configured and have already tried the command
> with "v2c" and "v3".
>
> So any idea how can i change the port used by net-snmp and be certain that
> cisco is configured to accept requests from your IP address?
The port number isn't the problem.  To see what's happening on the
switch, get into enable mode on the switch & do
conf t
snmp-server community zuperZekret ro
end
term mon
debug snmp packets

Then from your PC do
snmpget -v 2c -c zuperZekret <ip address of switch> .1.3.6.1.2.1.1.5.0

that should give you enough information to figure out what the problem is

Regards,
Lee



>
> Thanks
> Abid
>
>
>
> 2013/7/25 Fulko Hew <[email protected]<mailto:[email protected]>>
>
>>
>>
>> On Thu, Jul 25, 2013 at 10:13 AM, Abid Ayoub <[email protected]<mailto:[email protected]>>
>> wrote:
>>
>>> Hello,
>>>
>>> This is the first time that i use net-snmp.
>>> So, i want to know the general configuration and other informations
>>> about
>>> my cisco switch using snmpwalk and snmpget.
>>>  So , i use the following command:
>>>
>>> snmpget -c <community> -v2c <IP> 1.3.6.1.6.1
>>>
>>> but i get immer :
>>>
>>> Timeout: No Response from <IP>
>>>
>>> i connect to the switch using ssh , but the command don´t work .
>>>
>>> So , any idea about the problem ? what is wrong ?
>>>
>>
>> Only the obvious:
>>
>> - a firewall is blocking UDP port 161 between yr box and the Cisco switch
>> - you are using the wrong community string
>> - your Cisco isn't configured to support SNMP v2c
>> - your Cisco isnt' configured to accept requests from your IP address.
>>
>> FYI:
>> Since the OID you stated isn't an ultimate variable, but just a branch in
>> the tree...
>> you will (eventually) get a 'noSuch' response.  Once you get your other
>> issue resolved,
>> either specify a real variable, or use snmpwalk instead.

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.