Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.


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

Rep: Reputation: 15
snmpwalk error: OID not increasing

Hi all

System info:

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

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

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

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
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
Registered: Feb 2004
Posts: 30

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


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 > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 08:11 PM.

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