您好,欢迎访问三七文档
1RFC1213SNMPPDUVarBindOIDRFCRFCMIBMIBOIDPOSSIBLEPROJECT??MIB---MIBBROWSER??SNMPAPI1.SNMPPDUVarBindOID??MIBMIB??MIBOIDOID2.MIBTXT3.RFC1213RFC1213RFC1213-MIBDEFINITIONS::=BEGIN-----IMPORTS------mgmt,NetworkAddress,IpAddress,Counter,Gauge,TimeTicksFROMRFC1155-SMI---RFC1155OBJECT-TYPEFROMRFC-1212;----RFC1212------------------------------------------------------------------------------------------------------------RFC1212RFC1213IMPORTSObjectNameFROMRFC1155-SMIDisplayStringFROMRFC1158-MIB;OBJECT-TYPEOBJECT-TYPEMACRO::=BEGINTYPENOTATION::=--mustconformto--RFC1155'sObjectSyntaxSYNTAXtype(ObjectSyntax)ACCESSAccessSTATUSStatusDescrPartReferPartIndexPart2DefValPartVALUENOTATION::=value(VALUEObjectName)Access::=read-only|read-write|write-only|not-accessibleStatus::=mandatory|optional|obsolete|deprecatedDescrPart::=DESCRIPTIONvalue(descriptionDisplayString)|emptyReferPart::=REFERENCEvalue(referenceDisplayString)|emptyIndexPart::=INDEX{IndexTypes}|emptyIndexTypes::=IndexType|IndexTypes,IndexTypeIndexType::=--ifindexobject,usetheSYNTAX--valueofthecorrespondent--OBJECT-TYPEinvocationvalue(indexobjectObjectName)--otherwiseusenamedSMItype--mustconformtoIndexSyntaxbelow|type(indextype)DefValPart::=DEFVAL{value(defvalueObjectSyntax)}|emptyENDIndexSyntax::=CHOICE{numberINTEGER(0..MAX),string3OCTETSTRING,objectOBJECTIDENTIFIER,addressNetworkAddress,ipAddressIpAddress}---------------------------------------------------------------------------------------------------------------OIDMIB---PARSEROID---OIDRFC1213MIBIIOID---mgmtOBJECTIDENTIFIER::={isoorg(3)dod(6)internet(1)mgmt(2)}directoryOBJECTIDENTIFIER::={internet1}experimentalOBJECTIDENTIFIER::={internet3}privateOBJECTIDENTIFIER::={internet4}enterprisesOBJECTIDENTIFIER::={private1}--ThisMIBmoduleusestheextendedOBJECT-TYPEmacroasdefinedin[14];--MIB-II(sameprefixasMIB-I)--—--PARSERmib-2OBJECTIDENTIFIER::={mgmt1}--textualconventionsDisplayString::=OCTETSTRING--Thisdatatypeisusedtomodeltextualinformationtaken--fromtheNVTASCIIcharacterset.Byconvention,objects--withthissyntaxaredeclaredashaving(SIZE(0..255))PhysAddress::=OCTETSTRING--Thisdatatypeisusedtomodelmediaaddresses.Formany--typesofmedia,thiswillbeinabinaryrepresentation.--Forexample,anethernetaddresswouldberepresentedas--astringof6octets.----groupsinMIB-IIsystemOBJECTIDENTIFIER::={mib-21}interfacesOBJECTIDENTIFIER::={mib-22}atOBJECTIDENTIFIER::={mib-23}ipOBJECTIDENTIFIER::={mib-24}icmpOBJECTIDENTIFIER::={mib-25}tcpOBJECTIDENTIFIER::={mib-26}4udpOBJECTIDENTIFIER::={mib-27}egpOBJECTIDENTIFIER::={mib-28}--historical(somesayhysterical)--cmotOBJECTIDENTIFIER::={mib-29}transmissionOBJECTIDENTIFIER::={mib-210}snmpOBJECTIDENTIFIER::={mib-211}--theSystemgroup7--ImplementationoftheSystemgroupismandatoryforall--systems.Ifanagentisnotconfiguredtohaveavalue--foranyofthesevariables,astringoflength0is--returned.sysDescrOBJECT-TYPESYNTAXDisplayString(SIZE(0..255))ACCESSread-onlySTATUSmandatoryDEFVALTestAgentSimulatorDESCRIPTIONAtextualdescriptionoftheentity.Thisvalueshouldincludethefullnameandversionidentificationofthesystem'shardwaretype,softwareoperating-system,andnetworkingsoftware.ItismandatorythatthisonlycontainprintableASCIIcharacters.::={system1}sysObjectIDOBJECT-TYPESYNTAXOBJECTIDENTIFIERACCESSread-onlySTATUSmandatoryDESCRIPTIONThevendor'sauthoritativeidentificationofthenetworkmanagementsubsystemcontainedintheentity.ThisvalueisallocatedwithintheSMIenterprisessubtree(1.3.6.1.4.1)andprovidesaneasyandunambiguousmeansfordetermining`whatkindofbox'isbeingmanaged.Forexample,ifvendor`Flintstones,Inc.'wasassignedthesubtree1.3.6.1.4.1.4242,itcouldassigntheidentifier1.3.6.1.4.1.4242.1.1toits`FredRouter'.::={system2}sysUpTimeOBJECT-TYPE5SYNTAXTimeTicksACCESSread-onlySTATUSmandatoryDESCRIPTIONThetime(inhundredthsofasecond)sincethenetworkmanagementportionofthesystemwaslastre-initialized.::={system3}sysContactOBJECT-TYPESYNTAXDisplayString(SIZE(0..255))ACCESSread-writeSTATUSmandatoryDESCRIPTIONThetextualidentificationofthecontactpersonforthismanagednode,togetherwithinformationonhowtocontactthisperson.::={system4}sysNameOBJECT-TYPESYNTAXDisplayString(SIZE(0..255))ACCESSread-writeSTATUSmandatoryDESCRIPTIONAnadministratively-assignednameforthismanagednode.Byconvention,thisisthenode'sfully-qualifieddomainname.::={system5}sysLocationOBJECT-TYPESYNTAXDisplayString(SIZE(0..255))ACCESSread-writeSTATUSmandatoryDESCRIPTIONThephysicallocationofthisnode(e.g.,`telephonecloset,3rdfloor').::={system6}sysServicesOBJECT-TYPESYNTAXINTEGER(0..127)ACCESSread-onlySTATUSmandatoryDESCRIPTIONAvaluewhichindicatesthesetofservicesthat6thisentityprimarilyoffers.Thevalueisasum.Thissuminitiallytakesthevaluezero,Then,foreachlayer,L,intherange1through7,thatthisnodeperformstransactionsfor,2raisedto(L-1)isaddedtothesum.Forexample,anodewhichperformsprimarilyroutingfunctionswouldhaveavalueof4(2^(3-1)).Incontrast,anodewhichisahostofferingapplicationserviceswouldhaveavalueof72(2^(4-1)+2^(7-1)).NotethatinthecontextoftheInternetsuiteofprotocols,valuesshouldbecalculatedaccordingly:layerfunct
本文标题:RFC1213
链接地址:https://www.777doc.com/doc-4788945 .html