summaryrefslogtreecommitdiff
path: root/MIBS/telco-systems/binox/PRVT-MPLS-LDP-MIB
blob: f936c517f7fc786d914b7cc816cef97e30e3cffc (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
-- *********************************************************************
-- **
-- ** BATM Advanced Communications.
-- **
-- *********************************************************************
-- ** Filename: PRVT-MPLS-LDP-MIB.mib
-- ** Project: T-Metro Switches.
-- ** Purpose: Private MIB
-- *********************************************************************
-- (c) Copyright, 2009, BATM Advanced Communications. All rights reserved.
-- WARNING:
--
-- BY UTILIZING THIS FILE, YOU AGREE TO THE FOLLOWING:
--
-- This file is the property of BATM Advanced Communications and contains
-- proprietary and confidential information. This file is made
-- available to authorized BATM customers on the express
-- condition that neither it, nor any of the information contained
-- therein, shall be disclosed to third parties or be used for any
-- purpose other than to replace, modify or upgrade firmware and/or
-- software components of BATM manufactured equipment within the
-- authorized customer's network, and that such transfer be
-- completed in accordance with the instructions provided by
-- BATM. Any other use is strictly prohibited.
--
-- EXCEPT AS RESTRICTED BY LAW, OR AS PROVIDED IN BATM'S LIMITED
-- WARRANTY, THE SOFTWARE PROGRAMS CONTAINED IN THIS FILE ARE
-- PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
-- OR IMPLIED, INCLUDING BUT NOT LIMITED TO, ANY IMPLIED WARRANTIES
-- OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
--
-- IN NO EVENT SHALL BATM BE LIABLE FOR ANY DAMAGES WHATSOEVER
-- INCLUDING WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS
-- PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION OR
-- OTHER CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE, OR INABILITY
-- TO USE, THE SOFTWARE CONTAINED IN THIS FILE.
--
-- ----------------------------------------------------------------------------

PRVT-MPLS-LDP-MIB DEFINITIONS ::= BEGIN

IMPORTS
    InetAddressType
        FROM INET-ADDRESS-MIB
    prvtcrldpPmIndex, prvtcrldpSigIndex
        FROM PRVT-CR-LDP-MIB
    mpls
        FROM PRVT-SWITCH-MIB
    Integer32, MODULE-IDENTITY, OBJECT-TYPE, Unsigned32
        FROM SNMPv2-SMI
    RowStatus, TEXTUAL-CONVENTION, TruthValue
        FROM SNMPv2-TC;

prvtMplsLdpMIB MODULE-IDENTITY
    LAST-UPDATED "200911260000Z"
    ORGANIZATION 
        "BATM Advanced Communication"
    CONTACT-INFO 
        "BATM/Telco Systems Support team
         Email:
         For North America: techsupport@telco.com
         For North Europe: support@batm.de, info@batm.de
         For the rest of the world: techsupport@telco.com"
    DESCRIPTION 
        "This MIB contains managed object definitions for the
         'Multiprotocol Label Switching, Label Distribution
         Protocol, LDP'."
    REVISION    "200911260000Z"
    DESCRIPTION 
        "Created MplsLdpIdentifier TC."
    REVISION    "200606030000Z"
    DESCRIPTION 
        "Initial version published as part of RFC 3815."
    ::= { mpls 1 }


MplsRetentionMode ::= TEXTUAL-CONVENTION
    STATUS      current
    DESCRIPTION 
        "The label retention mode which specifies whether
         an LSR maintains a label binding for a FEC
         learned from a neighbor that is not its next hop
         for the FEC.
         
         If the value is conservative(1) then advertised
         label mappings are retained only if they will be
         used to forward packets, i.e., if label came from
         a valid next hop.
         
         If the value is liberal(2) then all advertised
         label mappings are retained whether they are from
         a valid next hop or not."
    REFERENCE   
        "Multiprotocol Label Switching Architecture,
         RFC3031.
         
         LDP Specification, RFC3036, Section 2.6.2."
    SYNTAX      INTEGER { conservative(1), liberal(2) }

MplsLdpLabelType ::= TEXTUAL-CONVENTION
    STATUS      current
    DESCRIPTION 
        "The Layer 2 label types which are defined for MPLS
         LDP and/or CR-LDP are generic(1), atm(2), or
         frameRelay(3)."
    SYNTAX      INTEGER { generic(1), atm(2), frameRelay(3) }

MplsLabelDistributionMethod ::= TEXTUAL-CONVENTION
    STATUS      current
    DESCRIPTION 
        "The label distribution method which is also called
         the label advertisement mode [RFC3036].
         Each interface on an LSR is configured to operate
         in either Downstream Unsolicited or Downstream
         on Demand."
    REFERENCE   
        "Multiprotocol Label Switching Architecture,
         RFC3031.
         
         LDP Specification, RFC3036, Section 2.6.3."
    SYNTAX      INTEGER { downstreamOnDemand(1), 
                    downstreamUnsolicited(2) }

PrvtMplsLdpIdentifier ::= TEXTUAL-CONVENTION
    DISPLAY-HINT "255a"
    STATUS      current
    DESCRIPTION 
        "The LDP identifier is used to identify a
         Label Switching Router (LSR) label space.
         
         The format is an ASCII representation of
         a string in the form A.B.C.D:S,
         where A,B,C,D identify the LSR and must
         be a globally unique value, such as a 32-bit
         router ID assigned to the LSR,
         and S identifies a specific label space
         within the LSR."
    SYNTAX      OCTET STRING (SIZE(10..20))

MplsIndexType ::= TEXTUAL-CONVENTION
    DISPLAY-HINT "d"
    STATUS      current
    DESCRIPTION 
        "This is an octet string that can be used as a table
         index in cases where a large addressable space is
         required such as on an LSR where many applications
         may be provisioning labels.
         
         Note that the string containing the single octet with
         the value 0x00 is a reserved value used to represent
         special cases. When this TEXTUAL-CONVENTION is used
         as the SYNTAX of an object, the DESCRIPTION clause
         MUST specify if this special value is valid and if so
         what the special meaning is.
         
         In systems that provide write access to the MPLS-LSR-STD
         MIB, mplsIndexType SHOULD be used as a simple multi-digit
         integer encoded as an octet string.
         No further overloading of the meaning of an index SHOULD
         be made.
         
         In systems that do not offer write access to the MPLS-LSR-STD
         MIB, the mplsIndexType may contain implicit formatting that is
         specific to the implementation to convey additional
         information such as interface index, physical card or
         device, or application id. The interpretation of this
         additional formatting is implementation dependent and
         not covered in this document. Such formatting MUST
         NOT impact the basic functionality of read-only access
         to the MPLS-LSR-STD MIB by management applications that are
         not aware of the formatting rules.
         
         The MIB is implemented in PRVT-LMGR with write-access.
         As specified above, PRVT-LMGR treats the index values of this type
         as simple integer types.
         
         In order to reduce the effort required to upgrade from earlier
         versions of the MIB, and to simplify management of static LSPs,
         this type is mapped on to an Integer32 in this implementation."
    SYNTAX      Integer32 (0..2147483647)

PrvtMplsLdpInetAddress ::= TEXTUAL-CONVENTION
    DISPLAY-HINT "1x "
    STATUS      current
    DESCRIPTION 
        "Same as InetAddress from INET-ADDRESS-MIB except restricted
         to IPv4 or IPv6 addresses."
    SYNTAX      OCTET STRING (SIZE(4 | 16))

PrvtMplsLdpTimeStamp ::= TEXTUAL-CONVENTION
    DISPLAY-HINT "d"
    STATUS      current
    DESCRIPTION 
        "Same as TimeStamp from SNMPv2-TC, but has syntax Integer32"
    SYNTAX      Integer32

PrvtMplsLdpTimeInterval ::= TEXTUAL-CONVENTION
    DISPLAY-HINT "d"
    STATUS      current
    DESCRIPTION 
        "Same as TimeInterval from SNMPv2-TC, but has syntax Integer32"
    SYNTAX      Integer32

mplsLdpObjects OBJECT IDENTIFIER
    ::= { prvtMplsLdpMIB 1 }

mplsLdpEntityTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF MplsLdpEntityEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION 
        "This table contains information about the
         MPLS Label Distribution Protocol Entities which
         exist on this Label Switching Router (LSR)
         or Label Edge Router (LER)."
    ::= { mplsLdpObjects 1 }

mplsLdpEntityEntry OBJECT-TYPE
    SYNTAX      MplsLdpEntityEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION 
        "An entry in this table represents an LDP entity.
         An entry can be created by a network administrator
         or by an SNMP agent as instructed by LDP."
    INDEX       { prvtcrldpSigIndex, mplsLdpEntityLdpId, 
                  mplsLdpEntityIndex }
    ::= { mplsLdpEntityTable 1 }

MplsLdpEntityEntry ::= SEQUENCE {
    mplsLdpEntityLdpId                  PrvtMplsLdpIdentifier,
    mplsLdpEntityIndex                  Unsigned32,
    mplsLdpEntityRowStatus              RowStatus,
    mplsLdpEntityAdminStatus            INTEGER,
    mplsLdpEntityOperStatus             INTEGER,
    mplsLdpEntityMaxPduLength           Unsigned32,
    mplsLdpEntityKeepAliveHoldTimer     Unsigned32,
    mplsLdpEntityHelloHoldTimer         Unsigned32,
    mplsLdpEntityTargetPeer             TruthValue,
    mplsLdpEntityTargetPeerAddrType     InetAddressType,
    mplsLdpEntityTargetPeerAddr         PrvtMplsLdpInetAddress
}

mplsLdpEntityLdpId OBJECT-TYPE
    SYNTAX      PrvtMplsLdpIdentifier
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION 
        "The LDP identifier. The first four octets encode an IP
         address assigned to the LSR, and the last two octets
         identify a specific label space within the LSR."
    REFERENCE   
        "RFC3036, LDP Specification, Section on LDP Identifiers."
    ::= { mplsLdpEntityEntry 1 }

mplsLdpEntityIndex OBJECT-TYPE
    SYNTAX      Unsigned32 (0..4294967295)
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION 
        "This index is used as a secondary index to uniquely
         identify this row.
         
         A secondary index (this object) is meaningful to some
         but not all, LDP implementations. For example
         an LDP implementation which uses PPP would
         use this index to differentiate PPP sub-links.
         
         Another way to use this index is to give this the
         value of ifIndex. However, this is dependant
         on the implementation.
         
         This field is deprecated in the following tables provided
         by PRVT-CR-LDP Session Controller.
         
         - mplsLdpEntityTable.
         - mplsLdpPeerTable.
         
         In these tables the value of the Entity Index will always
         be filled in to be 1."
    ::= { mplsLdpEntityEntry 2 }

mplsLdpEntityRowStatus OBJECT-TYPE
    SYNTAX      RowStatus
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION 
        "An object that allows entries in this table to
         be created and deleted using the
         RowStatus convention.
         
         Once the 'mplsLdpEntityAdminStatus' object has
         the value of 'up' and this object has the value
         of 'active' then the Entity will atttempt to
         contact an LDP Peer. If the value of this object
         is changed to 'notInService', then the Entity looses
         contact with the LDP Peer and all information related
         to that Peer must be removed from the MIB. This has
         the same effect as changing 'mplsLdpEntityAdminStatus'
         from 'enable' to 'disable'.
         
         When this object is set to 'active' and the value of
         the 'mplsLdpEntityAdminStatus' is 'enable' then
         this Entity will attempt to contact the Peer and
         establish new sessions."
    ::= { mplsLdpEntityEntry 3 }

mplsLdpEntityAdminStatus OBJECT-TYPE
    SYNTAX      INTEGER { enable(1), disable(2) }
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION 
        "The administrative status of this LDP Entity.
         If this object is changed from 'enable' to 'disable'
         and this entity has already attempted to establish
         contact with a Peer (which implies that the
         'mplsLdpEntityRowStatus' object has been set to
         'active'), then all contact with that
         Peer is lost and all information from that Peer
         needs to be removed from the MIB. (This implies
         that the network management subsystem should clean
         up any related entry in the mplsLdpPeerTable. This
         further implies that a 'tear-down' for that session
         is issued and the session and all information related
         to that session cease to exist).
         
         At this point the user is able to change values
         which are related to this entity.
         
         When the admin status is set back to 'enable', then
         this Entity will attempt to establish a new session
         with the Peer."
    ::= { mplsLdpEntityEntry 4 }

mplsLdpEntityOperStatus OBJECT-TYPE
    SYNTAX      INTEGER { unknown(1), enabled(2), disabled(3) }
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION 
        "The operational status of this LDP Entity.
         
         The value of unknown(1) indicates that the
         operational status cannot be determined at
         this time. The value of unknown should be
         a transient condition before changing
         to enabled(2) or disabled(3)."
    ::= { mplsLdpEntityEntry 5 }

mplsLdpEntityMaxPduLength OBJECT-TYPE
    SYNTAX      Unsigned32
    UNITS       "octets"
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION 
        "The maximum PDU Length that is sent in
         the Common Session Parameters of an Initialization
         Message. According to the LDP Specification [RFC3036]
         a value of 255 or less specifies the
         default maximum length of 4096 octets.
         
         The receiving LSR MUST calculate the maximum PDU
         length for the session by using the smaller of its and
         its peer's proposals for Max PDU Length."
    REFERENCE   
        "RFC3036, LDP Specification, Section 3.5.3.
         Initialization Message."
    ::= { mplsLdpEntityEntry 6 }

mplsLdpEntityKeepAliveHoldTimer OBJECT-TYPE
    SYNTAX      Unsigned32
    UNITS       "seconds"
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION 
        "The 16-bit integer value which is the proposed keep
         alive hold timer for this LDP Entity."
    ::= { mplsLdpEntityEntry 7 }

mplsLdpEntityHelloHoldTimer OBJECT-TYPE
    SYNTAX      Unsigned32
    UNITS       "seconds"
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION 
        "The 16-bit integer value which is the proposed Hello
         hold timer for this LDP Entity. The Hello Hold time
         in seconds.
         
         An LSR maintains a record of Hellos received
         from potential peers. This object represents
         the Hold Time in the Common Hello Parameters TLV of
         the Hello Message.
         
         A value of 0 is a default value and should be
         interpretted in conjunction with the
         mplsLdpEntityTargetPeer object.
         
         If the value of this object is 0: if the value of the
         mplsLdpEntityTargetPeer object is false(2), then this
         specifies that the Hold Time's actual default value is
         15 seconds (i.e., the default Hold time for Link Hellos
         is 15 seconds). Otherwise if the value of the
         mplsLdpEntityTargetPeer object is true(1), then this
         specifies that the Hold Time's actual default value is
         45 seconds (i.e., the default Hold time for Targeted
         Hellos is 45 seconds).
         
         A value of 65535 means infinite (i.e., wait forever).
         
         All other values represent the amount of time in
         seconds to wait for a Hello Message. Setting the
         hold time to a value smaller than 15 is not
         recommended, although not forbidden according
         to RFC3036.
         
         For auto-created entities that use the global label space
         (and therefore might correspond to more than one
         adjacency over more than one interface), this value will
         only be meaningful if all interfaces that correspond to
         this entity are configured to use the same hello hold
         time, since this property can be configured on a per
         interface basis.
         
         If the interfaces have differing configurations, the
         value returned on a MIB Get will be 0."
    REFERENCE   
        "RFC3036, LDP Specification, Section 3.5.2.,
         Hello Message."
    ::= { mplsLdpEntityEntry 8 }

mplsLdpEntityTargetPeer OBJECT-TYPE
    SYNTAX      TruthValue
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION 
        "If this LDP entity uses targeted peer then set
         this to true."
    ::= { mplsLdpEntityEntry 9 }

mplsLdpEntityTargetPeerAddrType OBJECT-TYPE
    SYNTAX      InetAddressType
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION 
        "The type of the internetwork layer address used for
         the Extended Discovery. This object indicates how
         the value of mplsLdpEntityTargetPeerAddr is to
         be interpreted."
    ::= { mplsLdpEntityEntry 10 }

mplsLdpEntityTargetPeerAddr OBJECT-TYPE
    SYNTAX      PrvtMplsLdpInetAddress
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION 
        "The value of the internetwork layer address
         used for the Extended Discovery. The value of
         mplsLdpEntityTargetPeerAddrType specifies how
         this address is to be interpreted."
    ::= { mplsLdpEntityEntry 11 }

mplsLdpPeerTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF MplsLdpPeerEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION 
        "Information about LDP peers known by Entities in
         the mplsLdpEntityTable. The information in this table
         is based on information from the Entity-Peer interaction
         during session initialization but is not appropriate
         for the mplsLdpSessionTable, because objects in this
         table may or may not be used in session establishment."
    ::= { mplsLdpObjects 2 }

mplsLdpPeerEntry OBJECT-TYPE
    SYNTAX      MplsLdpPeerEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION 
        "Information about a single Peer which is related
         to a Session. NOTE: this table is used to
         augment the mplsLdpSessionTable."
    INDEX       { prvtcrldpPmIndex, mplsLdpEntityLdpId, 
                  mplsLdpEntityIndex, mplsLdpPeerLdpId }
    ::= { mplsLdpPeerTable 1 }

MplsLdpPeerEntry ::= SEQUENCE {
    mplsLdpPeerLdpId                PrvtMplsLdpIdentifier,
    mplsLdpPeerLabelDistMethod      MplsLabelDistributionMethod,
    mplsLdpPeerTransportAddrType    InetAddressType,
    mplsLdpPeerTransportAddr        PrvtMplsLdpInetAddress
}

mplsLdpPeerLdpId OBJECT-TYPE
    SYNTAX      PrvtMplsLdpIdentifier
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION 
        "The LDP identifier of this LDP Peer."
    ::= { mplsLdpPeerEntry 1 }

mplsLdpPeerLabelDistMethod OBJECT-TYPE
    SYNTAX      MplsLabelDistributionMethod
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION 
        "For any given LDP session, the method of
         label distribution must be specified."
    ::= { mplsLdpPeerEntry 2 }

mplsLdpPeerTransportAddrType OBJECT-TYPE
    SYNTAX      InetAddressType
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION 
        "The type of the Internet address for the
         mplsLdpPeerTransportAddr object. The LDP
         specification describes this as being either
         an IPv4 Transport Address or IPv6 Transport
         Address which is used in opening the LDP session's
         TCP connection, or if the optional TLV is not
         present, then this is the IPv4/IPv6 source
         address for the UPD packet carrying the Hellos.
         
         This object specifies how the value of the
         mplsLdpPeerTransportAddr object should be
         interpreted."
    REFERENCE   
        "RFC3036, LDP Specification, Section 2.5.2
         Transport Connection Establishment and
         Section 3.5.2.1 Hello Message Procedures."
    ::= { mplsLdpPeerEntry 3 }

mplsLdpPeerTransportAddr OBJECT-TYPE
    SYNTAX      PrvtMplsLdpInetAddress
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION 
        "The Internet address advertised by the peer
         in the Hello Message or the Hello source address.
         
         The type of this address is specified by the
         value of the mplsLdpPeerTransportAddrType
         object."
    REFERENCE   
        "RFC3036, LDP Specification, Section 2.5.2
         Transport Connection Establishment and
         Section 3.5.2.1 Hello Message Procedures."
    ::= { mplsLdpPeerEntry 4 }

mplsLdpSessionTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF MplsLdpSessionEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION 
        "A table of Sessions between the LDP Entities
         and LDP Peers. Each row in this table
         represents a single session."
    ::= { mplsLdpObjects 3 }

mplsLdpSessionEntry OBJECT-TYPE
    SYNTAX      MplsLdpSessionEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION 
        "An entry in this table represents information on a
         single session between an LDP Entity and LDP Peer.
         The information contained in a row is read-only.
         
         Please note: the Path Vector Limit for the
         Session is the value which is configured in
         the corresponding mplsLdpEntityEntry. The
         Peer's Path Vector Limit is in the
         mplsLdpPeerPathVectorLimit object in the
         mplsLdpPeerTable.
         
         Values which may differ from those configured are
         noted in the objects of this table. A value will
         differ if it was negotiated between the
         Entity and the Peer. Values may or may not
         be negotiated. For example, if the values
         are the same then no negotiation takes place.
         If they are negotiated, then they may differ."
    INDEX       { prvtcrldpSigIndex, mplsLdpEntityLdpId, 
                  mplsLdpEntityIndex, mplsLdpPeerLdpId }
    ::= { mplsLdpSessionTable 1 }

MplsLdpSessionEntry ::= SEQUENCE {
    mplsLdpSessionStateLastChange               PrvtMplsLdpTimeStamp,
    mplsLdpSessionState                         INTEGER,
    mplsLdpSessionKeepAliveHoldTimeRemaining    PrvtMplsLdpTimeInterval,
    mplsLdpSessionKeepAliveTime                 Unsigned32,
    mplsLdpSessionMaxPduLength                  Unsigned32,
    mplsLdpSessionConfiguredHoldTime            Unsigned32,
    mplsLdpSessionPeerHoldTime                  Unsigned32,
    mplsLdpSessionHoldTimeInUse                 Unsigned32
}

mplsLdpSessionStateLastChange OBJECT-TYPE
    SYNTAX      PrvtMplsLdpTimeStamp
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION 
        "The value of sysUpTime at the time this
         Session entered its current state as
         denoted by the mplsLdpSessionState
         object."
    ::= { mplsLdpSessionEntry 1 }

mplsLdpSessionState OBJECT-TYPE
    SYNTAX      INTEGER { nonexistent(1), initialized(2), openrec(3), 
                    opensent(4), operational(5) }
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION 
        "The current state of the session, all of the
         states 1 - 5 are based on the state machine
         for session negotiation behavior."
    REFERENCE   
        "RFC3036, LDP Specification, Section 2.5.4,
         Initialization State Machine."
    ::= { mplsLdpSessionEntry 2 }

mplsLdpSessionKeepAliveHoldTimeRemaining OBJECT-TYPE
    SYNTAX      PrvtMplsLdpTimeInterval
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION 
        "The keep alive hold time remaining for this session in
         units of hundredths of a second. This interval will
         change when the 'next' Keep Alive message which
         corresponds to this session is received. A value of zero
         indicates that the keep alive hold timer is not running."
    ::= { mplsLdpSessionEntry 3 }

mplsLdpSessionKeepAliveTime OBJECT-TYPE
    SYNTAX      Unsigned32
    UNITS       "seconds"
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION 
        "The negotiated KeepAlive Time which
         represents the amount of seconds between
         keep alive messages. The
         mplsLdpEntityKeepAliveHoldTimer
         related to this Session is the
         value that was proposed as the
         KeepAlive Time for this session.
         
         This value is negotiated during
         session initialization between
         the entity's proposed value
         (i.e., the value configured in
         mplsLdpEntityKeepAliveHoldTimer)
         and the peer's proposed
         KeepAlive Hold Timer value.
         This value is the smaller
         of the two proposed values."
    REFERENCE   
        "RFC3036, LDP Specification, Section 3.5.3,
         Initialization Message."
    ::= { mplsLdpSessionEntry 4 }

mplsLdpSessionMaxPduLength OBJECT-TYPE
    SYNTAX      Unsigned32
    UNITS       "octets"
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION 
        "The value of maximum allowable length for LDP PDUs for
         this session. This value may have been negotiated
         during the Session Initialization. This object is
         related to the mplsLdpEntityMaxPduLength object. The
         mplsLdpEntityMaxPduLength object specifies the requested
         LDP PDU length, and this object reflects the negotiated
         LDP PDU length between the Entity and
         the Peer."
    REFERENCE   
        "RFC3036, LDP Specification, Section 3.5.3,
         Initialization Message."
    ::= { mplsLdpSessionEntry 5 }

mplsLdpSessionConfiguredHoldTime OBJECT-TYPE
    SYNTAX      Unsigned32
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION 
        "The locally configured keepalive hold time for this
         session, in seconds. Note that the value of this field
         reflects configuration at the time of session
         initialization; this may differ from the configuration
         that would apply to a new session, if configuration has
         changed since this session was initialized."
    ::= { mplsLdpSessionEntry 6 }

mplsLdpSessionPeerHoldTime OBJECT-TYPE
    SYNTAX      Unsigned32
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION 
        "The peer's advertised keepalive hold time for this session
         in seconds. Note that the value of this field reflects
         the peer's configuration at the time of session
         initialization; this may differ from the configuration
         that would apply to a new session, if the peer's
         configuration has changed since this session was
         initialized."
    ::= { mplsLdpSessionEntry 7 }

mplsLdpSessionHoldTimeInUse OBJECT-TYPE
    SYNTAX      Unsigned32
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION 
        "The keepalive hold time that is currently in use for this
         session, in seconds."
    ::= { mplsLdpSessionEntry 8 }

mplsLdpHelloAdjacencyTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF MplsLdpHelloAdjacencyEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION 
        "A table of Hello Adjacencies for Sessions."
    ::= { mplsLdpObjects 4 }

mplsLdpHelloAdjacencyEntry OBJECT-TYPE
    SYNTAX      MplsLdpHelloAdjacencyEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION 
        "Each row represents a single LDP Hello Adjacency.
         An LDP Session can have one or more Hello adjacencies."
    INDEX       { prvtcrldpSigIndex, mplsLdpEntityLdpId, 
                  mplsLdpEntityIndex, mplsLdpPeerLdpId, 
                  mplsLdpHelloAdjacencyIndex }
    ::= { mplsLdpHelloAdjacencyTable 1 }

MplsLdpHelloAdjacencyEntry ::= SEQUENCE {
    mplsLdpHelloAdjacencyIndex                  Unsigned32,
    mplsLdpHelloAdjacencyHoldTimeRemaining      PrvtMplsLdpTimeInterval,
    mplsLdpHelloAdjacencyHoldTime               Unsigned32,
    mplsLdpHelloAdjacencyType                   INTEGER,
    mplsLdpHelloAdjacencyConfiguredHoldTime     Unsigned32,
    mplsLdpHelloAdjacencyPeerHoldTime           Unsigned32
}

mplsLdpHelloAdjacencyIndex OBJECT-TYPE
    SYNTAX      Unsigned32
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION 
        "An identifier for this specific adjacency."
    ::= { mplsLdpHelloAdjacencyEntry 1 }

mplsLdpHelloAdjacencyHoldTimeRemaining OBJECT-TYPE
    SYNTAX      PrvtMplsLdpTimeInterval
    UNITS       "seconds"
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION 
        "If the value of this object is 65535,
         this means that the hold time is infinite
         (i.e., wait forever).
         
         Otherwise, the time remaining for
         this Hello Adjacency to receive its
         next Hello Message.
         
         This interval will change when the 'next'
         Hello Message which corresponds to this
         Hello Adjacency is received unless it
         is infinite."
    ::= { mplsLdpHelloAdjacencyEntry 2 }

mplsLdpHelloAdjacencyHoldTime OBJECT-TYPE
    SYNTAX      Unsigned32
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION 
        "The Hello hold time which is negotiated between
         the Entity and the Peer. The entity associated
         with this Hello Adjacency issues a proposed
         Hello Hold Time value in the
         mplsLdpEntityHelloHoldTimer object. The peer
         also proposes a value and this object represents
         the negotiated value.
         
         A value of 0 means the default,
         which is 15 seconds for Link Hellos
         and 45 seconds for Targeted Hellos.
         A value of 65535 indicates an
         infinite hold time."
    REFERENCE   
        "RFC3036, LDP Specification, Section 3.5.2 Hello Message"
    ::= { mplsLdpHelloAdjacencyEntry 3 }

mplsLdpHelloAdjacencyType OBJECT-TYPE
    SYNTAX      INTEGER { link(1), targeted(2) }
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION 
        "This adjacency is the result of a 'link'
         hello if the value of this object is link(1).
         Otherwise, it is a result of a 'targeted'
         hello, targeted(2)."
    ::= { mplsLdpHelloAdjacencyEntry 4 }

mplsLdpHelloAdjacencyConfiguredHoldTime OBJECT-TYPE
    SYNTAX      Unsigned32
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION 
        "The locally configured hello hold time for this adjacency,
         in seconds."
    ::= { mplsLdpHelloAdjacencyEntry 5 }

mplsLdpHelloAdjacencyPeerHoldTime OBJECT-TYPE
    SYNTAX      Unsigned32
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION 
        "The peer's advertised hello hold time for this adjacency,
         in seconds."
    ::= { mplsLdpHelloAdjacencyEntry 6 }

mplsLdpSessionPeerAddrTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF MplsLdpSessionPeerAddrEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION 
        "This table 'extends' the mplsLdpSessionTable.
         This table is used to store Label Address Information
         from Label Address Messages received by this LSR from
         Peers. This table is read-only and should be updated
         when Label Withdraw Address Messages are received, i.e.,
         Rows should be deleted as appropriate.
         
         NOTE: since more than one address may be contained
         in a Label Address Message, this table 'sparse augments',
         the mplsLdpSessionTable's information."
    ::= { mplsLdpObjects 5 }

mplsLdpSessionPeerAddrEntry OBJECT-TYPE
    SYNTAX      MplsLdpSessionPeerAddrEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION 
        "An entry in this table represents information on
         a session's single next hop address which was
         advertised in an Address Message from the LDP peer.
         The information contained in a row is read-only."
    INDEX       { prvtcrldpPmIndex, mplsLdpEntityLdpId, 
                  mplsLdpEntityIndex, mplsLdpPeerLdpId, 
                  mplsLdpSessionPeerAddrIndex }
    ::= { mplsLdpSessionPeerAddrTable 1 }

MplsLdpSessionPeerAddrEntry ::= SEQUENCE {
    mplsLdpSessionPeerAddrIndex         Unsigned32,
    mplsLdpSessionPeerNextHopAddrType   InetAddressType,
    mplsLdpSessionPeerNextHopAddr       PrvtMplsLdpInetAddress
}

mplsLdpSessionPeerAddrIndex OBJECT-TYPE
    SYNTAX      Unsigned32 (0..4294967295)
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION 
        "An index which uniquely identifies this entry within
         a given session."
    ::= { mplsLdpSessionPeerAddrEntry 1 }

mplsLdpSessionPeerNextHopAddrType OBJECT-TYPE
    SYNTAX      InetAddressType
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION 
        "The internetwork layer address type of this Next Hop
         Address as specified in the Label Address Message
         associated with this Session. The value of this
         object indicates how to interpret the value of
         mplsLdpSessionPeerNextHopAddr."
    ::= { mplsLdpSessionPeerAddrEntry 2 }

mplsLdpSessionPeerNextHopAddr OBJECT-TYPE
    SYNTAX      PrvtMplsLdpInetAddress
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION 
        "The next hop address. The type of this address
         is specified by the value of the
         mplsLdpSessionPeerNextHopAddrType."
    REFERENCE   
        "RFC3036, Section 2.7. LDP Identifiers
         and Next Hop Addresses"
    ::= { mplsLdpSessionPeerAddrEntry 3 }

END -- end of module PRVT-MPLS-LDP-MIB.