Hi,
Thanks for the answer.
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?
Thanks
Abid
2013/7/25 Fulko Hew <fulko....@gmail.com>
>
>
> On Thu, Jul 25, 2013 at 10:13 AM, Abid Ayoub <abid.ay...@gmail.com> 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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users