We are having a discovery problem with Brocade/Foundry switches. On certain model switches, we get a discovery error of “SWFE-E-ELOOP-Agent loops in response to GET_NEXT: Agent: 10.2.6.10, First OID: .22.214.171.124.126.96.36.199.188.8.131.52.184.108.40.206.165“, with a different OID every time.
An snmpwalk of the switch fails with the following, also with different OIDs:
Error: OID not increasing:
>>>>>>> = SNMPv2-SMI::mib-220.127.116.11.18.104.22.168.22.214.171.124
The vendor is recommending that we use the “-Cc” flag. They reference the man page for snmpwalk:
“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 behavior as -Cc Do not check
whether the returned OIDs are increasing.”
Is there a way to do this in ItOps IP 8.1.2?
Btw, I have tried SNMP v1 and v2c. Both have the same results.
In IP 7.0.4 & 8.1.2 there were changes to fix some issues with a looping snmp agent. There is a --loop option in snmpwalk that can be used to try and get around this issue. However, if you are running 8.1.2 and still have issues with discovery, it may be worth logging a ticket and including the log file (when run in debug mode) to the ticket to see if an Enhancement request is needed or the problem is with the vendor MIB. Many thanks Mark
One other thing I forgot to mention, if you are running McAfee or similar, disable this for a short while and see if that makes a difference.
The short answer is no. For the sm_snmpwalk utility there is some logic to try and skip ahead to the next branch of the SNMP MIB, but during discovery, we are attempting to probe specific leaf entries - not just get the full tree.
I would suggest that your course of action here is to talk to support to change the certification for the device which will avoid the problematic spots in the MIB.