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
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
|
-- *****************************************************************
-- TN-ELPS-MIB.my : TN Ethernet Linear Protection Switch MIB
--
-- Author : Angela Xing
-- update by Tony Lei
-- Copyright (c) 2009 by Transition Networks, Inc.
-- All rights reserved.
--
-- *************************************************************************************************
--
TN-ELPS-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
NOTIFICATION-TYPE,
OBJECT-TYPE,
Unsigned32,
Gauge32
FROM SNMPv2-SMI
MODULE-COMPLIANCE,
OBJECT-GROUP,
NOTIFICATION-GROUP
FROM SNMPv2-CONF
RowStatus,TruthValue,
MacAddress
FROM SNMPv2-TC -- [RFC2579]
InterfaceIndex
FROM IF-MIB
Dot1agCfmMepId
FROM IEEE8021-CFM-MIB
tnProducts
FROM TRANSITION-SMI
tnProtectionMIB
FROM TN-PROTECTION-MIB;
--
-- main body
--
tnElpsMib OBJECT IDENTIFIER ::= { tnProtectionMIB 2 }
tnElpsMibNotifications OBJECT IDENTIFIER ::= { tnElpsMib 0 }
tnElpsMibObjects OBJECT IDENTIFIER ::= { tnElpsMib 1 }
tnElpsMibConformance OBJECT IDENTIFIER ::= { tnElpsMib 2 }
--
-- sub Objects list
--
tnElpsCfgMgmt OBJECT IDENTIFIER ::= { tnElpsMibObjects 1 }
tnElpsStateMgmt OBJECT IDENTIFIER ::= { tnElpsMibObjects 2 }
tnElpsLinkOverMgmt OBJECT IDENTIFIER ::= { tnElpsMibObjects 3 }
-- Textual Conventions
TnElpsProtSwitchState ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"Indicates ELPS protection switch state."
SYNTAX INTEGER {
disabled (1),
noRequestW (2),
noRequestP (3),
lockout (4),
forcedSwitch (5),
signalFailW (6),
signalFailP (7),
manualSwitchW (8),
manualSwitchP (9),
waitToRestore (10),
exerciseW (11),
exerciseP (12),
reverseRequestW (13),
reverseRequestP (14),
doNotRevert (15)
}
TnElpsDefectState ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"Indicates ELPS working/protecting state."
SYNTAX INTEGER {
signalOk (1),
signalFail (2),
signalDegrade (3)
}
TnElpsRequestType ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"Indicates ELPS received/transmitted APS request type."
SYNTAX INTEGER {
noRequest (1),
doNotRevert (2),
reverseRequest (3),
exercise (4),
wait2Restore (5),
manualSwitch (6),
signalDegrade (7),
signalFailForWorking (8),
forcedWwitch (9),
signalFailForProtection (10),
lockoutOfProtection (11)
}
-- ******************************************************************
-- NOTIFICATIONS (TRAPS)
-- These notifications will be sent to the management entity
-- whenever a MEP loses/restores contact with one or more other MEPs.
-- ******************************************************************
tnElpsAlarmUp NOTIFICATION-TYPE
OBJECTS { tnElpsProtectionState,
tnElpsWFlowState,
tnElpsPFlowState,
tnElpsArchitectureMismatch,
tnElpsAPSOnWorking,
tnElpsSwitchingIncomplete
}
STATUS current
DESCRIPTION
"A Elps has a persistent defect condition. A notification
(fault alarm) is sent to the management entity with the OID
of the Elps that has detected the fault.
The management entity receiving the notification can identify
the system from the network source address of the
notification, and can identify the ELPS reporting the defect
by the indices in the OID of the variables in the notification:
tnElpsInstance - Also the index of the EPLS state table entry
(tnElpsStateTable).
"
::= { tnElpsMibNotifications 1 }
tnElpsAlarmDown NOTIFICATION-TYPE
OBJECTS { tnElpsProtectionState,
tnElpsWFlowState,
tnElpsPFlowState,
tnElpsArchitectureMismatch,
tnElpsAPSOnWorking,
tnElpsSwitchingIncomplete
}
STATUS current
DESCRIPTION
"A Elps has a persistent defect condition. A notification
(fault alarm) is sent to the management entity with the OID
of the Elps that has detected the fault.
The management entity receiving the notification can identify
the system from the network source address of the
notification, and can identify the ELPS reporting the defect
by the indices in the OID of the variables in the notification:
tnElpsInstance - Also the index of the EPLS state table entry
(tnElpsStateTable).
"
::= { tnElpsMibNotifications 2 }
-- ******************************************************************
-- TN Elps Cfg Table
-- ******************************************************************
tnElpsCfgTable OBJECT-TYPE
SYNTAX SEQUENCE OF TnElpsCfgEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table provides configuration of ELPS."
::= { tnElpsCfgMgmt 1 }
tnElpsCfgEntry OBJECT-TYPE
SYNTAX TnElpsCfgEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A entry in the table represents a configuration for ELPS."
INDEX { tnElpsInstance }
::= { tnElpsCfgTable 1 }
TnElpsCfgEntry ::=
SEQUENCE{
tnElpsInstance Unsigned32,
tnElpsDomain INTEGER,
tnElpsArchitecture INTEGER,
tnElpsWFlowPortId InterfaceIndex,
tnElpsPFlowPortId InterfaceIndex,
tnElpsWSfMepId Dot1agCfmMepId,
tnElpsPSfMepId Dot1agCfmMepId,
tnElpsApsMepId Dot1agCfmMepId,
tnElpsConfigured TruthValue,
tnElpsDirection INTEGER,
tnElpsApsEnable TruthValue,
tnElpsRevertiveEnable TruthValue,
tnElpsWTRTime INTEGER,
tnElpsHoldOffTime INTEGER,
tnElpsCmd INTEGER,
tnElpsStatus RowStatus
}
tnElpsInstance OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The ID of the ELPS."
::= { tnElpsCfgEntry 1 }
tnElpsDomain OBJECT-TYPE
SYNTAX INTEGER {
port (1)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Port: This will create a ELPS in the Port Domain. 'W/P Flow' is a Port."
::= { tnElpsCfgEntry 2}
tnElpsArchitecture OBJECT-TYPE
SYNTAX INTEGER{
onePlusOne (1),
oneForOne (2)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Port: This will create a 1+1 ELPS.
Port: This will create a 1:1 ELPS."
::= { tnElpsCfgEntry 3}
tnElpsWFlowPortId OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The working flow for the ELPS - See 'Domain' above."
::= { tnElpsCfgEntry 4}
tnElpsPFlowPortId OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The protecting flow for the ELPS - See 'Domain' above."
::= { tnElpsCfgEntry 5}
tnElpsWSfMepId OBJECT-TYPE
SYNTAX Dot1agCfmMepId
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The working Signal Fail reporting MEP."
::= { tnElpsCfgEntry 6}
tnElpsPSfMepId OBJECT-TYPE
SYNTAX Dot1agCfmMepId
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The protecting Signal Fail reporting MEP."
::= { tnElpsCfgEntry 7}
tnElpsApsMepId OBJECT-TYPE
SYNTAX Dot1agCfmMepId
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The APS PDU handling MEP."
::= { tnElpsCfgEntry 8}
tnElpsConfigured OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"False: This ELPS is only created and has not yet been configured - is not active.
True: This ELPS is configured - is active."
::= { tnElpsCfgEntry 9 }
tnElpsDirection OBJECT-TYPE
SYNTAX INTEGER{
unidirectional (1),
bidirectional (2)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Unidirectional: ELPS in the two ends can select traffic from different
working/protecting flow. This is only possible in case
of 1+1.
Bidirectional: ELPS in the two ends is selecting traffic from the same
working/protecting flow. This requires APS enabled.
This is mandatory for 1:1."
::= { tnElpsCfgEntry 10 }
tnElpsApsEnable OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The Automatic Protection Switching protocol can be enabled/disabled. This is mandatory for 1:1.
"
::= { tnElpsCfgEntry 11 }
tnElpsRevertiveEnable OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The revertive switching to working flow can be enabled/disabled.
"
::= { tnElpsCfgEntry 12 }
tnElpsWTRTime OBJECT-TYPE
SYNTAX INTEGER{
disabled (0),
t10sec (1),
t30sec (2),
t5min (3),
t6min (4),
t7min (5),
t8min (6),
t9min (7),
t10min (8),
t11min (9),
t12min (10)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The Wait To Restore timing value to be used in revertive switching.
"
::= { tnElpsCfgEntry 13 }
tnElpsHoldOffTime OBJECT-TYPE
SYNTAX INTEGER{
disabled (0),
t100ms (1),
t200ms (2),
t300ms (3),
t400ms (4),
t500ms (5),
t600ms (6),
t700ms (7),
t800ms (8),
t900ms (9),
t1s (10),
t2s (11),
t3s (12),
t4s (13),
t5s (14),
t6s (15),
t7s (16),
t8s (17),
t9s (18),
t10s (19)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The timing value to be used to make persistent check on Signal Fail before switching.
"
::= { tnElpsCfgEntry 14 }
tnElpsCmd OBJECT-TYPE
SYNTAX INTEGER{
none (0),
clear (1),
lockOut (2),
forcedSwitch (3),
manualSwitchP (4),
manualSwitchW (5),
exercise (6),
freeze (7),
lockOutLocal (8)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"None: There is no active local command on this instance.
Clear: The active local command will be cleared.
Lock Out: This ELPS is locked to working (not active). In case of 1:N (more than one ELPS with same protecting flow) -
when one ELPS switch to protecting flow, other ELPS is enforced this command
Forced Switch: Forced switch to protecting.
Manual Switch P: Manual switch to protecting.
Manual Switch W: Manual switch to working - this is only possible in 1:1 non-revertive.
Exercise: Exercise of the protocol - not traffic effecting.
Freeze: This ELPS is locally freezed - ignoring all input.
Lock Out Local: This ELPS is locally 'locked out' - ignoring local SF detected on working."
::= { tnElpsCfgEntry 15 }
tnElpsStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The status of the row.
The writable columns in a row can not be changed if the row
is active. All columns must have a valid value before a row
can be activated."
::= { tnElpsCfgEntry 16 }
-- ******************************************************************
-- TN Elps state table
-- ******************************************************************
tnElpsStateTable OBJECT-TYPE
SYNTAX SEQUENCE OF TnElpsStateEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table provides configuration about ELPS state"
::= { tnElpsStateMgmt 1 }
tnElpsStateEntry OBJECT-TYPE
SYNTAX TnElpsStateEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This entry represents configuration about ELPS state"
INDEX { tnElpsInstance }
::= { tnElpsStateTable 1 }
TnElpsStateEntry ::= SEQUENCE{
tnElpsProtectionState TnElpsProtSwitchState,
tnElpsWFlowState TnElpsDefectState,
tnElpsPFlowState TnElpsDefectState,
tnElpsTransmitRequestType TnElpsRequestType,
tnElpsTransmitRequestedSignal Unsigned32,
tnElpsTransmitBridgedSignal Unsigned32,
tnElpsReceiveRequestType TnElpsRequestType,
tnElpsReceiveRequestedSignal Unsigned32,
tnElpsReceiveBridgedSignal Unsigned32,
tnElpsArchitectureMismatch TruthValue,
tnElpsAPSOnWorking TruthValue,
tnElpsSwitchingIncomplete TruthValue,
tnElpsNoApsReceived TruthValue
}
tnElpsProtectionState OBJECT-TYPE
SYNTAX TnElpsProtSwitchState
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"ELPS Protection state"
::= { tnElpsStateEntry 1}
tnElpsWFlowState OBJECT-TYPE
SYNTAX TnElpsDefectState
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"signalOk: State of working flow is ok
signalFail: State of working flow is Signal Fail
signalDegrade: State of working flow is Signal Degrade (for future use)"
::= { tnElpsStateEntry 2}
tnElpsPFlowState OBJECT-TYPE
SYNTAX TnElpsDefectState
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"signalOk: State of protecting flow is ok
signalFail: State of protecting flow is Signal Fail
signalDegrade: State of protecting flow is Signal Degrade (for future use)"
::= { tnElpsStateEntry 3}
tnElpsTransmitRequestType OBJECT-TYPE
SYNTAX TnElpsRequestType
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The transmitted request type."
::= { tnElpsStateEntry 4}
tnElpsTransmitRequestedSignal OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The transmitted request signal."
::= { tnElpsStateEntry 5}
tnElpsTransmitBridgedSignal OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The transmitted bridged signal."
::= { tnElpsStateEntry 6}
tnElpsReceiveRequestType OBJECT-TYPE
SYNTAX TnElpsRequestType
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The requested type that is received from APS."
::= { tnElpsStateEntry 7}
tnElpsReceiveRequestedSignal OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The requested signal received from APS."
::= { tnElpsStateEntry 8}
tnElpsReceiveBridgedSignal OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The bridged signal received from APS ."
::= { tnElpsStateEntry 9}
tnElpsArchitectureMismatch OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The architecture indicated in the received APS does not match the locally configured."
::= { tnElpsStateEntry 10}
tnElpsAPSOnWorking OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"APS is received on the working flow."
::= { tnElpsStateEntry 11}
tnElpsSwitchingIncomplete OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Traffic is not selected from the same flow instance in the two ends."
::= { tnElpsStateEntry 12}
tnElpsNoApsReceived OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"APS PDU is not received from the other end."
::= { tnElpsStateEntry 13}
-- ******************************************************************
-- TN Elps LinkOver table
-- ******************************************************************
tnElpsLinkOverTable OBJECT-TYPE
SYNTAX SEQUENCE OF TnElpsLinkOverEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table provides configuration about ELPS Link Over based on the SOAM DM"
::= { tnElpsLinkOverMgmt 1 }
tnElpsLinkOverEntry OBJECT-TYPE
SYNTAX TnElpsLinkOverEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This entry represents configuration about ELPS Link Over"
INDEX { tnElpsInstance }
::= { tnElpsLinkOverTable 1 }
TnElpsLinkOverEntry ::= SEQUENCE{
tnElpsLinkOverEnabled TruthValue,
tnElpsLinkOverDeltaValue Unsigned32
}
tnElpsLinkOverEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The feature about the DM LinkOver can be enabled and disabeld.
False: This feature is disabled.
True: This ELPS is enabled."
::= { tnElpsLinkOverEntry 1 }
tnElpsLinkOverDeltaValue OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The Delta value is ranged from 6 to 120. If the value that is on one link subtract the other one is
larger than the delta value, the data flow will be swithed to the link that own the better DM value."
::= { tnElpsLinkOverEntry 2 }
END
|