This repository has been archived by the owner. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathNMS-LLDP
2112 lines (1834 loc) · 80.5 KB
/
NMS-LLDP
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
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
NMS-LLDP-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, Integer32, Counter32, NOTIFICATION-TYPE
FROM SNMPv2-SMI
TEXTUAL-CONVENTION, TimeStamp, TruthValue
FROM SNMPv2-TC
SnmpAdminString
FROM SNMP-FRAMEWORK-MIB
MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP
FROM SNMPv2-CONF
AddressFamilyNumbers
FROM IANA-ADDRESS-FAMILY-NUMBERS-MIB
nms
FROM NMS-SMI;
nmslldpMIB MODULE-IDENTITY
LAST-UPDATED "200411220000Z" -- November 22, 2004
ORGANIZATION "IEEE 802.1 Working Group"
CONTACT-INFO
""
DESCRIPTION
""
REVISION "200411220000Z" -- November 22, 2004
DESCRIPTION
"Published as part of IEEE Std 802.1AB-2004 initial version."
::= { nms 127}
lldpNotifications OBJECT IDENTIFIER ::= { nmslldpMIB 0 }
lldpObjects OBJECT IDENTIFIER ::= { nmslldpMIB 1 }
lldpConformance OBJECT IDENTIFIER ::= { nmslldpMIB 2 }
--
-- LLDP MIB Objects
--
lldpConfiguration OBJECT IDENTIFIER ::= { lldpObjects 1 }
lldpStatistics OBJECT IDENTIFIER ::= { lldpObjects 2 }
lldpLocalSystemData OBJECT IDENTIFIER ::= { lldpObjects 3 }
lldpRemoteSystemsData OBJECT IDENTIFIER ::= { lldpObjects 4 }
lldpExtensions OBJECT IDENTIFIER ::= { lldpObjects 5 }
lldpExtens OBJECT IDENTIFIER ::= { lldpObjects 4 }
--
-- ***********************************************************
--
-- TimeFilter and ZeroBasedCounter32 (copied from RMON2-MIB)
--
-- ***********************************************************
TimeFilter ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"To be used for the index to a table. Allows an application
to download only those rows changed since a particular time.
A row is considered changed if the value of any object in the
row changes or if the row is created or deleted.
When sysUpTime is equal to zero, this table shall be empty.
One entry exists for each past value of sysUpTime, except that
the whole table is purged should sysUpTime wrap.
As this basic row is updated new conceptual rows are created
(which still share the now updated object values with all
other instances). The number of instances which are created
is determined by the value of sysUpTime at which the basic row
was last updated. One instance will exist for each value of
sysUpTime at the last update time for the row. A new
timeMark instance is created for each new sysUpTime value.
Each new conceptual row will be associated with the timeMark
instance which was created at the value of sysUpTime with
which the conceptual row is to be associated.
By definition all conceptual rows were updated at or after
time zero and so at least one conceptual row (associated with
timeMark.0) must exist for each underlying (basic) row.
See the appendix for further discussion of this variable.
Consider the following fooTable:
fooTable ...
INDEX { fooTimeMark, fooIndex }
FooEntry {
fooTimeMark TimeFilter
fooIndex INTEGER,
fooCounts Counter
}
Should there be two basic rows in this table (fooIndex == 1,
fooIndex == 2) and row 1 was updated most recently at time 6,
while row 2 was updated most recently at time 8, and both rows
had been updated on several earlier occasions such that the
current values were 5 and 9 respectively then the following
fooCounts instances would exist.
fooCounts.0.1 5
fooCounts.0.2 9
fooCounts.1.1 5
fooCounts.1.2 9
fooCounts.2.1 5
fooCounts.2.2 9
fooCounts.3.1 5
fooCounts.3.2 9
fooCounts.4.1 5
fooCounts.4.2 9
fooCounts.5.1 5
fooCounts.5.2 9
fooCounts.6.1 5
fooCounts.6.2 9
fooCounts.7.2 9 -- note that row 1 doesn't exist for
fooCounts.8.2 9 -- times 7 and 8"
SYNTAX TimeTicks
ZeroBasedCounter32 ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"This TC describes an object which counts events with the
following semantics: objects of this type will be set to
zero(0) on creation and will thereafter count appropriate
events, wrapping back to zero(0) when the value 2^32 is
reached.
Provided that an application discovers the new object within
the minimum time to wrap it can use the initial value as a
delta since it last polled the table of which this object is
part. It is important for a management station to be aware of
this minimum time and the actual time between polls, and to
discard data if the actual time is too long or there is no
defined minimum time.
Typically this TC is used in tables where the INDEX space is
constantly changing and/or the TimeFilter mechanism is in use."
SYNTAX Gauge32
--
-- ***********************************************************
--
-- Textual Conventions
--
-- ***********************************************************
LldpChassisIdSubtype ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"This TC describes the source of a chassis identifier.
The enumeration 'chassisComponent(1)' represents a chassis
identifier based on the value of entPhysicalAlias object
(defined in IETF RFC 2737) for a chassis component (i.e.,
an entPhysicalClass value of 'chassis(3)').
The enumeration 'interfaceAlias(2)' represents a chassis
identifier based on the value of ifAlias object (defined in
IETF RFC 2863) for an interface on the containing chassis.
The enumeration 'portComponent(3)' represents a chassis
identifier based on the value of entPhysicalAlias object
(defined in IETF RFC 2737) for a port or backplane
component (i.e., entPhysicalClass value of 'port(10)' or
'backplane(4)'), within the containing chassis.
The enumeration 'macAddress(4)' represents a chassis
identifier based on the value of a unicast source address
(encoded in network byte order and IEEE 802.3 canonical bit
order), of a port on the containing chassis as defined in
IEEE Std 802-2001.
The enumeration 'networkAddress(5)' represents a chassis
identifier based on a network address, associated with
a particular chassis. The encoded address is actually
composed of two fields. The first field is a single octet,
representing the IANA AddressFamilyNumbers value for the
specific address type, and the second field is the network
address value.
The enumeration 'interfaceName(6)' represents a chassis
identifier based on the value of ifName object (defined in
IETF RFC 2863) for an interface on the containing chassis.
The enumeration 'local(7)' represents a chassis identifier
based on a locally defined value."
SYNTAX INTEGER {
chassisComponent(1),
interfaceAlias(2),
portComponent(3),
macAddress(4),
networkAddress(5),
interfaceName(6),
local(7)
}
LldpChassisId ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"This TC describes the format of a chassis identifier string.
Objects of this type are always used with an associated
LldpChassisIdSubtype object, which identifies the format of
the particular LldpChassisId object instance.
If the associated LldpChassisIdSubtype object has a value of
'chassisComponent(1)', then the octet string identifies
a particular instance of the entPhysicalAlias object
(defined in IETF RFC 2737) for a chassis component (i.e.,
an entPhysicalClass value of 'chassis(3)').
If the associated LldpChassisIdSubtype object has a value
of 'interfaceAlias(2)', then the octet string identifies
a particular instance of the ifAlias object (defined in
IETF RFC 2863) for an interface on the containing chassis.
If the particular ifAlias object does not contain any values,
another chassis identifier type should be used.
If the associated LldpChassisIdSubtype object has a value
of 'portComponent(3)', then the octet string identifies a
particular instance of the entPhysicalAlias object (defined
in IETF RFC 2737) for a port or backplane component within
the containing chassis.
If the associated LldpChassisIdSubtype object has a value of
'macAddress(4)', then this string identifies a particular
unicast source address (encoded in network byte order and
IEEE 802.3 canonical bit order), of a port on the containing
chassis as defined in IEEE Std 802-2001.
If the associated LldpChassisIdSubtype object has a value of
'networkAddress(5)', then this string identifies a particular
network address, encoded in network byte order, associated
with one or more ports on the containing chassis. The first
octet contains the IANA Address Family Numbers enumeration
value for the specific address type, and octets 2 through
N contain the network address value in network byte order.
If the associated LldpChassisIdSubtype object has a value
of 'interfaceName(6)', then the octet string identifies
a particular instance of the ifName object (defined in
IETF RFC 2863) for an interface on the containing chassis.
If the particular ifName object does not contain any values,
another chassis identifier type should be used.
If the associated LldpChassisIdSubtype object has a value of
'local(7)', then this string identifies a locally assigned
Chassis ID."
SYNTAX OCTET STRING (SIZE (1..255))
LldpPortIdSubtype ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"This TC describes the source of a particular type of port
identifier used in the LLDP MIB.
The enumeration 'interfaceAlias(1)' represents a port
identifier based on the ifAlias MIB object, defined in IETF
RFC 2863.
The enumeration 'portComponent(2)' represents a port
identifier based on the value of entPhysicalAlias (defined in
IETF RFC 2737) for a port component (i.e., entPhysicalClass
value of 'port(10)'), within the containing chassis.
The enumeration 'macAddress(3)' represents a port identifier
based on a unicast source address (encoded in network
byte order and IEEE 802.3 canonical bit order), which has
been detected by the agent and associated with a particular
port (IEEE Std 802-2001).
The enumeration 'networkAddress(4)' represents a port
identifier based on a network address, detected by the agent
and associated with a particular port.
The enumeration 'interfaceName(5)' represents a port
identifier based on the ifName MIB object, defined in IETF
RFC 2863.
The enumeration 'agentCircuitId(6)' represents a port
identifier based on the agent-local identifier of the circuit
(defined in RFC 3046), detected by the agent and associated
with a particular port.
The enumeration 'local(7)' represents a port identifier
based on a value locally assigned."
SYNTAX INTEGER {
interfaceAlias(1),
portComponent(2),
macAddress(3),
networkAddress(4),
interfaceName(5),
agentCircuitId(6),
local(7)
}
LldpPortId ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"This TC describes the format of a port identifier string.
Objects of this type are always used with an associated
LldpPortIdSubtype object, which identifies the format of the
particular LldpPortId object instance.
If the associated LldpPortIdSubtype object has a value of
'interfaceAlias(1)', then the octet string identifies a
particular instance of the ifAlias object (defined in IETF
RFC 2863). If the particular ifAlias object does not contain
any values, another port identifier type should be used.
If the associated LldpPortIdSubtype object has a value of
'portComponent(2)', then the octet string identifies a
particular instance of the entPhysicalAlias object (defined
in IETF RFC 2737) for a port or backplane component.
If the associated LldpPortIdSubtype object has a value of
'macAddress(3)', then this string identifies a particular
unicast source address (encoded in network byte order
and IEEE 802.3 canonical bit order) associated with the port
(IEEE Std 802-2001).
If the associated LldpPortIdSubtype object has a value of
'networkAddress(4)', then this string identifies a network
address associated with the port. The first octet contains
the IANA AddressFamilyNumbers enumeration value for the
specific address type, and octets 2 through N contain the
networkAddress address value in network byte order.
If the associated LldpPortIdSubtype object has a value of
'interfaceName(5)', then the octet string identifies a
particular instance of the ifName object (defined in IETF
RFC 2863). If the particular ifName object does not contain
any values, another port identifier type should be used.
If the associated LldpPortIdSubtype object has a value of
'agentCircuitId(6)', then this string identifies a agent-local
identifier of the circuit (defined in RFC 3046).
If the associated LldpPortIdSubtype object has a value of
'local(7)', then this string identifies a locally
assigned port ID."
SYNTAX OCTET STRING (SIZE (1..255))
LldpManAddrIfSubtype ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"This TC describes the basis of a particular type of
interface associated with the management address.
The enumeration 'unknown(1)' represents the case where the
interface is not known.
The enumeration 'ifIndex(2)' represents interface identifier
based on the ifIndex MIB object.
The enumeration 'systemPortNumber(3)' represents interface
identifier based on the system port numbering convention."
REFERENCE
"IEEE 802.1AB-2004 9.5.9.5"
SYNTAX INTEGER {
unknown(1),
ifIndex(2),
systemPortNumber(3)
}
LldpManAddress ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"The value of a management address associated with the LLDP
agent that may be used to reach higher layer entities to
assist discovery by network management.
It should be noted that appropriate security credentials,
such as SNMP engineId, may be required to access the LLDP
agent using a management address. These necessary credentials
should be known by the network management and the objects
associated with the credentials are not included in the
LLDP agent."
SYNTAX OCTET STRING (SIZE (1..31))
LldpSystemCapabilitiesMap ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"This TC describes the system capabilities.
The bit 'other(0)' indicates that the system has capabilities
other than those listed below.
The bit 'repeater(1)' indicates that the system has repeater
capability.
The bit 'bridge(2)' indicates that the system has bridge
capability.
The bit 'wlanAccessPoint(3)' indicates that the system has
WLAN access point capability.
The bit 'router(4)' indicates that the system has router
capability.
The bit 'telephone(5)' indicates that the system has telephone
capability.
The bit 'docsisCableDevice(6)' indicates that the system has
DOCSIS Cable Device capability (IETF RFC 2669 & 2670).
The bit 'stationOnly(7)' indicates that the system has only
station capability and nothing else."
SYNTAX BITS {
other(0),
repeater(1),
bridge(2),
wlanAccessPoint(3),
router(4),
telephone(5),
docsisCableDevice(6),
stationOnly(7)
}
LldpPortNumber ::= TEXTUAL-CONVENTION
DISPLAY-HINT "d"
STATUS current
DESCRIPTION
"Each port contained in the chassis (that is known to the
LLDP agent) is uniquely identified by a port number.
A port number has no mandatory relationship to an
InterfaceIndex object (of the interfaces MIB, IETF RFC 2863).
If the LLDP agent is a IEEE 802.1D, IEEE 802.1Q bridge, the
LldpPortNumber will have the same value as the dot1dBasePort
object (defined in IETF RFC 1493) associated corresponding
bridge port. If the system hosting LLDP agent is not an
IEEE 802.1D or an IEEE 802.1Q bridge, the LldpPortNumber
will have the same value as the corresponding interface's
InterfaceIndex object.
Port numbers should be in the range of 1 and 4096 since a
particular port is also represented by the corresponding
port number bit in LldpPortList."
SYNTAX Integer32(1..4096)
LldpPortList ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"Each octet within this value specifies a set of eight ports,
with the first octet specifying ports 1 through 8, the second
octet specifying ports 9 through 16, etc. Within each octet,
the most significant bit represents the lowest numbered port,
and the least significant bit represents the highest numbered
port. Thus, each port of the system is represented by a
single bit within the value of this object. If that bit has
a value of '1' then that port is included in the set of ports;
the port is not included if its bit has a value of '0'."
REFERENCE
"IETF RFC 2674 section 5"
SYNTAX OCTET STRING(SIZE(0..512))
--
-- ***********************************************************
--
-- L L D P C O N F I G
--
-- ***********************************************************
--
lldpMessageTxInterval OBJECT-TYPE
SYNTAX Integer32(5..32768)
UNITS "seconds"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The interval at which LLDP frames are transmitted on
behalf of this LLDP agent.
The default value for lldpMessageTxInterval object is
30 seconds.
The value of this object must be restored from non-volatile
storage after a re-initialization of the management system."
REFERENCE
"IEEE 802.1AB-2004 10.5.3.3"
DEFVAL { 30 }
::= { lldpConfiguration 1 }
lldpMessageTxHoldMultiplier OBJECT-TYPE
SYNTAX Integer32(2..10)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The time-to-live value expressed as a multiple of the
lldpMessageTxInterval object. The actual time-to-live value
used in LLDP frames, transmitted on behalf of this LLDP agent,
can be expressed by the following formula: TTL = min(65535,
(lldpMessageTxInterval * lldpMessageTxHoldMultiplier)) For
example, if the value of lldpMessageTxInterval is '30', and
the value of lldpMessageTxHoldMultiplier is '4', then the
value '120' is encoded in the TTL field in the LLDP header.
The default value for lldpMessageTxHoldMultiplier object is 4.
The value of this object must be restored from non-volatile
storage after a re-initialization of the management system."
REFERENCE
"IEEE 802.1AB-2004 10.5.3.3"
DEFVAL { 4 }
::= { lldpConfiguration 2 }
lldpReinitDelay OBJECT-TYPE
SYNTAX Integer32(1..10)
UNITS "seconds"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The lldpReinitDelay indicates the delay (in units of
seconds) from when lldpPortConfigAdminStatus object of a
particular port becomes 'disabled' until re-initialization
will be attempted.
The default value for lldpReintDelay object is two seconds.
The value of this object must be restored from non-volatile
storage after a re-initialization of the management system."
REFERENCE
"IEEE 802.1AB-2004 10.5.3.3"
DEFVAL { 2 }
::= { lldpConfiguration 3 }
lldpTxDelay OBJECT-TYPE
SYNTAX Integer32(1..8192)
UNITS "seconds"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The lldpTxDelay indicates the delay (in units
of seconds) between successive LLDP frame transmissions
initiated by value/status changes in the LLDP local systems
MIB. The recommended value for the lldpTxDelay is set by the
following formula:
1 <= lldpTxDelay <= (0.25 * lldpMessageTxInterval)
The default value for lldpTxDelay object is two seconds.
The value of this object must be restored from non-volatile
storage after a re-initialization of the management system."
REFERENCE
"IEEE 802.1AB-2004 10.5.3.3"
DEFVAL { 2 }
::= { lldpConfiguration 4 }
lldpNotificationInterval OBJECT-TYPE
SYNTAX Integer32(5..3600)
UNITS "seconds"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object controls the transmission of LLDP notifications.
the agent must not generate more than one lldpRemTablesChange
notification-event in the indicated period, where a
'notification-event' is the transmission of a single
notification PDU type to a list of notification destinations.
If additional changes in lldpRemoteSystemsData object
groups occur within the indicated throttling period,
then these trap- events must be suppressed by the
agent. An NMS should periodically check the value of
lldpStatsRemTableLastChangeTime to detect any missed
lldpRemTablesChange notification-events, e.g. due to
throttling or transmission loss.
If notification transmission is enabled for particular ports,
the suggested default throttling period is 5 seconds.
The value of this object must be restored from non-volatile
storage after a re-initialization of the management system."
DEFVAL { 5 }
::= { lldpConfiguration 5 }
--
-- lldpPortConfigTable: LLDP configuration on a per port basis
--
lldpPortConfigTable OBJECT-TYPE
SYNTAX SEQUENCE OF LldpPortConfigEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table that controls LLDP frame transmission on individual
ports."
::= { lldpConfiguration 6 }
lldpPortConfigEntry OBJECT-TYPE
SYNTAX LldpPortConfigEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"LLDP configuration information for a particular port.
This configuration parameter controls the transmission and
the reception of LLDP frames on those ports whose rows are
created in this table."
INDEX { lldpPortConfigPortNum }
::= { lldpPortConfigTable 1 }
LldpPortConfigEntry ::= SEQUENCE {
lldpPortConfigPortNum LldpPortNumber,
lldpPortConfigAdminStatus INTEGER,
lldpPortConfigNotificationEnable TruthValue,
lldpPortConfigTLVsTxEnable BITS }
lldpPortConfigPortNum OBJECT-TYPE
SYNTAX LldpPortNumber
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The index value used to identify the port component
(contained in the local chassis with the LLDP agent)
associated with this entry.
The value of this object is used as a port index to the
lldpPortConfigTable."
::= { lldpPortConfigEntry 1 }
lldpPortConfigAdminStatus OBJECT-TYPE
SYNTAX INTEGER {
txOnly(1),
rxOnly(2),
txAndRx(3),
disabled(4)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The administratively desired status of the local LLDP agent.
If the associated lldpPortConfigAdminStatus object has a
value of 'txOnly(1)', then LLDP agent will transmit LLDP
frames on this port and it will not store any information
about the remote systems connected.
If the associated lldpPortConfigAdminStatus object has a
value of 'rxOnly(2)', then the LLDP agent will receive,
but it will not transmit LLDP frames on this port.
If the associated lldpPortConfigAdminStatus object has a
value of 'txAndRx(3)', then the LLDP agent will transmit
and receive LLDP frames on this port.
If the associated lldpPortConfigAdminStatus object has a
value of 'disabled(4)', then LLDP agent will not transmit or
receive LLDP frames on this port. If there is remote systems
information which is received on this port and stored in
other tables, before the port's lldpPortConfigAdminStatus
becomes disabled, then the information will naturally age out."
REFERENCE
"IEEE 802.1AB-2004 10.5.1"
DEFVAL { txAndRx }
::= { lldpPortConfigEntry 2 }
lldpPortConfigNotificationEnable OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The lldpPortConfigNotificationEnable controls, on a per
port basis, whether or not notifications from the agent
are enabled. The value true(1) means that notifications are
enabled; the value false(2) means that they are not."
DEFVAL { false }
::= { lldpPortConfigEntry 3 }
lldpPortConfigTLVsTxEnable OBJECT-TYPE
SYNTAX BITS {
portDesc(0),
sysName(1),
sysDesc(2),
sysCap(3)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The lldpPortConfigTLVsTxEnable, defined as a bitmap,
includes the basic set of LLDP TLVs whose transmission is
allowed on the local LLDP agent by the network management.
Each bit in the bitmap corresponds to a TLV type associated
with a specific optional TLV.
It should be noted that the organizationally-specific TLVs
are excluded from the lldpTLVsTxEnable bitmap.
LLDP Organization Specific Information Extension MIBs should
have similar configuration object to control transmission
of their organizationally defined TLVs.
The bit 'portDesc(0)' indicates that LLDP agent should
transmit 'Port Description TLV'.
The bit 'sysName(1)' indicates that LLDP agent should transmit
'System Name TLV'.
The bit 'sysDesc(2)' indicates that LLDP agent should transmit
'System Description TLV'.
The bit 'sysCap(3)' indicates that LLDP agent should transmit
'System Capabilities TLV'.
There is no bit reserved for the management address TLV type
since transmission of management address TLVs are controlled
by another object, lldpConfigManAddrTable.
The default value for lldpPortConfigTLVsTxEnable object is
empty set, which means no enumerated values are set.
The value of this object must be restored from non-volatile
storage after a re-initialization of the management system."
REFERENCE
"IEEE 802.1AB-2004 10.2.1.1"
DEFVAL { { } }
::= { lldpPortConfigEntry 4 }
--
-- lldpManAddrConfigTxPortsTable : selection of management addresses
-- to be transmitted on a specified set
-- of ports.
--
lldpConfigManAddrTable OBJECT-TYPE
SYNTAX SEQUENCE OF LldpConfigManAddrEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table that controls selection of LLDP management address
TLV instances to be transmitted on individual ports."
::= { lldpConfiguration 7 }
lldpConfigManAddrEntry OBJECT-TYPE
SYNTAX LldpConfigManAddrEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"LLDP configuration information that specifies the set
of ports (represented as a PortList) on which the local
system management address instance will be transmitted.
This configuration object augments the lldpLocManAddrEntry,
therefore it is only present along with the management
address instance contained in the associated
lldpLocManAddrEntry entry.
Each active lldpConfigManAddrEntry must be restored from
non-volatile and re-created (along with the corresponding
lldpLocManAddrEntry) after a re-initialization of the
management system."
AUGMENTS { lldpLocManAddrEntry }
::= { lldpConfigManAddrTable 1 }
LldpConfigManAddrEntry ::= SEQUENCE {
lldpConfigManAddrPortsTxEnable LldpPortList
}
lldpConfigManAddrPortsTxEnable OBJECT-TYPE
SYNTAX LldpPortList
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"A set of ports that are identified by a PortList, in which
each port is represented as a bit. The corresponding local
system management address instance will be transmitted on the
member ports of the lldpManAddrPortsTxEnable.
The default value for lldpConfigManAddrPortsTxEnable object
is empty binary string, which means no ports are specified
for advertising indicated management address instance."
REFERENCE
"IEEE 802.1AB-2004 10.2.1.1"
DEFVAL { ''H } -- empty binary string
::= { lldpConfigManAddrEntry 1 }
--
-- ***********************************************************
--
-- L L D P S T A T S
--
-- ***********************************************************
--
-- LLDP Stats Group
lldpStatsRemTablesLastChangeTime OBJECT-TYPE
SYNTAX TimeStamp
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The value of sysUpTime object (defined in IETF RFC 3418)
at the time an entry is created, modified, or deleted in the
in tables associated with the lldpRemoteSystemsData objects
and all LLDP extension objects associated with remote systems.
An NMS can use this object to reduce polling of the
lldpRemoteSystemsData objects."
::= { lldpStatistics 1 }
lldpStatsRemTablesInserts OBJECT-TYPE
SYNTAX ZeroBasedCounter32
UNITS "table entries"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of times the complete set of information
advertised by a particular MSAP has been inserted into tables
contained in lldpRemoteSystemsData and lldpExtensions objects.
The complete set of information received from a particular
MSAP should be inserted into related tables. If partial
information cannot be inserted for a reason such as lack
of resources, all of the complete set of information should
be removed.
This counter should be incremented only once after the
complete set of information is successfully recorded
in all related tables. Any failures during inserting
information set which result in deletion of previously
inserted information should not trigger any changes in
lldpStatsRemTablesInserts since the insert is not completed
yet or or in lldpStatsRemTablesDeletes, since the deletion
would only be a partial deletion. If the failure was the
result of lack of resources, the lldpStatsRemTablesDrops
counter should be incremented once."
::= { lldpStatistics 2 }
lldpStatsRemTablesDeletes OBJECT-TYPE
SYNTAX ZeroBasedCounter32
UNITS "table entries"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of times the complete set of information
advertised by a particular MSAP has been deleted from
tables contained in lldpRemoteSystemsData and lldpExtensions
objects.
This counter should be incremented only once when the
complete set of information is completely deleted from all
related tables. Partial deletions, such as deletion of
rows associated with a particular MSAP from some tables,
but not from all tables are not allowed, thus should not
change the value of this counter."
::= { lldpStatistics 3 }
lldpStatsRemTablesDrops OBJECT-TYPE
SYNTAX ZeroBasedCounter32
UNITS "table entries"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of times the complete set of information
advertised by a particular MSAP could not be entered into
tables contained in lldpRemoteSystemsData and lldpExtensions
objects because of insufficient resources."
::= { lldpStatistics 4 }
lldpStatsRemTablesAgeouts OBJECT-TYPE
SYNTAX ZeroBasedCounter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of times the complete set of information
advertised by a particular MSAP has been deleted from tables
contained in lldpRemoteSystemsData and lldpExtensions objects
because the information timeliness interval has expired.
This counter should be incremented only once when the complete
set of information is completely invalidated (aged out)
from all related tables. Partial aging, similar to deletion
case, is not allowed, and thus, should not change the value
of this counter."
::= { lldpStatistics 5 }
--
-- TX statistics
--
lldpStatsTxPortTable OBJECT-TYPE
SYNTAX SEQUENCE OF LldpStatsTxPortEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table containing LLDP transmission statistics for
individual ports. Entries are not required to exist in
this table while the lldpPortConfigEntry object is equal to
'disabled(4)'."
::= { lldpStatistics 6 }
lldpStatsTxPortEntry OBJECT-TYPE
SYNTAX LldpStatsTxPortEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"LLDP frame transmission statistics for a particular port.
The port must be contained in the same chassis as the
LLDP agent.
All counter values in a particular entry shall be
maintained on a continuing basis and shall not be deleted
upon expiration of rxInfoTTL timing counters in the LLDP
remote systems MIB of the receipt of a shutdown frame from
a remote LLDP agent.
All statistical counters associated with a particular
port on the local LLDP agent become frozen whenever the
adminStatus is disabled for the same port."
INDEX { lldpStatsTxPortNum }
::= { lldpStatsTxPortTable 1 }
LldpStatsTxPortEntry ::= SEQUENCE {
lldpStatsTxPortNum LldpPortNumber,
lldpStatsTxPortFramesTotal Counter32
}
lldpStatsTxPortNum OBJECT-TYPE
SYNTAX LldpPortNumber
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The index value used to identify the port component
(contained in the local chassis with the LLDP agent)
associated with this entry.
The value of this object is used as a port index to the
lldpStatsTable."
::= { lldpStatsTxPortEntry 1 }
lldpStatsTxPortFramesTotal OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of LLDP frames transmitted by this LLDP agent
on the indicated port."
REFERENCE
"IEEE 802.1AB-2004 10.5.2"
::= { lldpStatsTxPortEntry 2 }
--
-- RX statistics
--
lldpStatsRxPortTable OBJECT-TYPE
SYNTAX SEQUENCE OF LldpRxStatsPortEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table containing LLDP reception statistics for individual
ports. Entries are not required to exist in this table while
the lldpPortConfigEntry object is equal to 'disabled(4)'."
::= { lldpStatistics 7 }
lldpStatsRxPortEntry OBJECT-TYPE
SYNTAX LldpRxStatsPortEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"LLDP frame reception statistics for a particular port.
The port must be contained in the same chassis as the
LLDP agent.
All counter values in a particular entry shall be
maintained on a continuing basis and shall not be deleted
upon expiration of rxInfoTTL timing counters in the LLDP
remote systems MIB of the receipt of a shutdown frame from
a remote LLDP agent.
All statistical counters associated with a particular
port on the local LLDP agent become frozen whenever the
adminStatus is disabled for the same port."
INDEX { lldpStatsRxPortNum }
::= { lldpStatsRxPortTable 1 }
LldpRxStatsPortEntry ::= SEQUENCE {
lldpStatsRxPortNum LldpPortNumber,
lldpStatsRxPortFramesDiscardedTotal Counter32,
lldpStatsRxPortFramesErrors Counter32,
lldpStatsRxPortFramesTotal Counter32,
lldpStatsRxPortTLVsDiscardedTotal Counter32,
lldpStatsRxPortTLVsUnrecognizedTotal Counter32,
lldpStatsRxPortAgeoutsTotal ZeroBasedCounter32
}
lldpStatsRxPortNum OBJECT-TYPE
SYNTAX LldpPortNumber
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The index value used to identify the port component
(contained in the local chassis with the LLDP agent)
associated with this entry.
The value of this object is used as a port index to the
lldpStatsTable."