1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
|
-- =================================================================
-- Copyright (C) 2001-2002 New H3C Tech. Co., Ltd. All rights reserved.
--
-- Description: ENTITY RELATION MIB
-- Version: V1.2
-- History:
-- V1.0(Initial version) 19th Aug 2004
-- V1.1 2004-09-10 Exchange MIB objects' sequence, including hh3cEntRelationType
-- and hh3cEntityIndex.
-- Change subidentifier of hh3cEntRelationConformance from 3 to 2.
-- V1.2 2004-10-12 updated by gaolong
-- Remove hh3cEntityIndex, hh3cEntRelationType from hh3cEntRelationGroup
-- because they are not-accessible objects.
-- =================================================================
--
HH3C-ENTRELATION-MIB DEFINITIONS ::= BEGIN
IMPORTS
PhysicalIndex
FROM ENTITY-MIB
hh3cCommon
FROM HH3C-OID-MIB
OBJECT-GROUP, MODULE-COMPLIANCE
FROM SNMPv2-CONF
OBJECT-TYPE, MODULE-IDENTITY
FROM SNMPv2-SMI
TEXTUAL-CONVENTION
FROM SNMPv2-TC;
hh3cEntityRelation MODULE-IDENTITY
LAST-UPDATED "200408190000Z"
ORGANIZATION
"New H3C Tech. Co., Ltd."
CONTACT-INFO
"Platform Team New H3C Tech. Co., Ltd.
Hai-Dian District Beijing P.R. China
http://www.h3c.com
Zip:100085
"
DESCRIPTION
"The private MIB file includes the general relation information
information of entities.
Entity MIB is used to express the physical location of the physical
entities. Other relations, such as stack port pair and combo port
pair, are not suitable to be implemented in Entity MIB. So this MIB is
used to express these relations. "
::= { hh3cCommon 15 }
-- Textual conventions
--
Hh3cEntRelationType ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"entRelationType describe the relation type of the two entities
(indicated by entityIndex and relatedEntityIndex) .
stackport: this port is a stack port.
entityIndex is the default uplinkport index,
and relatedEntityIndex is the default downlinkport index.
comboport: this port is a combo port.
entityIndex is the default active port index,
and relatedEntityIndex is the default inactive port index."
SYNTAX INTEGER
{
stackport(1),
comboport(2)
}
-- Node definitions
--
hh3cEntRelationObjects OBJECT IDENTIFIER ::= { hh3cEntityRelation 1 }
-- MIB contains four groups
hh3cEntRelation OBJECT IDENTIFIER ::= { hh3cEntRelationObjects 1 }
hh3cEntRelationTable OBJECT-TYPE
SYNTAX SEQUENCE OF Hh3cEntRelationEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Entity MIB is used to express the physical location of
the physical entities. Other relations, such as stack
port pair and combo port pair, are not suitable to be
implemented in Entity MIB. This MIB is used to express
these relations. "
::= { hh3cEntRelation 1 }
hh3cEntRelationEntry OBJECT-TYPE
SYNTAX Hh3cEntRelationEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The information about a particular physical entity."
INDEX { hh3cEntRelationType, hh3cEntityIndex, hh3cRelatedEntityIndex }
::= { hh3cEntRelationTable 1 }
Hh3cEntRelationEntry ::=
SEQUENCE {
hh3cEntRelationType
Hh3cEntRelationType,
hh3cEntityIndex
PhysicalIndex,
hh3cRelatedEntityIndex
PhysicalIndex
}
hh3cEntRelationType OBJECT-TYPE
SYNTAX Hh3cEntRelationType
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The index of hh3cEntRelationTable.
entRelationType describe the relation type of the two
entities(indicated by entityIndex and relatedEntityIndex) "
::= { hh3cEntRelationEntry 1 }
hh3cEntityIndex OBJECT-TYPE
SYNTAX PhysicalIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The index of hh3cEntRelationTable.
entityIndex is the index of the entity.
This index is identical to entPhysicalIndex in ENTITY-MIB"
::= { hh3cEntRelationEntry 2 }
hh3cRelatedEntityIndex OBJECT-TYPE
SYNTAX PhysicalIndex
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The index of hh3cEntRelationTable.
relatedEntityIndex is the entity index that entityIndex related to,
This index is identical to entPhysicalIndex in ENTITY-MIB"
::= { hh3cEntRelationEntry 3 }
-- Conformance and Compliance
hh3cEntRelationConformance OBJECT IDENTIFIER ::= { hh3cEntityRelation 2 }
hh3cEntRelationCompliances OBJECT IDENTIFIER ::= { hh3cEntRelationConformance 1 }
-- this module
hh3cEntRelationCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for systems supporting this MIB."
MODULE -- this module
MANDATORY-GROUPS { hh3cEntRelationGroup }
::= { hh3cEntRelationCompliances 1 }
hh3cEntRelationGroups OBJECT IDENTIFIER ::= { hh3cEntRelationConformance 2 }
hh3cEntRelationGroup OBJECT-GROUP
OBJECTS { hh3cRelatedEntityIndex }
STATUS current
DESCRIPTION
"Standard Entity Relation group."
::= { hh3cEntRelationGroups 1 }
END
|