如何閱讀Mib檔案

2021-08-25 16:16:32 字數 2848 閱讀 2572

rfc1213-mib definitions ::= begin *定義了mib檔案的名稱,rfc1213就是mib2 *

imports *從其他mib中輸入檔案型別或者是oid *

mgmt, networkaddress, ipaddress, counter, gauge,

timeticks

from rfc1155-smi *從rfc1155(smiv1)中輸入mgmt,networkaddress等內容*

object-type

from rfc 1212; *從rfc1212中輸入物件型別 *

mib-2 object identifier ::= *定義mib2為mgmt葉子節點編號為1及1.3.6.1.2.1 ,eric note,這裡可能就是最上面的乙個節點*

-- groups in mib-ii

system object identifier ::= *定義mib2的子樹 system=1.3.6.1.2.1.1*

inte***ces object identifier ::= *定義mib2的子樹 int=1.3.6.1.2.1.2*

at object identifier ::=

ip object identifier ::=

icmp object identifier ::=

tcp object identifier ::=

udp object identifier ::=

egp object identifier ::=

transmission object identifier ::=

snmp object identifier ::=

-- the inte***ces table

-- the inte***ces table contains information on the entity's

-- inte***ces. each inte***ce is thought of as being

-- attached to a 'subnetwork.' note that this term should

-- not be confused with 'subnet,' which refers to an

-- addressing-partitioning scheme used in the internet

-- suite of protocols.

iftable object-type *定義mib2子集iftable,首字母小寫由asn.1定義*

syntax sequence of ifentry *定義資料型別為sequence of ifentry*

access not-accessible *定義訪問方式為不能通過任何方式請求agent的變數值*

status mandatory *定義狀態為強制,agent必須按照mib2規定的執行*

description *定義此物件的說明*

"a list of inte***ce entries. the number of entries is

given by the value of ifnumber."

::= *oid=1.3.6.1.2.1.2.2*

ifentry object-type

syntax ifentry *資料型別在後面的**中對應*

access not-accessible

status mandatory

description

"an inte***ce entry containing objects at the subnetwork

layer and below for a particular inte***ce."

index *對應到後面的定義,如果有6個埠,ifentry表中有6個表項*

::= *oid=1.3.6.1.2.1.2.2.1*

ifentry ::= *定義一張的表,注意首字母大寫,區別於物件的定義*

sequence

ifindex object-type

syntax integer *定義資料型別為整數*

access read-only *定義訪問方式為唯讀*

status mandatory

description

"a unique value for each inte***ce. its value ranges

between 1 and the value of ifnumber. the value for

each inte***ce must remain constant at least from one

reinitialization of the entity's network management

system to the next reinitialization."

::=

ifdescr object-type

syntax displaystring (size (0..255))

access read-only

status mandatory

description

"a textual string containing information about the

inte***ce. this string should include the name of

the manufacturer, the product name, and the version

of the hardware inte***ce."

::=

end

如何快速閱讀

如何快速閱讀 究竟怎樣才能快速讀懂一篇文章或者一本書?這其實並不難,只需養成下面的8個習。步驟1.形成默讀習慣。經常閱讀的朋友都知道,有聲朗讀和默讀的差別是十分明顯的。各用作用不同,如老師上課,主持人播音和演員表演就必須出聲表達 但對自己看書和學習而言,就必須克服落後聲讀習慣,加快閱讀速度。實驗表明...

如何閱讀文獻

文獻分類 文章全名 作者 刊物縮寫 出版年給文章命名,用多級目錄分類對文章進行分類,文獻累計到一定程式就分類採用硬拷貝的方式進行集中整理。當一篇文章涉及多個主題的時候,多級目錄分類就不太靈光了,我目前的做法是部分兩邊都放 部分只放最重要的主題。將我的博士 分成6個小方向。然後將資料分成6個部分。每個...

如何閱讀文獻

閱讀文獻應該是乙個由點到面再到點的過程。選取當下研究中的乙個熱點話題,檢索較全的文獻。知道目前對這個問題的共同看法和分歧。然後,擴充套件開,逐步擴充套件自己的視野,構建個人的專業知識結構和看法。有了一定的知識基礎以後,對於繁雜的文獻,要有個人的判斷。追蹤某個專題 某個專家的研究進展,比較對於同一專題...