RE: Timeout
Jurkiewicz Jean-Marc <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
If nothing else is displayed, it means that no SNMP packets arrives to the switch : Check the complete path from your station to the switch, including Firewalls, etc, etc. A working access would be displayed like follow on the station/switch STATION : [jur466@nocu07 ~]$ /usr/bin/snmpwalk -c MailleComunity mgth03 .1.3.6.1.2.1.1.1.0 = STRING: Cisco IOS Software, C3560 Software (C3560-IPBASE-M), Version 12.2(25)SEE2, RELEASE SOFTWARE (fc1) Copyright (c) 1986-2006 by Cisco Systems, Inc. Compiled Fri 28-Jul-06 07:19 by yenanh .1.3.6.1.2.1.1.2.0 = OID: .1.3.6.1.4.1.9.1.563 .1.3.6.1.2.1.1.3.0 = Timeticks: (2997499098) 346 days, 22:23:10.98 .1.3.6.1.2.1.1.4.0 = STRING: NOC 061 686 17 50 .1.3.6.1.2.1.1.5.0 = STRING: mgth03.manor.ch Etc etc SWITCH : Jul 29 13:55:55.375: SNMP: Packet received via UDP from 169.232.1.2 on Vlan233 Jul 29 13:55:55.375: SNMP: Get-next request, reqid 1375963442, errstat 0, erridx 0 mib-2 = NULL TYPE/VALUE Jul 29 13:55:55.375: SNMP: Response, reqid 1375963442, errstat 0, erridx 0 system.1.0 = Cisco IOS Software, C3560 Software (C3560-IPBASE-M), Version 12.2(25)SEE2, RELEASE SOFTWARE (fc1) Jul 29 13:55:55.384: SNMP: Packet sent via UDP to 169.232.1.2 Jul 29 13:55:55.384: SNMP: Packet received via UDP from 169.232.1.2 on Vlan233 Jul 29 13:55:55.384: SNMP: Get-next request, reqid 1375963443, errstat 0, erridx 0 system.1.0 = NULL TYPE/VALUE Jul 29 13:55:55.384: SNMP: Response, reqid 1375963443, errstat 0, erridx 0 system.2.0 = products.563 Jul 29 13:55:55.392: SNMP: Packet sent via UDP to 169.232.1.2 Jul 29 13:55:55.392: SNMP: Packet received via UDP from 169.232.1.2 on Vlan233 Jul 29 13:55:55.392: SNMP: Get-next request, reqid 1375963444, errstat 0, erridx 0 system.2.0 = NULL TYPE/VALUE Jul 29 13:55:55.392: SNMP: Response, reqid 1375963444, errstat 0, erridx 0 sysUpTime.0 = 2997482308 Jul 29 13:55:55.392: SNMP: Packet sent via UDP to 169.232.1.2 Jul 29 13:55:55.392: SNMP: Packet received via UDP from 169.232.1.2 on Vlan233 Jul 29 13:55:55.392: SNMP: Get-next request, reqid 1375963445, errstat 0, erridx 0 sysUpTime.0 = NULL TYPE/VALUE etc etc De : Abid Ayoub [mailto:[email protected]] Envoyé : Montag, 29. Juli 2013 13:41 À : Jurkiewicz Jean-Marc Cc : Lee; [email protected] Objet : Re: Timeout Hi, after i enter : term mon debug snmp packets i get : SNMP packet debugging is on Abid 2013/7/29 Jurkiewicz Jean-Marc <[email protected]<mailto:[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]<mailto:[email protected]>] Envoyé : Montag, 29. Juli 2013 10:01 À : Lee Cc : [email protected]<mailto:[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