
Sotto-alberi del nodo radice
Ccitt(0)
Sotto-albero amministrato dall’International Telegraph and
Telephone Consultative Committee
iso(1)
International Organization for Standardization
Joint(2)
Amministrato da ISO e CCITT
Tab. 8.3.1
La corrispondenza tra la sequenza di numeri interi e la sequenza di
nomi ora è immediata: ad ogni nodo è assegnato un numero e un
nome; in questo modo, il sotto-albero internet può essere
rappresentato dalla sequenza
internet=1.3.6.1
oppure
internet=iso(1).org(3).dod(6).1
Il sotto-albero riportato in Fig.8.3.1 può essere rappresentato con la
seguente sintassi:
internet
OBJECT IDENTIFIER::={iso(1).org(3).dod(6).1}={1.3.6.1}
directory
OBJECT IDENTIFIER::= {internet 1}={1.3.6.1.1}
mgmt
OBJECT IDENTIFIER::= {internet 2}={1.3.6.1.2}
experimental OBJECT IDENTIFIER::= {internet 3}={1.3.6.1.3}
private
OBJECT IDENTIFIER::= {internet 4}={1.3.6.1.4}
L’IDENTIFICATORE DI OGGETTO
è uno dei principali tipi di dati
utilizzati nel protocollo SNMP, mentre ::= precede la definizione.
In riferimento alla Fig. 8.3.1 possiamo dire che internet è un
sotto-albero del Department of Defence degli USA: infatti, è un
sotto-albero del nodo dod(6) nella struttura ad albero del web.
8.4 L’Albero SNMP Carel Enterprise
Possiamo ora utilizzare il concetto di struttura ad albero per illustrare
come vengono organizzate da CAREL le informazioni sugli agent
SNMP e sulle variabili delle unità.
Sotto il nodo enterprises::={private(4).1} ci sono tutti i nodi SNMP che
descrivono i fornitori e le organizzazioni private. CAREL è una di
queste e il suo OID, assegnatogli da IANA (Internet Assigned Number
Authority ), è 9839.
Carel
OBJECT IDENTIFIER::={enterprises 9839}
Carel-System
OBJECT IDENTIFIER::={Carel 1}
Carel-Instruments
OBJECT IDENTIFIER::={Carel 2}
Subtrees of Root-Node
ccitt(0)
Subtree administered by International Telegraph and
Telephone Consultative Committee
iso(1)
International Organization for Standardization
joint(2)
Administered jointly by ISO and CCITT
Tab. 8.3.1
Dualism between series of integer and series of names is now
immediate: each node is numbered and named; so internet subtree can
be referred to as the sequence
internet=1.3.6.1
or
internet=iso(1).org(3).dod(6).1
We can define the subtree represented into Fig.8.3.1 using the
following syntax:
internet
OBJECT IDENTIFIER::= {iso(1).org(3).dod(6).1}={1.3.6.1}
directory
OBJECT IDENTIFIER::= {internet 1}={1.3.6.1.1}
mgmt
OBJECT IDENTIFIER::= {internet 2}={1.3.6.1.2}
experimental
OBJECT IDENTIFIER::= {internet 3}={1.3.6.1.3}
private
OBJECT IDENTIFIER::= {internet 4}={1.3.6.1.4}
OBJECT IDENTIFIER
is one of the main datatypes used in SNMP
protocol and ::= is a definition operator.
Looking at Fig. 8.3.1we can say that internet is a subtree of the
Department Of the American Defence: in fact it is a subtree of the node
dod(6) in the tree structure of the web.
8.4 Carel Enterprise SNMP Tree
Using the concept of tree-hierarchy, now we can show how the information
about snmp-agent and unit-variables are organised by CAREL.
Under the node enterprises::={private(4).1} there are all the SNMP
nodes referring to vendors and private organizations. CAREL is one of
them and its OID, assigned by IANA (Internet Assigned Numbers
Authority ), is 9839.
Carel
OBJECT IDENTIFIER::={enterprises 9839}
Carel-System
OBJECT IDENTIFIER::={Carel 1}
Carel-Instruments
OBJECT IDENTIFIER::={Carel 2}
39
Manuale WebGate - cod. +030220230 rel. 1.0 - 16.09.2003
iso (1)
System (1)
Instruments (2)
iso(1)org(3)dod(6)internet(1)private(4)
Fig. 8.4.1