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
|
HUAWEI-MPLSOAM-PS-MIB DEFINITIONS ::= BEGIN
IMPORTS
hwMplsOam
FROM HUAWEI-MPLSOAM-MIB
InterfaceIndex
FROM IF-MIB
OBJECT-GROUP, MODULE-COMPLIANCE, NOTIFICATION-GROUP
FROM SNMPv2-CONF
IpAddress, Integer32, Unsigned32, OBJECT-TYPE, NOTIFICATION-TYPE
FROM SNMPv2-SMI
RowStatus, TruthValue
FROM SNMPv2-TC;
--
-- Node definitions
--
hwMplsOamPs OBJECT IDENTIFIER ::= { hwMplsOam 1 }
hwMplsPsObjects OBJECT IDENTIFIER ::= { hwMplsOamPs 3 }
hwMplsPsTable OBJECT-TYPE
SYNTAX SEQUENCE OF HwMplsPsEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table specifies per-protection-group MPLS PS
capability and associated information.
"
::= { hwMplsPsObjects 1 }
hwMplsPsEntry OBJECT-TYPE
SYNTAX HwMplsPsEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry in this table is created by an LSR for every
protection group capable of supporting mpls ps."
INDEX { hwMplsPsIndex }
::= { hwMplsPsTable 1 }
HwMplsPsEntry ::=
SEQUENCE {
hwMplsPsIndex
Unsigned32,
hwMplsPsType
Integer32,
hwMplsPsWorkTunnName
OCTET STRING,
hwMplsPsWorkTunnId
Integer32,
hwMplsPsProtectTunnName
OCTET STRING,
hwMplsPsProtectTunnId
Integer32,
hwMplsPsRevertiveMode
Integer32,
hwMplsPsWTR
Integer32,
hwMplsPsHoldOff
Integer32,
hwMplsPsSwitchCondition
Integer32,
hwMplsPsWorkTunnelState
Integer32,
hwMplsPsProtTunnelState
Integer32,
hwMplsPsSwitchResult
Integer32,
hwMplsPsCfgType
Integer32,
hwMplsPsCfgProtectTunnId
Integer32,
hwMplsPsCfgRevertiveMode
Integer32,
hwMplsPsCfgWTR
Integer32,
hwMplsPsCfgHoldOff
Integer32,
hwMplsPsRowStatus
RowStatus
}
hwMplsPsIndex OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This is a unique index for an entry in the mplspsEntry.
"
::= { hwMplsPsEntry 1 }
hwMplsPsType OBJECT-TYPE
SYNTAX Integer32 (1..4)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The type of protection switch,can be 1:1,1+1,shared mesh,
packet 1+1,the default choice is 1:1.
In the 1+1 architecture type, a protection LSP is dedicated to
each working LSP with the working LSP bridged onto the
protection LSP at the source of the protection domain.
The traffic on working and protection LSPs is transmitted
simultaneously to the sink of the protection domain,
where a selection between the working and protection LSP is
made, based on some predetermined criteria, such as defect
indication.
In the 1:1 architecture type, a protection LSP is dedicated to
each working LSP. The working traffic is transmitted either by
working or protection LSP.
In the shared mesh architecture type, possible sharing of
protection capacity between disjoint link, node in the network
is achieved while guaranteeing recovery from a single failure.
In the packet 1+1 architecture type, the traffic is transmitted
simultaneously onto two possibly disjoint routed LSPs to the
sink of the protection domain. Each pair of duplicate
transmitted packets is assigned the same identifier (sequence
number) but distinct from the other pairs of duplicate packets.
At the sink of the protection domain packet level selection
mechanism is employed to select one of the two possibly
received copies of each packet.
1: 1:1 protection switching,;
2: 1+1 protection switching;
3: shared mesh protection swiching;
4: packet 1+1 protection switching.
"
::= { hwMplsPsEntry 2 }
hwMplsPsWorkTunnName OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The name of work-tunnel."
::= { hwMplsPsEntry 3 }
hwMplsPsWorkTunnId OBJECT-TYPE
SYNTAX Integer32 (1..65535)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Work-tunnel id(session-tunnel-id)."
::= { hwMplsPsEntry 4 }
hwMplsPsProtectTunnName OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The name of protect-tunnel."
::= { hwMplsPsEntry 5 }
hwMplsPsProtectTunnId OBJECT-TYPE
SYNTAX Integer32 (1..65535)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Protect-tunnel id(session-tunnel-id)."
::= { hwMplsPsEntry 6 }
hwMplsPsRevertiveMode OBJECT-TYPE
SYNTAX Integer32 (1..2)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Revertive mode is a protection switching mode where revertive
action (switch back to the working LSP) is taken after the
working LSP is repaired.And switching does not occur in a
non-revertive mode.
1: revertive;
2: non-revertive;
"
::= { hwMplsPsEntry 7 }
hwMplsPsWTR OBJECT-TYPE
SYNTAX Integer32 (0..60)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Wait to Restore timer is only applicable for the revertive mode
and applies to a working LSP,It prevents reversion back to
select the working LSP until the Wait to Restore timer has
expired.The default value is 12 minutes.step is 30s."
::= { hwMplsPsEntry 8 }
hwMplsPsHoldOff OBJECT-TYPE
SYNTAX Integer32 (0..100)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The time between declaration of signal degrade or signal fail,
and the initialization of the protection switching algorithm.
step is 100ms.maximum is 10s."
::= { hwMplsPsEntry 9 }
hwMplsPsSwitchCondition OBJECT-TYPE
SYNTAX Integer32 (1..9)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The current switch condition of the protection group.
1: clear,This command clears all of the externally
initiated switch commands listed below;
2: lockout of protection,Fix the selector position on the
working LSP,Prevents the selector from switching to the
protection LSP when it is selecting the working LSP.
Switches the selector from the protection to the working LSP
when it is selecting the protection LSP;
3: forced protection,Switches the selector from the working LSP
to the protection LSP (unless a higher priority switch
request (i.e., LoP) is in effect);
4: signal fail,for 1:1,Signal Fail (SF) is declared when the
source of the protection domain enters the Defect State by
receiving a BDI packet (from the return LSP or out of band).
5: manual switch for working-lsp,Switches the selector from the
working LSP to the protection LSP (unless an equal or higher
priority switch request (i.e., LoP, FS, SF or MS) is in
effect);
6: manual switch for protection-lsp,Switches the selector from
the protection LSP to the working LSP (unless an equal or
higher priority switch request (i.e., LoP, FS, SF or MS) is
in effect).
7: WTR-timer;
8: HoldOff-timer;
9: Others;
The pripority of the commands are:
clear > lockout of protection > force switch > manual switch for working
lsp = manual switch for protection lsp"
::= { hwMplsPsEntry 10 }
hwMplsPsWorkTunnelState OBJECT-TYPE
SYNTAX Integer32 (1..2)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The state of working tunnel state in one protection group,
whether it is in detection,
1: it is outof defect
2: it enters defect
"
::= { hwMplsPsEntry 11 }
hwMplsPsProtTunnelState OBJECT-TYPE
SYNTAX Integer32 (1..2)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The state of protection tunnel state in one protection group,
whether it is in detection,
1: it is outof defect
2: it enters defect"
::= { hwMplsPsEntry 12 }
hwMplsPsSwitchResult OBJECT-TYPE
SYNTAX Integer32 (1..2)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Which tunnel is used to transfer the data stream.
1: working-tunnel
2: protection-tunnel"
::= { hwMplsPsEntry 13 }
hwMplsPsCfgType OBJECT-TYPE
SYNTAX Integer32 (1..2)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The type of protection switch which is configured.
1: 1:1
2: 1+1
3: shared mesh
4: packet 1:1"
::= { hwMplsPsEntry 14 }
hwMplsPsCfgProtectTunnId OBJECT-TYPE
SYNTAX Integer32 (1..65535)
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Protect-tunnel id(session-tunnel-id)."
::= { hwMplsPsEntry 15 }
hwMplsPsCfgRevertiveMode OBJECT-TYPE
SYNTAX Integer32 (1..2)
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Revertive mode is a protection switching mode where revertive
action (switch back to the working LSP) is taken after the
working LSP is repaired.And switching does not occur in a
non-revertive mode.
1: revertive;
2: non-revertive;
"
::= { hwMplsPsEntry 16 }
hwMplsPsCfgWTR OBJECT-TYPE
SYNTAX Integer32 (0..60)
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Wait to Restore timer is only applicable for the revertive mode
and applies to a working LSP,It prevents reversion back to
select the working LSP until the Wait to Restore timer has
expired.The default value is 12 minutes.step is 30s."
::= { hwMplsPsEntry 17 }
hwMplsPsCfgHoldOff OBJECT-TYPE
SYNTAX Integer32 (0..100)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The time between declaration of signal degrade or signal fail,
and the initialization of the protection switching algorithm.
step is 100ms.maximum is 10s."
::= { hwMplsPsEntry 18 }
hwMplsPsRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This variable is used to create, modify, and
delete a row in this table.
1: active
2: not in service
3: not ready
4: create and go
5: create and wait
6: destroy"
::= { hwMplsPsEntry 19 }
hwTunnPsTrapOpen OBJECT-TYPE
SYNTAX Unsigned32 (1..2)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"1:enable;
2:disable;"
::= { hwMplsPsObjects 2 }
hwMplsVCPsTable OBJECT-TYPE
SYNTAX SEQUENCE OF HwMplsVCPsEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Description."
::= { hwMplsPsObjects 3 }
hwMplsVCPsEntry OBJECT-TYPE
SYNTAX HwMplsVCPsEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"this table for these commands
1.mpls te protection tunnel XXX
2. mpls te reverse-lsp { lsp-name XXXX | lsr-id X.X.X.X tunnel-id x }
3. mpls te reserved-for-binding "
INDEX { hwMplsVCPsIfIndex }
::= { hwMplsVCPsTable 1 }
HwMplsVCPsEntry ::=
SEQUENCE {
hwMplsVCPsIfIndex
InterfaceIndex,
hwMplsVCPsTNLBinding
TruthValue,
hwMplsTeReverseLspName
OCTET STRING,
hwMplsVcPsRowStatus
RowStatus,
hwMplsTeReverseLspLsrId
IpAddress,
hwMplsTeReverseLspTunnId
Integer32
}
hwMplsVCPsIfIndex OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Description.the index of working tunnel interface of Protection group "
::= { hwMplsVCPsEntry 1 }
hwMplsVCPsTNLBinding OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Description.it is used by command ' mpls te reserved-for-binding '"
::= { hwMplsVCPsEntry 2 }
hwMplsTeReverseLspName OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Description.it is used for command ' mpls te reverse-lsp lspname'"
::= { hwMplsVCPsEntry 3 }
hwMplsVcPsRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Description.
1: active;
2: notInservice;
3: notReady;
4: CreateAndGo;
5: CreateAndWait;
6: destroy;"
::= { hwMplsVCPsEntry 4 }
hwMplsTeReverseLspLsrId OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Description.it is used for command ' mpls te reverse-lsp lsr-id X.X.X.X tunnel-id XX'"
::= { hwMplsVCPsEntry 5 }
hwMplsTeReverseLspTunnId OBJECT-TYPE
SYNTAX Integer32 (1..65535)
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Description.it is used for command ' mpls te reverse-lsp lsr-id X.X.X.X tunnel-id XX'"
::= { hwMplsVCPsEntry 6 }
hwMplsPsNotifications OBJECT IDENTIFIER ::= { hwMplsOamPs 4 }
hwMplsPsSwitchPtoW NOTIFICATION-TYPE
OBJECTS { hwMplsPsWorkTunnName, hwMplsPsWorkTunnId, hwMplsPsProtectTunnName, hwMplsPsProtectTunnId, hwMplsPsSwitchResult
}
STATUS current
DESCRIPTION
"This notification is generated when switching from
protection-lsp to working-lsp occured."
::= { hwMplsPsNotifications 1 }
hwMplsPsSwitchWtoP NOTIFICATION-TYPE
OBJECTS { hwMplsPsWorkTunnName, hwMplsPsWorkTunnId, hwMplsPsProtectTunnName, hwMplsPsProtectTunnId, hwMplsPsSwitchResult
}
STATUS current
DESCRIPTION
"This notification is generated when switching from woking-lsp
to protection-lsp occured.
"
::= { hwMplsPsNotifications 2 }
hwMplsOamPsConformance OBJECT IDENTIFIER ::= { hwMplsOamPs 100 }
hwMplsOamPsCompliances OBJECT IDENTIFIER ::= { hwMplsOamPsConformance 1 }
hwMplsOamPsGroupCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for mpls oam ps."
MODULE -- this module
MANDATORY-GROUPS { hwMplsPsGroup, hwMplsVcPsGroup }
::= { hwMplsOamPsCompliances 1 }
hwMplsOamPsGroups OBJECT IDENTIFIER ::= { hwMplsOamPsConformance 2 }
hwMplsPsGroup OBJECT-GROUP
OBJECTS { hwMplsPsType, hwMplsPsWorkTunnName, hwMplsPsWorkTunnId, hwMplsPsProtectTunnName, hwMplsPsProtectTunnId,
hwMplsPsRevertiveMode, hwMplsPsWTR, hwMplsPsHoldOff, hwMplsPsSwitchCondition, hwMplsPsWorkTunnelState,
hwMplsPsProtTunnelState, hwMplsPsSwitchResult, hwMplsPsCfgType, hwMplsPsCfgProtectTunnId, hwMplsPsCfgRevertiveMode,
hwMplsPsCfgWTR, hwMplsPsCfgHoldOff, hwMplsPsRowStatus, hwTunnPsTrapOpen, hwMplsVCPsIfIndex,
hwMplsPsIndex }
STATUS current
DESCRIPTION
"The compliance statement for mpls oam ps management."
::= { hwMplsOamPsGroups 1 }
hwMplsVcPsGroup OBJECT-GROUP
OBJECTS { hwMplsVCPsTNLBinding, hwMplsTeReverseLspName, hwMplsVcPsRowStatus, hwMplsTeReverseLspLsrId, hwMplsTeReverseLspTunnId
}
STATUS current
DESCRIPTION
"The compliance statement for mpls oam ps reverse lsp."
::= { hwMplsOamPsGroups 2 }
hwMplsPsNotificationGroup NOTIFICATION-GROUP
NOTIFICATIONS { hwMplsPsSwitchPtoW, hwMplsPsSwitchWtoP }
STATUS current
DESCRIPTION
"Description."
::= { hwMplsOamPsGroups 3 }
END
|