发贴者:空心稻草人
时间:2002-1-30 21:55:32 来自211.98.69.191
主页:
Email:OICQ:
内容:
我正在学习管理信息库mib,在管理信息结构的定义时,用到以下语句,如 tcMaxConn OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "The linit on the total number of TCP connection the entity can support" ::=(tcp4)
又如管理对象的宏定义:
OBJECT-TYPE MACRO::= BEGIN TYPE NOTATION::="SYNTAX"type(TYPE ObjectSyntax) "ACCESS" Access "STATUS" Status DescrPart ReferPart IndexPart DefValPart VALLUE NOTATION::=value(VALLUE ObjectName) Access::="read-only/read-write/write-only/not-accessible Status::=mandatory/optional/obsolete/deprecated DescrPart::="DISCRIPTION" value(description DisplayString)/empty ReferPart::="REFERENCE" value(reference DisplayString)/empty IndexPart::="INDEX"(IndexTypes) DefValPart::="DEFVAL""("value(defvalue ObjectSyntax)")"/empty DisplayString::=OCTET STRING SIZE(0..255) END