LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 03-19-2004, 05:05 AM   #1
toships
Member
 
Registered: Feb 2004
Posts: 30

Rep: Reputation: 15
snmpwalk error: OID not increasing


Hi all

System info:
ORiNOCO AP-2000
RH9.0
net-snmp-5.1

Problem :
When snmpwalk is executed it list the OID and then stops with the following error
Error: OID not increasing: RFC1213-MIB::atIfIndex.2.192.168.2.2
>= RFC1213-MIB::atIfIndex.1.192.168.2.20

But when I try snmpgetnext this is what I get
# snmpgetnext -v 2c -c public 192.168.2.2 RFC1213-MIB::atIfIndex.1.192.168.2.20
RFC1213-MIB::atPhysAddress.1.192.168.2.0 = Hex-STRING: 00 00 00 00 00 00

I can continue with RFC1213-MIB::atPhysAddress.1.192.168.2.0 and get the next OID using snmpgetnext.

Question:
What is going on and how to correct it ? I am looking for a snmpwalk that will give me all of my OIDs.

Thanks in advance.
 
Old 03-19-2004, 10:01 PM   #2
rstory
LQ Newbie
 
Registered: Mar 2004
Posts: 21

Rep: Reputation: 15
From the snmpwalk man page:

-Cc Do not check whether the returned OIDs are increasing. Some agents (LaserJets are an example) return OIDs out of order, but can complete the walk anyway. Other agents return OIDs that are out of order and can cause snmpwalk to loop indefinitely. By default, snmpwalk tries to detect this behavior and warns you when it hits an agent acting illegally. Use -Cc to turn off this behaviour.
 
Old 03-20-2004, 01:02 PM   #3
toships
Member
 
Registered: Feb 2004
Posts: 30

Original Poster
Rep: Reputation: 15
Thank you rstory. After using -Cc option it worked out fine.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
snmp set my oid alaios Linux - Networking 2 06-02-2005 11:57 PM
printing oid ? jinx@king Linux - Networking 1 06-01-2005 02:07 AM
Why cannot I get the OID?? davyzhang Programming 1 05-09-2005 08:16 AM
snmpwalk st3reo Linux - Networking 3 11-19-2004 08:56 AM
snmpwalk in redhat 9.0 rawson_fang Linux - Software 0 08-07-2003 05:05 PM


All times are GMT -5. The time now is 03:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration