01-11-2023 09:05 AM
I downloaded the MIB files from https://docs.aerohive.com/330000/docs/help/english/ng/Content/reference/docs/auxiliary-files.htm
And I have all the other dependencies such as SNMPv2-SMI. I can parse extreme/ah_system_mib.txt using this command without issues:
$ smidump -l 5 -f python -p SNMPv2-SMI -p SNMPv2-TC -p extreme/ah_smi_mib.txt -p IF-MIB extreme/ah_system_mib.txt
However when I try to parse the other mib files, I get errors like this:
$ smidump -l 5 -f python -p SNMPv2-SMI -p SNMPv2-TC -p extreme/ah_smi_mib.txt -p IF-MIB extreme/ah_mrp_mib.txt
extreme/ah_mrp_mib.txt:28: revision for last update is missing
extreme/ah_mrp_mib.txt:31: macro `TEXTUAL-CONVENTION' has not been imported from module `SNMPv2-TC'
extreme/ah_mrp_mib.txt:66: SMIv2 base type `Counter32' must be imported from SNMPv2-SMI
extreme/ah_mrp_mib.txt:67: SMIv2 base type `Integer32' must be imported from SNMPv2-SMI
extreme/ah_mrp_mib.txt:68: SMIv2 base type `Counter32' must be imported from SNMPv2-SMI
extreme/ah_mrp_mib.txt:70: SMIv2 base type `Counter32' must be imported from SNMPv2-SMI
extreme/ah_mrp_mib.txt:71: SMIv2 base type `Counter32' must be imported from SNMPv2-SMI
extreme/ah_mrp_mib.txt:72: SMIv2 base type `Counter32' must be imported from SNMPv2-SMI
extreme/ah_mrp_mib.txt:73: SMIv2 base type `Counter32' must be imported from SNMPv2-SMI
extreme/ah_mrp_mib.txt:74: SMIv2 base type `Counter32' must be imported from SNMPv2-SMI
extreme/ah_mrp_mib.txt:75: SMIv2 base type `Counter32' must be imported from SNMPv2-SMI
extreme/ah_mrp_mib.txt:76: SMIv2 base type `Counter32' must be imported from SNMPv2-SMI
extreme/ah_mrp_mib.txt:77: SMIv2 base type `Counter32' must be imported from SNMPv2-SMI
extreme/ah_mrp_mib.txt:78: SMIv2 base type `Counter32' must be imported from SNMPv2-SMI
extreme/ah_mrp_mib.txt:79: SMIv2 base type `Counter32' must be imported from SNMPv2-SMI
extreme/ah_mrp_mib.txt:80: SMIv2 base type `Counter32' must be imported from SNMPv2-SMI
extreme/ah_mrp_mib.txt:81: SMIv2 base type `Counter32' must be imported from SNMPv2-SMI
extreme/ah_mrp_mib.txt:82: SMIv2 base type `Counter32' must be imported from SNMPv2-SMI
extreme/ah_mrp_mib.txt:83: SMIv2 base type `Counter32' must be imported from SNMPv2-SMI
extreme/ah_mrp_mib.txt:84: SMIv2 base type `Counter32' must be imported from SNMPv2-SMI
extreme/ah_mrp_mib.txt:86: SMIv2 base type `Counter32' must be imported from SNMPv2-SMI
extreme/ah_mrp_mib.txt:97: SMIv2 base type `Counter32' must be imported from SNMPv2-SMI
extreme/ah_mrp_mib.txt:104: SMIv2 base type `Integer32' must be imported from SNMPv2-SMI
extreme/ah_mrp_mib.txt:112: SMIv2 base type `Counter32' must be imported from SNMPv2-SMI
extreme/ah_mrp_mib.txt:117: warning: identifier `ahLinkType' differs from `AhLinkType' only in case
extreme/ah_mrp_mib.txt:126: SMIv2 base type `Counter32' must be imported from SNMPv2-SMI
extreme/ah_mrp_mib.txt:134: SMIv2 base type `Counter32' must be imported from SNMPv2-SMI
extreme/ah_mrp_mib.txt:142: SMIv2 base type `Counter32' must be imported from SNMPv2-SMI
extreme/ah_mrp_mib.txt:150: SMIv2 base type `Counter32' must be imported from SNMPv2-SMI
extreme/ah_mrp_mib.txt:158: SMIv2 base type `Counter32' must be imported from SNMPv2-SMI
extreme/ah_mrp_mib.txt:166: SMIv2 base type `Counter32' must be imported from SNMPv2-SMI
extreme/ah_mrp_mib.txt:174: SMIv2 base type `Counter32' must be imported from SNMPv2-SMI
extreme/ah_mrp_mib.txt:182: SMIv2 base type `Counter32' must be imported from SNMPv2-SMI
extreme/ah_mrp_mib.txt:190: SMIv2 base type `Counter32' must be imported from SNMPv2-SMI
extreme/ah_mrp_mib.txt:198: SMIv2 base type `Counter32' must be imported from SNMPv2-SMI
extreme/ah_mrp_mib.txt:206: SMIv2 base type `Counter32' must be imported from SNMPv2-SMI
extreme/ah_mrp_mib.txt:214: SMIv2 base type `Counter32' must be imported from SNMPv2-SMI
extreme/ah_mrp_mib.txt:222: SMIv2 base type `Counter32' must be imported from SNMPv2-SMI
extreme/ah_mrp_mib.txt:230: SMIv2 base type `Counter32' must be imported from SNMPv2-SMI
extreme/ah_mrp_mib.txt:238: SMIv2 base type `Counter32' must be imported from SNMPv2-SMI
extreme/ah_mrp_mib.txt:246: SMIv2 base type `Counter32' must be imported from SNMPv2-SMI
extreme/ah_mrp_mib.txt:64: warning: SEQUENCE element #13 `ahTxBeDataFrames' does not match order of columnar objects under `ahNeighborEntry'
extreme/ah_mrp_mib.txt:56: warning: index element `ahNeighberAPId' of row `ahNeighborEntry' should be not-accessible in SMIv2 MIB
extreme/ah_mrp_mib.txt:88: warning: node `ahNeighberAPId' must be contained in at least one conformance group
extreme/ah_mrp_mib.txt:95: warning: node `ahLinkCost' must be contained in at least one conformance group
extreme/ah_mrp_mib.txt:102: warning: node `ahRSSI' must be contained in at least one conformance group
extreme/ah_mrp_mib.txt:110: warning: node `ahLinkUptime' must be contained in at least one conformance group
extreme/ah_mrp_mib.txt:117: warning: node `ahLinkType' must be contained in at least one conformance group
extreme/ah_mrp_mib.txt:124: warning: node `ahRxDataFrames' must be contained in at least one conformance group
extreme/ah_mrp_mib.txt:132: warning: node `ahRXDataOctets' must be contained in at least one conformance group
extreme/ah_mrp_mib.txt:140: warning: node `ahRxMgtFrames' must be contained in at least one conformance group
extreme/ah_mrp_mib.txt:148: warning: node `ahRxUnicastFrames' must be contained in at least one conformance group
extreme/ah_mrp_mib.txt:156: warning: node `ahRxMulticastFrames' must be contained in at least one conformance group
extreme/ah_mrp_mib.txt:164: warning: node `ahRxBroadcastFrames' must be contained in at least one conformance group
extreme/ah_mrp_mib.txt:172: warning: node `ahTxDataFrames' must be contained in at least one conformance group
extreme/ah_mrp_mib.txt:220: warning: node `ahTxBeDataFrames' must be contained in at least one conformance group
extreme/ah_mrp_mib.txt:228: warning: node `ahTxBgDataFrames' must be contained in at least one conformance group
extreme/ah_mrp_mib.txt:236: warning: node `ahTxViDataFrames' must be contained in at least one conformance group
extreme/ah_mrp_mib.txt:244: warning: node `ahTxVoDataFrames' must be contained in at least one conformance group
extreme/ah_mrp_mib.txt:180: warning: node `ahTxMgtFrames' must be contained in at least one conformance group
extreme/ah_mrp_mib.txt:188: warning: node `ahTxDataOctets' must be contained in at least one conformance group
extreme/ah_mrp_mib.txt:196: warning: node `ahTxUnicastFrames' must be contained in at least one conformance group
extreme/ah_mrp_mib.txt:204: warning: node `ahTxMulticastFrames' must be contained in at least one conformance group
extreme/ah_mrp_mib.txt:212: warning: node `ahTxBroadcastFrames' must be contained in at least one conformance group
extreme/ah_mrp_mib.txt:14: warning: identifier `AhString' imported from module `AH-SMI-MIB' is never used
extreme/ah_mrp_mib.txt:16: warning: identifier `ifEntry' imported from module `IF-MIB' is never used
smidump: module `extreme/ah_mrp_mib.txt' contains errors, expect flawed output
smidump: aborting due to severe parsing errors
smidump: use the -k option to force continuation
$
Any ideas what I'm doing wrong?