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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
|
-- *****************************************************************
-- NMS-OPTICAL-PORT-MIB: NMS OPTICAL-POWER MIB file
-- AUG 2010
-- *****************************************************************
--
NMS-OPTICAL-PORT-MIB DEFINITIONS ::= BEGIN
IMPORTS
NOTIFICATION-TYPE,INTEGER
FROM SNMPv2-SMI
Counter, IpAddress, Counter
FROM RFC1155-SMI
OBJECT-TYPE
FROM RFC-1212
DisplayString, ifIndex, PhysAddress
FROM RFC1213-MIB
nmsMgmt
FROM NMS-SMI
nmsEPONGroup
FROM NMS-SMI;
--definition of NMS device optical port receive/send related power parameters
opticalPortPower OBJECT IDENTIFIER ::= { nmsMgmt 183 }
opticalPortPowerTable OBJECT-TYPE
SYNTAX SEQUENCE OF OpticalPortPowerEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"A list of optical interface entries."
::= { opticalPortPower 1 }
opticalPortPowerEntry OBJECT-TYPE
SYNTAX OpticalPortPowerEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"An optical interface entry containing objects at the
subnetwork layer and below for a particular
interface."
INDEX { opIfIndex }
::= { opticalPortPowerTable 1 }
OpticalPortPowerEntry ::=
SEQUENCE {
opIfIndex
INTEGER,
opIfDescr
DisplayString,
opIfAdminStatus
INTEGER,
opIfOperStatus
INTEGER,
opIfRxPowerCurr
INTEGER,
opIfRxPowerULimit
INTEGER,
opIfRxPowerLLimit
INTEGER,
opIfTxPowerCurr
INTEGER,
opIfTxPowerULimit
INTEGER,
opIfTxPowerLLimit
INTEGER,
opIfUploadBERLimit
INTEGER,
opIfPowerTrapStatus
INTEGER,
opIfTemperature
INTEGER,
opIfVolt
INTEGER,
opIfCurrent
INTEGER
}
opIfIndex OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"A unique value for each optical interface. The same value as ifIndex of ifTable in RFC1213."
::= { opticalPortPowerEntry 1 }
opIfDescr OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..255))
ACCESS read-only
STATUS mandatory
DESCRIPTION
"A textual string containing information about the optical interface. The same value as ifDesc of ifTable in RFC1213. "
::= { opticalPortPowerEntry 2 }
opIfAdminStatus OBJECT-TYPE
SYNTAX INTEGER {
up(1), -- ready to pass packets
down(2),
testing(3) -- in some test mode
}
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The desired state of the interface. The same value as ifAdminStatus of ifTable in RFC1213."
::= { opticalPortPowerEntry 3 }
opIfOperStatus OBJECT-TYPE
SYNTAX INTEGER {
up(1), -- ready to pass packets
down(2),
testing(3) -- in some test mode
}
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The current operational state of the optical interface. The same value as ifOperStatus of ifTable in RFC1213."
::= { opticalPortPowerEntry 4 }
opIfRxPowerCurr OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"A unique value for each optical interface, that means optical current receive power value."
::= { opticalPortPowerEntry 5 }
opIfRxPowerULimit OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-write
STATUS mandatory
DESCRIPTION
"A unique value for each optical interface, that means optical receive upper limit."
::= { opticalPortPowerEntry 6 }
opIfRxPowerLLimit OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-write
STATUS mandatory
DESCRIPTION
"A unique value for each optical interface, that means optical receiving lower limit."
::= { opticalPortPowerEntry 7 }
opIfTxPowerCurr OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"A unique value for each optical interface, that means optical current sending power value."
::= { opticalPortPowerEntry 8 }
opIfTxPowerULimit OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-write
STATUS mandatory
DESCRIPTION
"A unique value for each optical interface, that means optical sending upper limit."
::= { opticalPortPowerEntry 9 }
opIfTxPowerLLimit OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-write
STATUS mandatory
DESCRIPTION
"A unique value for each optical interface, that means optical sending lower limit."
::= { opticalPortPowerEntry 10 }
opIfUploadBERLimit OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-write
STATUS mandatory
DESCRIPTION
"A unique value for each optical interface, that means optical port BER threshold."
::= { opticalPortPowerEntry 11 }
opIfPowerTrapStatus OBJECT-TYPE
SYNTAX INTEGER{
on(0),
off(1)
}
ACCESS read-write
STATUS mandatory
DESCRIPTION
"A unique value for each optical interface, that means optical R/X power limit trap sending status. 0-on, 1-off."
::= { opticalPortPowerEntry 12 }
opIfTemperature OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"A unique value for each optical interface, that means optical module temperature. Unit is 1/256 Celsius."
::= { opticalPortPowerEntry 13 }
opIfVolt OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"A unique value for each optical interface, that means optical module volt. Unit is 100uV."
::= { opticalPortPowerEntry 14 }
opIfCurrent OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"A unique value for each optical interface, that means optical module current. Unit is 2uA."
::= { opticalPortPowerEntry 15 }
opIfTransMode OBJECT-TYPE
SYNTAX INTEGER{
upload(1),
download(2)
}
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"A value for optical interface trasporting mode, 1-upload, 2-download."
::= { opticalPortPower 2 }
opIfTransPowerAlarm OBJECT-TYPE
SYNTAX INTEGER{
over(1),
below(2),
normal(3)
}
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"A value for optical interface trasporting power alarm, 1-over than upper limit, 2-lower than lower limit."
::= { opticalPortPower 3 }
opIfBERStatus OBJECT-TYPE
SYNTAX INTEGER{
exception(1),
normal(2)
}
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"A value for optical interface BER status, 1-exception, 2-recover to normal status."
::= { opticalPortPower 4 }
-- Notifications
nmsOpIfPowerThresNotifications OBJECT IDENTIFIER
::= { opticalPortPower 5 }
nmsOpIfPowerThresNotification NOTIFICATION-TYPE
OBJECTS {
opIfIndex,
opIfDescr,
opIfTransMode,
opIfTransPowerAlarm
}
STATUS current
DESCRIPTION
"The agent generates this notification when optical interface upload/download power exceed the threshold ruled in opticalPortPowerTable."
::= { nmsOpIfPowerThresNotifications 1 }
-- Notifications
opIfUploadBERNotifications OBJECT IDENTIFIER
::= { opticalPortPower 6 }
opIfUploadBERNotification NOTIFICATION-TYPE
OBJECTS {
opIfIndex,
opIfDescr,
opIfBERStatus
}
STATUS current
DESCRIPTION
"The agent generates this notification when optical interface upload BER exceed the threshold ruled in opticalPortPowerTable."
::= { opIfUploadBERNotifications 1 }
END
|