📄 notes.txt
字号:
All RFCs containing MIBs have been checked through rfc3055. This is as of02/20/2001.Here is the list of MIBs that were not included in the makefile:rfc1065 Obsoleted by rfc1155.rfc1066 Obsoleted by rfc1156.rfc1067 Obsoleted by rfc1098 then rfc1157.rfc1085 Appears to be ASN.1 formatted example.rfc1095 Uses "CHOICE" in one MIB. Obsoleted by rfc1189 (HISTORIC) which does not have a replacement MIB.rfc1098 Uses "CHOICE". Appears to be ASN.1 formatted example.rfc1142 Not a complete MIB.rfc1155 Uses "CHOICE". Appears to be ASN.1 formatted example.rfc1157 Uses "CHOICE". Appears to be ASN.1 formatted example.rfc1165 Uses "CHOICE". Appears to be ASN.1 formatted example.rfc1212 An ASN.1 formatted example.rfc1214 Uses "CHOICE". Appears to be ASN.1 formatted example.rfc1218 Informational.rfc1224 Experimental MIB. Definition.rfc1227 Uses "CHOICE". Appears to be ASN.1 formatted example.rfc1248 Errors in this MIB are fixed in rfc1252.rfc1303 ASN.1 style description. Not a MIB.rfc1442 Uses "CHOICE". Appears to be ASN.1 formatted example.rfc1443 Attempts to redefine SNMPv2-TC which Emissary doesn't allow.rfc1444 Attempts to redefine SNMPv2-CONF which Emissary doesn't allow.rfc1448 Uses "CHOICE". Appears to be ASN.1 formatted example.rfc1449 Attempts to redefine SNMPv2-TM which Emissary doesn't allow.rfc1487 Uses "CHOICE". Appears to be ASN.1 formatted example.rfc1494 Does not appear to be a complete MIB. rfc1495 Does not appear to be a complete MIB. rfc1507 Uses "CHOICE". Appears to be ASN.1 formatted example.rfc1508 ASN.1 style description. Not a MIB.rfc1596 Fatal error. Obsoleted by rfc1604. rfc1801 Uses "CHOICE". Appears to be ASN.1 formatted example.rfc1901 ASN.1 style description. Not a MIB.rfc1902 Uses "CHOICE". Appears to be ASN.1 formatted example.rfc1903 Attempts to redefine SNMPv2-TC which Emissary doesn't allow.rfc1904 Attempts to redefine SNMPv2-CONF which Emissary doesn't allow.rfc1905 Uses "CHOICE". Appears to be ASN.1 formatted example.rfc1906 Attempts to redefine SNMPv2-TM which Emissary doesn't allow.rfc2078 ASN.1 style description. Not a MIB.rfc2157 MIB is there for OID assignments. "mixer" is not "{ mail 1 }".rfc2160 Requires rfc2157, which is not a "good" MIB.rfc2479 ASN.1 style description. Not a MIB. rfc2524 Does not appear to be a complete MIB. rfc2578 Redefinition of SNMPv2-SMI. rfc2579 Redefinition of SNMPv2-TC. rfc2580 Redefinition of SNMPv2-CONF. rfc2649 Does not appear to be a complete MIB. rfc2898 This does not appear to be a correctly formed MIB.rfc3159 ASN.1 style description. Not a MIB. rfc3416 Definition of SNMPv2-PDU, not a complete MIB.rfc3417 Redefinition of SNMPv2-TM.Below is the list of files that could be changed to make them compile:iftype The line with mfSigLink has a comma after the "(167)", it shouldn't.rfc1156 Got a number of 'rfc1156.mib:nnn: the row object "xxxxxx" must have an INDEX clause.' errors. To fix these I added index clauses that seemed to make the most sense. Also got 'rfc1156.mib:571: expected a string, got }' because of an extra comma after the last item in a list. The changes are shown below: 84a63 > INDEX { ifIndex } 301a281 > INDEX { atIfIndex } 461a442 > INDEX { ipAdEntIfIndex } 510a492 > INDEX { ipRouteIfIndex } 588c570 < remote(4), -- host/network/sub-network --- > remote(4) -- host/network/sub-network 878a861 > INDEX { tcpConnLocalPort } 999a983 > INDEX { egpNeighAddr }rfc1158 DisplayString was not IMPORTed from SNMPv2-TC. Got a number of 'rfc1158.mib:nnn: the row object "xxxxxx" must have an INDEX clause.' errors. To fix these I added index clauses that seemed to make the most sense. Got 'rfc1158.mib:671: expected right-brace, got bgp' because of a missing comma in a list declaration. Got 'rfc1158.mib:510: sequence type "IpAddrEntry" references undefined columnar object "ipAdEntReasmMaxSize".' The final 'e' was missing from the OBJECT-TYPE definition. Also got 'rfc1158.mib:711: sequence type "IpNetToMediaEntry" references undefined columnar object "ipNetoToMediaType".' where an extraneous 'o' had been added to the object name. The changes are shown below: 35c8 < FROM RFC1155-SMI; --- > FROM RFC1155-SMI 36a10,12 > DisplayString > FROM SNMPv2-TC; > 120a97 > INDEX { ifIndex } 356a334 > INDEX { atIfIndex } 519a498 > INDEX { ipAdEntIfIndex } 559c538 < ipAdEntReasmMaxSiz OBJECT-TYPE --- > ipAdEntReasmMaxSize OBJECT-TYPE 576a556 > INDEX { ipRouteIfIndex } 690c670 < ospf(13) --- > ospf(13), 720a701 > INDEX { ipNetToMediaIfIndex } 730c711 < ipNetoToMediaType --- > ipNetToMediaType 1016a998 > INDEX { tcpConnLocalPort } 1126a1109 > INDEX { udpLocalPort } 1185a1169 > INDEX { egpNeighAddr }rfc1162 For some reason a line containing '[APPLICATION 5]' was inside an object definition. This same defintion also included the word 'IMPLICIT' which mibcomp did not like. Got 4 occurrences of the 'rfc1162.mib:nnn: the row object "xxxxxx" must have an INDEX clause.' error where the INDEX clause had been commented out. Uncommented them. The changes are shown below: 34,35c10 < [APPLICATION 5] < IMPLICIT OCTET STRING (SIZE (1..21)) --- > OCTET STRING (SIZE (1..21)) 197c172 < -- INDEX { clnpAdEntAddr } --- > INDEX { clnpAdEntAddr } 239c214 < -- INDEX { clnpRouteDest } --- > INDEX { clnpRouteDest } 374,375c349,350 < -- INDEX { clnpNetToMediaIfIndex, < -- clnpNetToMediaNetAddress } --- > INDEX { clnpNetToMediaIfIndex, > clnpNetToMediaNetAddress } 446,447c421,422 < -- INDEX { clnpMediaToNetIfIndex, < -- clnpMediaToNetPhysAddress } --- > INDEX { clnpMediaToNetIfIndex, > clnpMediaToNetPhysAddress }rfc1230 The MIB did not IMPORT 'Counter' from RFC1155-SMI. rfc1232 Tried to IMPORT DisplayString from RFC1158-MIB, when it should be IMPORTed from SNMPv2-TC. This was changed.rfc1233 Tried to IMPORT DisplayString from RFC1158-MIB, when it should be IMPORTed from SNMPv2-TC. This was changed.rfc1238 Got 'rfc1238.mib:8: IMPORTS clause references unknown module "RFC-1213".' and 'rfc1238.mib:732: sequence type "ClnpMediaToNetEntry" references undefined columnar object "clnpMediaToNetNetAddress".'. These were fixed with the following changes: 7c7 < FROM RFC-1213 --- > FROM RFC1213-MIB 732c732 < clnpMediaToNetNetAddress --- > clnpMediaToNetAddressrfc1252 Got 'rfc1252.mib:46: INTEGER value must be less than or equal to 2147483647.' because the top end of an integer range was defined as 'FFFFFFFF'h. This was changed to '7FFFFFFF'h. Got 'rfc1252.mib:238: sequence type "OspfAreaEntry" references undefined columnar object "ospfLSACount".' It appears that the ospfLSACount in this definition should have been ospfAreaLSACount. Got 'rfc1252.mib:221: INDEX clause for "ospfAreaEntry" references undefined object "ospfAreaID".' It appears that ospfAreaID in this line should be ospfAreaId. The changes to this MIB are shown below: 46c46 < PositiveInteger ::= INTEGER (1..'FFFFFFFF'h) --- > PositiveInteger ::= INTEGER (1..'7FFFFFFF'h) 221c221 < INDEX { ospfAreaID } --- > INDEX { ospfAreaId } 238c238 < ospfLSACount --- > ospfAreaLSACountrfc1269 Below is a list of the non-cosmetic differences between the MIB in the RFC and the installed MIB. The MIB in the RFC does not compile. The installed MIB has not been updated to match the code from the RFC. The additional import of NetworkAddress would not cause an error, just a warning because it is never used. 4c4 < NetworkAddress, IpAddress, Counter --- > IpAddress, Counter 346c346 < SYNTAX IpAddress --- > SYNTAX INTEGER 356c356 < ENTERPRISE { bgp } --- > ENTERPRISE bgp 366c365 < ENTERPRISE { bgp } --- > ENTERPRISE bgprfc1289 Got 'rfc1289.mib:720: expected SYNTAX, got SYNTAXINTEGER'. Added a space between the two words. There were a large number of cases where the compile an error like this: 'rfc1289.mib:nnnn: SYNTAX for column object "fooObject" conflicts with type in sequence "FooEntry". Mostly the conflict were between PhivAddr or PhivCounter types and INTEGERs. PhivAddr is defined as OCTET STRING (SIZE (2)) and PhivCounter is defined as INTEGER. In cases where the types don't match, the Phiv* side of the conflict was arbitrarily selected. All of the changes are shown below: 718c720 < SYNTAXINTEGER { --- > SYNTAX INTEGER { 1204c1206 < SYNTAX PhivCounter --- > SYNTAX PhivCounter (0..65535) 1305c1307 < SYNTAX PhivCounter --- > SYNTAX PhivCounter (0..65535) 1382c1384 < INTEGER (0..65535), --- > PhivAddr, 1509c1511 < SYNTAX INTEGER (0..255) --- > SYNTAX PhivCounter (0..255) 2113c2115 < SYNTAX INTEGER ( 0..65535 ) --- > SYNTAX PhivCounter 2121c2123 < SYNTAX INTEGER ( 0..65535 ) --- > SYNTAX PhivCounter ( 0..65535 ) 2130c2132 < SYNTAX INTEGER ( 0..65535 ) --- > SYNTAX PhivCounter ( 0..65535 ) 2138c2140 < SYNTAX INTEGER ( 0..65535 ) --- > SYNTAX PhivCounter ( 0..65535 ) 2147c2149 < SYNTAX INTEGER ( 0..65535 ) ---
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -