summaryrefslogtreecommitdiff
path: root/MIBS/cisco/CISCO-IETF-PW-MPLS-MIB
blob: 81f7b6fa9f9cca176ff77c291232b702a1ab1a98 (plain)
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
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
-- *****************************************************************
-- CISCO-IETF-PW-MPLS-MIB.my
--
-- February 2003, Tim Swanson
--
-- Copyright (c) 2003, 2006 by cisco Systems, Inc.
-- All rights reserved.
-- 
-- Made Cisco Proprietary based on IETF draft:
-- draft-ietf-pwe3-pw-mpls-mib-00.txt
-- *****************************************************************

CISCO-IETF-PW-MPLS-MIB DEFINITIONS ::= BEGIN

  IMPORTS 
     MODULE-IDENTITY, OBJECT-TYPE,  
     Unsigned32 
        FROM SNMPv2-SMI 

     MODULE-COMPLIANCE, OBJECT-GROUP 
        FROM SNMPv2-CONF 

     RowStatus, StorageType 
        FROM SNMPv2-TC 

     InterfaceIndexOrZero 
        FROM IF-MIB 

     MplsTunnelIndex, MplsTunnelInstanceIndex, 
     MplsLdpIdentifier, MplsLsrIdentifier 
        FROM MPLS-TC-STD-MIB 

     CpwVcIndexType 
        FROM CISCO-IETF-PW-TC-MIB 

     cpwVcIndex 
        FROM CISCO-IETF-PW-MIB 

     ciscoExperiment
        FROM CISCO-SMI
  ; 

  cpwVcMplsMIB MODULE-IDENTITY 
     LAST-UPDATED "200302261200Z"  -- 26 Feb 2003 12:00:00 GMT 
     ORGANIZATION 
        "Cisco Systems, Inc."
     CONTACT-INFO 
         " 
          Thomas D. Nadeau 
          Postal: Cisco Systems, Inc. 
                  250 Apollo Drive 
                  Chelmsford, MA 01824 
          Tel:    +1-978-497-3051 
          Email:  tnadeau@cisco.com 

          MPLS MIB Development Team
          Postal: Cisco Systems, Inc.
                  250 Apollo Drive
                  Chelmsford, MA 01924
          Tel:    +1-978-497-3989
          Email:  ch-mpls-mib-dev@cisco.com
         " 

     DESCRIPTION 
         "This MIB complements the CISCO-IETF-PW-MIB for PW operation 
          over MPLS. 
         " 

     -- Revision history. 
     REVISION "200302261200Z"  -- 26 Feb 2003 12:00:00 GMT 
     DESCRIPTION
           "Made Cisco proprietary based on the PW-MPLS-MIB.my file
            extracted from draft-ietf-pwe3-pw-mpls-mib-00.txt
           "

     REVISION 
         "200206021200Z"  -- 02 June 2002 12:00:00 EST 
     DESCRIPTION 
        "Draft-ietf-pwe3-pw-mpls-mib-00 version. Changes from  
         previous version: 
         1) Spliting the mapping table into two tables, one for 
            Non TE application and one for TE application. 
         2) Object types alignment with MPLS MIBs. 

        " 
     REVISION 
         "200201291200Z"  -- 29 January 2002 12:00:00 EST 
     DESCRIPTION 
        "Changes from previous version: 
         1) Add LDP entity association. 
         2) Clarify inbound/outbound directions. 
         3) Simplify indexing of outbound and inbound tables 
            and providing get next variables. 
        " 
     REVISION 
         "200107111200Z"  -- 7 November 2001 12:00:00 EST 
     DESCRIPTION 
        "Changes from previous version: 
         1) Remove Vc instance from table indexing. 
         2) Update descriptions of indexing and protection. 
         3) Remove the need for MPLS-LSR in case of VC only. 
         4) Change pwVcMplsMplsType to BITS in order to enable 
            multiple types of outer tunnel. 
         5) Add ifindex to outer tunnel tables to support vcOnly  
            option. 
         6) change naming of outbound, inbound and mapping tables to  
            reflect addition of VC only port ifindexes. 
         7) Adapt order of items in mapping table to SNMP convention. 
        " 
     REVISION 
         "200107111200Z"  -- July 11 2001 12:00:00 EST 
     DESCRIPTION 
        "draft-zelig-pw-mib-00.txt - initial version" 

     ::= { ciscoExperiment 107 } 

  -- Top-level components of this MIB. 

  -- Traps 
  cpwVcMplsNotifications OBJECT IDENTIFIER  
                                ::= { cpwVcMplsMIB 0 } 
  cpwVcMplsNotifyPrefix  OBJECT IDENTIFIER 
                                ::= { cpwVcMplsNotifications 0 } 
  -- Tables, Scalars 
  cpwVcMplsObjects       OBJECT IDENTIFIER 
                                ::= { cpwVcMplsMIB 1 } 

  -- Conformance 
  cpwVcMplsConformance   OBJECT IDENTIFIER  
                                ::= { cpwVcMplsMIB 2 } 

  -- PW VC MPLS table 

  cpwVcMplsTable   OBJECT-TYPE 
     SYNTAX        SEQUENCE OF CpwVcMplsEntry 
     MAX-ACCESS    not-accessible 
     STATUS        current 
     DESCRIPTION 
         "This table specifies information for VC to be carried over  
          MPLS PSN." 
     ::= { cpwVcMplsObjects 1 } 

  cpwVcMplsEntry   OBJECT-TYPE 
     SYNTAX        CpwVcMplsEntry 
     MAX-ACCESS    not-accessible 
     STATUS        current 
     DESCRIPTION 
          "A row in this table represents parameters specific to MPLS  
           PSN for a pseudo wire connection (VC). The row is created  
           automatically by the local agent if the cpwVcPsnType is  
           MPLS. It is indexed by cpwVcIndex, which uniquely  
           identifying a singular connection. 
          " 

     INDEX  { cpwVcIndex } 
        ::= { cpwVcMplsTable 1 } 

  CpwVcMplsEntry ::= SEQUENCE { 
        cpwVcMplsMplsType          BITS, 
        cpwVcMplsExpBitsMode       INTEGER, 
        cpwVcMplsExpBits           Unsigned32, 
        cpwVcMplsTtl               Unsigned32, 
        cpwVcMplsLocalLdpID        MplsLdpIdentifier, 
        cpwVcMplsLocalLdpEntityID  Unsigned32, 
        cpwVcMplsPeerLdpID         MplsLdpIdentifier, 
        cpwVcMplsStorageType       StorageType 
     } 

  cpwVcMplsMplsType OBJECT-TYPE  
     SYNTAX   BITS { 
         mplsTe    (0), 
         mplsNonTe (1), 
         vcOnly    (2) 
              } 
     MAX-ACCESS    read-write 
     STATUS        current 
     DESCRIPTION 
          "Set by the operator to indicate the outer tunnel types, if 
           exists. mplsTe is used if the outer tunnel was set-up by  
           MPLS-TE, and mplsNonTe is used the outer tunnel was set up 
           by LDP or manually. Combination of mplsTe and mplsNonTe  
           may exist in case of outer tunnel protection. 
           vcOnly is used if there is no outer tunnel label. vcOnly  
           cannot be combined with mplsNonTe or mplsTe." 
     ::= { cpwVcMplsEntry 1 } 

  cpwVcMplsExpBitsMode OBJECT-TYPE  
     SYNTAX   INTEGER { 
         outerTunnel      (1), 
         specifiedValue   (2), 
         serviceDependant (3) 
              } 

     MAX-ACCESS    read-write 
     STATUS        current 
     DESCRIPTION 
         "Set by the operator to indicate the way the VC shim label 
          EXP bits are to be determined. The value of outerTunnel(1) 
          is used where there is an outer tunnel - cpwVcMplsMplsType  
          is mplsTe or mplsNonTe. Note that in this case there is no 
          need to mark the VC label with the EXP bits since the VC  
          label is not visible to the intermediate nodes. 
          If there is no outer tunnel, specifiedValue(2) indicate  
          that the value is specified by cpwVcMplsExpBits, and  
          serviceDependant(3) indicate that the EXP bits are setup  
          based on a rule specified in the emulated service specific  
          tables, for example when the EXP bits are a function of  
          802.1p marking for Ethernet emulated service." 
     REFERENCE 
          "martini et al, <draft-martini-l2circuit-encap-mpls.txt>"  
     DEFVAL { outerTunnel } 
     ::= { cpwVcMplsEntry 2 } 

  cpwVcMplsExpBits OBJECT-TYPE  
     SYNTAX     Unsigned32 (0..7) 
     MAX-ACCESS    read-write 
     STATUS        current 
     DESCRIPTION 
          "Set by the operator to indicate the MPLS EXP bits to be  
           used on the VC shim label if cpwVcMplsExpBitsMode is   
           specifiedValue(2), zero otherwise." 
     DEFVAL { 0 } 
     ::= { cpwVcMplsEntry 3 } 

  cpwVcMplsTtl OBJECT-TYPE  
     SYNTAX        Unsigned32 (0..255) 
     MAX-ACCESS    read-write 
     STATUS        current 
     DESCRIPTION 
          "Set by the operator to indicate the VC TTL bits to be used 
           on the VC shim label." 
     REFERENCE 
          "martini et al, <draft-martini-l2circuit-encap-mpls> "  
     DEFVAL { 2 } 
     ::= { cpwVcMplsEntry 4 } 

  cpwVcMplsLocalLdpID OBJECT-TYPE  
     SYNTAX        MplsLdpIdentifier 
     MAX-ACCESS    read-write 
     STATUS        current 
     DESCRIPTION 
          "The local LDP identifier of the LDP entity creating 
           this VC in the local node. As the VC labels are always 
           set from the per platform label space, the last two octets  
           in the LDP ID MUST be always both zeros." 
     REFERENCE 
          "<draft-ietf-ldp-mib>, 
           <draft-martini-l2circuit-encap-mpls>. 
          " 
     ::= { cpwVcMplsEntry 5 } 

  cpwVcMplsLocalLdpEntityID OBJECT-TYPE  
     SYNTAX        Unsigned32 
     MAX-ACCESS    read-write 
     STATUS        current 
     DESCRIPTION 
          "The local LDP Entity index of the LDP entity to be used  
           for this VC on the local node. Should be set to all zeros  
           if not used." 
     REFERENCE 
          "<draft-ietf-ldp-mib> 
          " 
     ::= { cpwVcMplsEntry 6 } 

  cpwVcMplsPeerLdpID OBJECT-TYPE  
     SYNTAX        MplsLdpIdentifier 
     MAX-ACCESS    read-only 
     STATUS        current 
     DESCRIPTION 
          "The peer LDP identifier as identified from the LDP  
           session. Should be zero if not relevant or not known yet." 
     REFERENCE 
          "<draft-ietf-ldp-mib>, 
           <draft-martini-l2circuit-encap-mpls>. 
          " 
     ::= { cpwVcMplsEntry 7 } 

  cpwVcMplsStorageType OBJECT-TYPE  
     SYNTAX                      StorageType 
     MAX-ACCESS                  read-write 
     STATUS                      current 
     DESCRIPTION 
         "This variable indicates the storage type for this row." 
     ::= { cpwVcMplsEntry 8 } 

  -- End of PW MPLS VC table 

  -- Pseudo Wire VC MPLS Outbound Tunnel table 

  cpwVcMplsOutboundIndexNext   OBJECT-TYPE 
     SYNTAX      Unsigned32 (0..4294967295) 
     MAX-ACCESS     read-only 
     STATUS         current 
     DESCRIPTION 
         "This object contains an appropriate value to 
          be used for cpwVcMplsOutboundIndex when creating 
          entries in the cpwVcMplsOutboundTable. The value 
          0 indicates that no unassigned entries are 
          available. To obtain the cpwVcMplsOutboundIndex 
          value for a new entry, the manager issues a 
          management protocol retrieval operation to obtain 
          the current value of this object.  After each 
          retrieval, the agent should modify the value to 
          the next unassigned index, however the agent MUST 
          NOT assume such retrieval will be done for each  
          row created." 
  ::= { cpwVcMplsObjects 2 } 

  cpwVcMplsOutboundTable   OBJECT-TYPE 
     SYNTAX        SEQUENCE OF CpwVcMplsOutboundEntry 
     MAX-ACCESS    not-accessible 
     STATUS        current 
     DESCRIPTION 
         "This table associates VCs using MPLS PSN with the outbound 
          MPLS tunnels (i.e. toward the PSN) or the physical  
          interface in case of VC only." 
     ::= { cpwVcMplsObjects 3 } 

  cpwVcMplsOutboundEntry OBJECT-TYPE 
     SYNTAX        CpwVcMplsOutboundEntry 
     MAX-ACCESS    not-accessible 
     STATUS        current 
     DESCRIPTION 
         "A row in this table represents a link between PW VC (that 
          require MPLS tunnels) and MPLS tunnel toward the PSN. 
          In the case of VC only, it associate the VC with the  
          interface that shall carry the VC. 
          This table is indexed by the pwVcIndex and an additional 
          index enabling multiple rows for the same VC index. 

          At least one entry is created in this table by the operator  
          for each PW VC that requires MPLS PSN. Note that the first 
          entry for each VC can be indexed by cpwVcMplsOutboundIndex  
          equal zero without a need for retrieval of  
          cpwVcMplsOutboundIndexNext. 

          This table points to the appropriate MPLS MIB. In the case  
          of MPLS-TE, the 4 variables relevant to the indexing of  
          a TE MPLS tunnel are set as in Srinivasan, et al, <draft- 
          ietf-mpls-te-mib>. 
          In case of Non-TE MPLS (an outer tunnel label assigned by  
          LDP or manually) the table points to the XC entry in the  
          LSR MIB as in Srinivasan, et al, <draft-ietf-mpls-lsr-mib>. 
          In case of VC only (no outer tunnel) the ifIndex of the 
          port to carry the VC is configured.  

          Each VC may have multiple rows in this tables if protection  
          is available at the outer tunnel level, each row may be of 
          different type except for VC only, on which only rows with 
          ifIndex of the port are allowed. 
          " 

     INDEX { cpwVcIndex, cpwVcMplsOutboundIndex } 

        ::= { cpwVcMplsOutboundTable 1 } 

  CpwVcMplsOutboundEntry ::= SEQUENCE { 
        cpwVcMplsOutboundIndex             Unsigned32, 
        cpwVcMplsOutboundLsrXcIndex        Unsigned32, 
        cpwVcMplsOutboundTunnelIndex       MplsTunnelIndex, 
        cpwVcMplsOutboundTunnelInstance    MplsTunnelInstanceIndex, 
        cpwVcMplsOutboundTunnelLclLSR      MplsLsrIdentifier, 
        cpwVcMplsOutboundTunnelPeerLSR     MplsLsrIdentifier, 
        cpwVcMplsOutboundIfIndex           InterfaceIndexOrZero, 
        cpwVcMplsOutboundRowStatus         RowStatus, 
        cpwVcMplsOutboundStorageType       StorageType 
        } 

  cpwVcMplsOutboundIndex OBJECT-TYPE 
     SYNTAX        Unsigned32 (0..4294967295) 
     MAX-ACCESS    not-accessible 
     STATUS        current 
     DESCRIPTION 
         "Arbitrary index for enabling multiple rows per VC in 
          this table. Next available free index can be retrieved  
          using cpwVcMplsOutboundIndexNext. 
          " 
     ::= { cpwVcMplsOutboundEntry 1 } 

  cpwVcMplsOutboundLsrXcIndex           OBJECT-TYPE 
     SYNTAX        Unsigned32 
     MAX-ACCESS    read-create 
     STATUS        current 
     DESCRIPTION 
         "This object will be set by the operator. If the outer 
          label is defined in the MPL-LSR-MIB, i.e. set by LDP 
          or manually, this object points to the XC index  
          of the outer tunnel. Otherwise, it is set to zero." 
     ::= { cpwVcMplsOutboundEntry 2 } 

  cpwVcMplsOutboundTunnelIndex         OBJECT-TYPE 
     SYNTAX                           MplsTunnelIndex 
     MAX-ACCESS                       read-create 
     STATUS                           current 
     DESCRIPTION 
          "Part of set of indexes for outbound tunnel in the case of  
           MPLS-TE outer tunnel, otherwise set to zero." 
     ::= { cpwVcMplsOutboundEntry  3 }  

  cpwVcMplsOutboundTunnelInstance      OBJECT-TYPE 
     SYNTAX                           MplsTunnelInstanceIndex 
     MAX-ACCESS                       read-create 
     STATUS                           current 
     DESCRIPTION 
          "Part of set of indexes for outbound tunnel in the case of  
           MPLS-TE outer tunnel, otherwise set to zero." 
     ::= { cpwVcMplsOutboundEntry   4 }  

  cpwVcMplsOutboundTunnelLclLSR        OBJECT-TYPE 
     SYNTAX                           MplsLsrIdentifier 
     MAX-ACCESS                       read-create 
     STATUS                           current 
     DESCRIPTION  
          "Part of set of indexes for outbound tunnel in the case of  
           MPLS-TE outer tunnel, otherwise set to zero." 
     ::= { cpwVcMplsOutboundEntry   5 }  

  cpwVcMplsOutboundTunnelPeerLSR       OBJECT-TYPE 
     SYNTAX                           MplsLsrIdentifier 
     MAX-ACCESS                       read-create 
     STATUS                           current 
     DESCRIPTION 
          "Part of set of indexes for outbound tunnel in the case of  
           MPLS-TE outer tunnel, otherwise set to zero." 
     ::= { cpwVcMplsOutboundEntry   6 }  

  cpwVcMplsOutboundIfIndex       OBJECT-TYPE 
     SYNTAX                           InterfaceIndexOrZero 
     MAX-ACCESS                       read-create 
     STATUS                           current 
     DESCRIPTION 
          "In case of VC only (no outer tunnel), this object holds 
           the ifIndex of the outbound port, otherwise set to zero." 
     ::= { cpwVcMplsOutboundEntry   7 }  

  cpwVcMplsOutboundRowStatus   OBJECT-TYPE 
     SYNTAX                      RowStatus 
     MAX-ACCESS                  read-create 
     STATUS                      current 
     DESCRIPTION 
         "For creating, modifying, and deleting this row." 
     ::= { cpwVcMplsOutboundEntry   8 } 

  cpwVcMplsOutboundStorageType OBJECT-TYPE 
     SYNTAX                      StorageType 
     MAX-ACCESS                  read-create 
     STATUS                      current 
     DESCRIPTION 
         "This variable indicates the storage type for this object." 
     ::= { cpwVcMplsOutboundEntry   9 } 

  -- End of Pseudo Wire VC MPLS Outbound Tunnel table 

  -- Pseudo Wire VC MPLS Inbound Tunnel table 

  cpwVcMplsInboundIndexNext   OBJECT-TYPE 
     SYNTAX      Unsigned32 (0..4294967295) 
     MAX-ACCESS     read-only 
     STATUS         current 
     DESCRIPTION 
         "This object contains an appropriate value to 
          be used for cpwVcMplsInboundIndex when creating 
          entries in the cpwVcMplsInboundTable. The value 
          0 indicates that no unassigned entries are 
          available. To obtain the cpwVcMplsInboundIndex 
          value for a new entry, the manager issues a 
          management protocol retrieval operation to obtain 
          the current value of this object.  After each 
          retrieval, the agent should modify the value to 
          the next unassigned index, however the agent MUST 
          NOT assume such retrieval will be done for each  
          row created." 
  ::= { cpwVcMplsObjects 4 } 

  cpwVcMplsInboundTable   OBJECT-TYPE 
     SYNTAX        SEQUENCE OF CpwVcMplsInboundEntry 
     MAX-ACCESS    not-accessible 
     STATUS        current 
     DESCRIPTION 
        "This table associates VCs using MPLS PSN with the inbound 
         MPLS tunnels (i.e. for packets coming from the PSN),  
         if such association is desired (mainly for security  
         reasons)." 
     ::= { cpwVcMplsObjects 5 } 

  cpwVcMplsInboundEntry OBJECT-TYPE 
     SYNTAX        CpwVcMplsInboundEntry 
     MAX-ACCESS    not-accessible 
     STATUS        current 
     DESCRIPTION 
         "A row in this table represents a link between PW VCs (that 
          require MPLS tunnels) and MPLS tunnel for packets arriving 
          from the PSN. 
          This table is indexed by the set of indexes used to 
          identify the VC - cpwVcIndex and an additional 
          index enabling multiple rows for the same VC index. 

          Note that the first entry for each VC can be indexed by  
          cpwVcMplsOutboundIndex equal zero without a need for  
          retrieval of cpwVcMplsInboundIndexNext. 

          An entry is created in this table either automatically by  
          the local agent or created manually by the operator in  
          cases that strict mode is required. 

          Note that the control messages contain VC ID and VC type,  
          which together with the remote IP address identify the 
          cpwVcIndex in the local node. 
          This table points to the appropriate MPLS MIB. In the case  
          of MPLS-TE, the 4 variables relevant to the indexing of a 
          TE MPLS tunnel are set as in Srinivasan, et al, <draft- 
          ietf-mpls-te-mib>. 

          In case of non-TE MPLS tunnel (an outer tunnel label  
          assigned by LDP or manually) the table points to the XC  
          entry in the MPLS-LSR-MIB as in Srinivasan, et al, <draft- 
          ietf-mpls-lsr-mib>. 

          Each VC may have multiple rows in this tables if protection  
          is available at the outer tunnel level, each row may be of 
          different type except for VC only, on which only rows with 
          ifIndex of the port are allowed. 
         " 

     INDEX  { cpwVcIndex, cpwVcMplsInboundIndex } 

        ::= { cpwVcMplsInboundTable 1 } 

  CpwVcMplsInboundEntry ::= SEQUENCE { 
        cpwVcMplsInboundIndex               Unsigned32, 
        cpwVcMplsInboundLsrXcIndex          Unsigned32, 
        cpwVcMplsInboundTunnelIndex         MplsTunnelIndex, 
        cpwVcMplsInboundTunnelInstance      MplsTunnelInstanceIndex, 
        cpwVcMplsInboundTunnelLclLSR        MplsLsrIdentifier, 
        cpwVcMplsInboundTunnelPeerLSR       MplsLsrIdentifier, 
        cpwVcMplsInboundIfIndex             InterfaceIndexOrZero, 
        cpwVcMplsInboundRowStatus           RowStatus, 
        cpwVcMplsInboundStorageType         StorageType 
       } 

  cpwVcMplsInboundIndex OBJECT-TYPE 
     SYNTAX        Unsigned32 (0..4294967295) 
     MAX-ACCESS    not-accessible 
     STATUS        current 
     DESCRIPTION 
         "Arbitrary index for enabling multiple rows per VC in 
          this table. Next available free index can be retrieved 
          using cpwVcMplsInboundIndexNext. 
          " 
     ::= { cpwVcMplsInboundEntry 1 } 

  cpwVcMplsInboundLsrXcIndex OBJECT-TYPE 
     SYNTAX        Unsigned32 
     MAX-ACCESS    read-create 
     STATUS        current 
     DESCRIPTION 
         "If the outer label is defined in the MPL-LSR-MIB, i.e. set  
          by LDP or manually, this object points to the XC index  
          of the outer tunnel. Otherwise, it is set to zero." 
     ::= { cpwVcMplsInboundEntry 2 } 

  cpwVcMplsInboundTunnelIndex         OBJECT-TYPE 
     SYNTAX                           MplsTunnelIndex 
     MAX-ACCESS                       read-create 
     STATUS                           current 
     DESCRIPTION 
         "Part of set of indexes for outbound tunnel in the case of  
          MPLS-TE outer tunnel, otherwise set to zero." 
     ::= { cpwVcMplsInboundEntry  3 }  

  cpwVcMplsInboundTunnelInstance      OBJECT-TYPE 
     SYNTAX                           MplsTunnelInstanceIndex 
     MAX-ACCESS                       read-create 
     STATUS                           current 
     DESCRIPTION 
         "Part of set of indexes for outbound tunnel in the case of  
          MPLS-TE outer tunnel, otherwise set to zero." 
     ::= { cpwVcMplsInboundEntry   4 }  

  cpwVcMplsInboundTunnelLclLSR        OBJECT-TYPE 
     SYNTAX                           MplsLsrIdentifier 
     MAX-ACCESS                       read-create 
     STATUS                           current 
     DESCRIPTION  
         "Part of set of indexes for outbound tunnel in the case of  
          MPLS-TE outer tunnel, otherwise set to zero." 
     ::= { cpwVcMplsInboundEntry   5 }  

  cpwVcMplsInboundTunnelPeerLSR       OBJECT-TYPE 
     SYNTAX                           MplsLsrIdentifier 
     MAX-ACCESS                       read-create 
     STATUS                           current 
     DESCRIPTION  
         "Part of set of indexes for outbound tunnel in the case of  
          MPLS-TE outer tunnel, otherwise set to zero." 
     ::= { cpwVcMplsInboundEntry   6 }  

  cpwVcMplsInboundIfIndex              OBJECT-TYPE 
     SYNTAX                           InterfaceIndexOrZero 
     MAX-ACCESS                       read-create 
     STATUS                           current 
     DESCRIPTION 
         "In case of VC only (no outer tunnel), this object holds the 
          ifIndex of the inbound port, otherwise set to zero." 
     ::= { cpwVcMplsInboundEntry   7 }  

  cpwVcMplsInboundRowStatus   OBJECT-TYPE 
     SYNTAX                      RowStatus 
     MAX-ACCESS                  read-create 
     STATUS                      current 
     DESCRIPTION 
         "For creating, modifying, and deleting this row." 
     ::= { cpwVcMplsInboundEntry   8 } 

  cpwVcMplsInboundStorageType OBJECT-TYPE 
     SYNTAX                      StorageType 
     MAX-ACCESS                  read-create 
     STATUS                      current 
     DESCRIPTION 
         "This variable indicates the storage type for this row." 
     ::= { cpwVcMplsInboundEntry   9 } 

  -- End of Pseudo Wire VC MPLS Inbound Tunnel table 

  -- MPLS to VC Mapping Tables. 

  cpwVcMplsNonTeMappingTable OBJECT-TYPE  
     SYNTAX           SEQUENCE OF CpwVcMplsNonTeMappingEntry 
     MAX-ACCESS       not-accessible 
     STATUS           current 
     DESCRIPTION 
         "This table maps an inbound/outbound Tunnel to a VC in non- 
          TE applications." 
     ::= { cpwVcMplsObjects 6 } 

  cpwVcMplsNonTeMappingEntry OBJECT-TYPE 
     SYNTAX           CpwVcMplsNonTeMappingEntry 
     MAX-ACCESS       not-accessible 
     STATUS           current 
     DESCRIPTION 
          "A row in this table represents the association 
           between the PW VC and it's non TE MPLS outer Tunnel 
           it's physical interface if there is no outer tunnel  
           (VC only). 

           An application can use this table to quickly retrieve the  
           PW carried over specific non-TE MPLS outer tunnel or  
           physical interface. 

           The table in indexed by the XC index for MPLS Non-TE  
           tunnel, or ifIndex of the port in VC only case, the  
           direction of the VC in the specific entry and the VCIndex. 

           The same table is used in both inbound and outbound 
           directions, but in a different row for each direction. If  
           the inbound association is not known, no rows should exist  
           for it. 

           Rows are created by the local agent when all the  
           association data is available for display." 

     INDEX  { cpwVcMplsNonTeMappingTunnelDirection, 
              cpwVcMplsNonTeMappingXcTunnelIndex, 
              cpwVcMplsNonTeMappingIfIndex, 
              cpwVcMplsNonTeMappingVcIndex } 

        ::= { cpwVcMplsNonTeMappingTable 1 } 

  CpwVcMplsNonTeMappingEntry ::= SEQUENCE { 
        cpwVcMplsNonTeMappingTunnelDirection   INTEGER, 
        cpwVcMplsNonTeMappingXcTunnelIndex     Unsigned32, 
        cpwVcMplsNonTeMappingIfIndex           InterfaceIndexOrZero, 
        cpwVcMplsNonTeMappingVcIndex           CpwVcIndexType 
     } 

  cpwVcMplsNonTeMappingTunnelDirection OBJECT-TYPE 
     SYNTAX        INTEGER  { 
        outbound (1), -- From the PE toward the PSN 
        inbound  (2)  -- From the PSN into the PE 
     } 
     MAX-ACCESS    not-accessible 
     STATUS        current 
     DESCRIPTION 
         "Identifies if the row represent an outbound or inbound  
          mapping." 
     ::= { cpwVcMplsNonTeMappingEntry 1 } 

  cpwVcMplsNonTeMappingXcTunnelIndex OBJECT-TYPE 
     SYNTAX        Unsigned32 (0..4294967295) 
     MAX-ACCESS    not-accessible 
     STATUS        current 
     DESCRIPTION 
         "Index for the conceptual XC row identifying Tunnel to VC  
          mappings when the outer tunnel is created by the MPLS-LSR- 
          MIB, Zero otherwise." 
     ::= { cpwVcMplsNonTeMappingEntry 2 } 

  cpwVcMplsNonTeMappingIfIndex  OBJECT-TYPE 
     SYNTAX        InterfaceIndexOrZero 
     MAX-ACCESS    not-accessible 
     STATUS        current 
     DESCRIPTION 
         "Identify the port on which the VC is carried for VC only  
          case." 
     ::= { cpwVcMplsNonTeMappingEntry 3 } 

  cpwVcMplsNonTeMappingVcIndex  OBJECT-TYPE 
     SYNTAX        CpwVcIndexType 
     MAX-ACCESS    read-only 
     STATUS        current 
     DESCRIPTION 
         "The value that represent the VC in the cpwVcTable." 
     ::= { cpwVcMplsNonTeMappingEntry 4 } 

  -- End of Non-TE MPLS Tunnel to VC Mapping Table 

  cpwVcMplsTeMappingTable OBJECT-TYPE  
     SYNTAX           SEQUENCE OF CpwVcMplsTeMappingEntry 
     MAX-ACCESS       not-accessible 
     STATUS           current 
     DESCRIPTION 
         "This table maps an inbound/outbound Tunnel to a VC in  
          MPLS-TE applications." 
     ::= { cpwVcMplsObjects 7 } 

  cpwVcMplsTeMappingEntry OBJECT-TYPE 
     SYNTAX           CpwVcMplsTeMappingEntry 
     MAX-ACCESS       not-accessible 
     STATUS           current 
     DESCRIPTION 
          "A row in this table represents the association 
           between a PW VC and it's MPLS-TE outer Tunnel. 

           An application can use this table to quickly retrieve the  
           PW carried over specific TE MPLS outer tunnel. 

           The table in indexed by the 4 indexes of a TE tunnel, 
           the direction of the VC specific entry and the VcIndex. 

           The same table is used in both inbound and outbound 
           directions, a different row for each direction. If the  
           inbound association is not known, no rows should exist for  
           it. 

           Rows are created by the local agent when all the  
           association data is available for display." 

     INDEX  { cpwVcMplsTeMappingTunnelDirection, 
              cpwVcMplsTeMappingTunnelIndex,  
              cpwVcMplsTeMappingTunnelInstance, 
              cpwVcMplsTeMappingTunnelPeerLsrID, 
              cpwVcMplsTeMappingTunnelLocalLsrID, 
              cpwVcMplsTeMappingVcIndex } 

        ::= { cpwVcMplsTeMappingTable 1 } 

  CpwVcMplsTeMappingEntry ::= SEQUENCE { 
        cpwVcMplsTeMappingTunnelDirection   INTEGER, 
        cpwVcMplsTeMappingTunnelIndex       MplsTunnelIndex, 
        cpwVcMplsTeMappingTunnelInstance    MplsTunnelInstanceIndex, 
        cpwVcMplsTeMappingTunnelPeerLsrID   MplsLsrIdentifier, 
        cpwVcMplsTeMappingTunnelLocalLsrID  MplsLsrIdentifier, 
        cpwVcMplsTeMappingVcIndex           CpwVcIndexType 
     } 

  cpwVcMplsTeMappingTunnelDirection OBJECT-TYPE 
     SYNTAX        INTEGER  { 
        outbound (1), -- From the PE toward the PSN 
        inbound  (2)  -- From the PSN into the PE 
     } 
     MAX-ACCESS    not-accessible 
     STATUS        current 
     DESCRIPTION 
         "Identifies if the row represent an outbound or inbound  
          mapping." 
     ::= { cpwVcMplsTeMappingEntry 1 } 

  cpwVcMplsTeMappingTunnelIndex OBJECT-TYPE 
     SYNTAX        MplsTunnelIndex 
     MAX-ACCESS    not-accessible 
     STATUS        current 
     DESCRIPTION 
         "Primary index for the conceptual row identifying the  
          MPLS-TE tunnel." 
     ::= { cpwVcMplsTeMappingEntry 2 } 

  cpwVcMplsTeMappingTunnelInstance OBJECT-TYPE 
     SYNTAX        MplsTunnelInstanceIndex 
     MAX-ACCESS    not-accessible 
     STATUS        current 
     DESCRIPTION 
         "Identifies an instance of the MPLS-TE tunnel." 
     ::= { cpwVcMplsTeMappingEntry 3 } 

  cpwVcMplsTeMappingTunnelPeerLsrID  OBJECT-TYPE 
     SYNTAX        MplsLsrIdentifier 
     MAX-ACCESS    not-accessible 
     STATUS        current 
     DESCRIPTION 
         "Identifies an Peer LSR when the outer tunnel is MPLS-TE  
          based." 
     ::= { cpwVcMplsTeMappingEntry 4 } 

  cpwVcMplsTeMappingTunnelLocalLsrID  OBJECT-TYPE 
     SYNTAX        MplsLsrIdentifier 
     MAX-ACCESS    not-accessible 
     STATUS        current 
     DESCRIPTION 
         "Identifies the local LSR." 
     ::= { cpwVcMplsTeMappingEntry 5 } 

  cpwVcMplsTeMappingVcIndex  OBJECT-TYPE 
     SYNTAX        CpwVcIndexType 
     MAX-ACCESS    read-only 
     STATUS        current 
     DESCRIPTION 
         "The value that represent the VC in the cpwVcTable." 
     ::= { cpwVcMplsTeMappingEntry 6 } 

  -- End of TE MPLS Tunnel to VC Mapping Table 

  -- Notifications - PW over MPLS - FFS 
  -- End of notifications. 

  -- conformance information 

     -- Note: Conformance at the object access and values level is  
     -- still FFS, therefore current conformance is defined at the 
     -- object existence level only. 

  cpwVcMplsGroups      OBJECT IDENTIFIER ::= { cpwVcMplsConformance 1 } 
  cpwVcMplsCompliances OBJECT IDENTIFIER ::= { cpwVcMplsConformance 2 } 

  cpwMplsModuleCompliance MODULE-COMPLIANCE 
      STATUS  current 
      DESCRIPTION 
              "The compliance statement for agent that support PW  
               over MPLS PSN operation." 

      MODULE  -- this module 
          MANDATORY-GROUPS { cpwVcMplsGroup, 
                             cpwVcMplsOutboundGroup, 
                             cpwVcMplsMappingGroup 
                           } 

          GROUP       cpwVcMplsInboundGroup 
          DESCRIPTION 
              "This group is mandatory for those PE that support PW  
               over MPLS PSN." 

      ::= { cpwVcMplsCompliances 1 } 

  -- Units of conformance. 

  cpwVcMplsGroup OBJECT-GROUP  
     OBJECTS { 
              cpwVcMplsMplsType, 
              cpwVcMplsExpBitsMode, 
              cpwVcMplsExpBits, 
              cpwVcMplsTtl, 
              cpwVcMplsLocalLdpID, 
              cpwVcMplsLocalLdpEntityID, 
              cpwVcMplsPeerLdpID, 
              cpwVcMplsStorageType 
            } 

     STATUS  current 
     DESCRIPTION 
            "Collection of objects needed for PW VC 
             over MPLS PSN configuration." 
     ::= { cpwVcMplsGroups 1 } 

  cpwVcMplsOutboundGroup OBJECT-GROUP  
     OBJECTS { 
              cpwVcMplsOutboundIndexNext, 
              cpwVcMplsOutboundLsrXcIndex, 
              cpwVcMplsOutboundTunnelIndex, 
              cpwVcMplsOutboundTunnelInstance, 
              cpwVcMplsOutboundTunnelLclLSR, 
              cpwVcMplsOutboundTunnelPeerLSR, 
              cpwVcMplsOutboundIfIndex, 
              cpwVcMplsOutboundRowStatus, 
              cpwVcMplsOutboundStorageType 
            } 

     STATUS  current 
     DESCRIPTION 
            "Collection of objects needed for outbound association of  
             VC and MPLS tunnel." 
     ::= { cpwVcMplsGroups 2 } 

  cpwVcMplsInboundGroup OBJECT-GROUP  
     OBJECTS { 
              cpwVcMplsInboundIndexNext, 
              cpwVcMplsInboundLsrXcIndex, 
              cpwVcMplsInboundTunnelIndex, 
              cpwVcMplsInboundTunnelInstance, 
              cpwVcMplsInboundTunnelLclLSR, 
              cpwVcMplsInboundTunnelPeerLSR, 
              cpwVcMplsInboundIfIndex, 
              cpwVcMplsInboundRowStatus, 
              cpwVcMplsInboundStorageType 
            } 

     STATUS  current 
     DESCRIPTION 
            "Collection of objects needed for inbound association of  
             VC and MPLS tunnel. This group is mandatory if strict  
             mode is implemented." 
     ::= { cpwVcMplsGroups 3 } 

  cpwVcMplsMappingGroup OBJECT-GROUP  
     OBJECTS { 
              cpwVcMplsNonTeMappingVcIndex, 
              cpwVcMplsTeMappingVcIndex 
            } 

     STATUS  current 
     DESCRIPTION 
            "Collection of objects used for mapping of tunnels and VC 
             labels to VC index." 
     ::= { cpwVcMplsGroups 4 } 

END