-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCTRON-CDP-MIB
468 lines (416 loc) · 14.8 KB
/
CTRON-CDP-MIB
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
CTRON-CDP-MIB DEFINITIONS ::= BEGIN
-- ctron-cdp-mib.txt
-- Revision: 1.00.04
-- Part Number:
-- Date: August 28, 1999
-- Cabletron Systems reserves the right to make changes in
-- specification and other information contained in this document
-- without prior notice. The reader should consult Cabletron Systems
-- to determine whether any such changes have been made.
--
-- In no event shall Cabletron Systems be liable for any incidental,
-- indirect, special, or consequential damages whatsoever (including
-- but not limited to lost profits) arising out of or related to this
-- document or the information contained in it, even if Cabletron
-- Systems has been advised of, known, or should have known, the
-- possibility of such damages.
--
-- Cabletron grants vendors, end-users, and other interested parties
-- a non-exclusive license to use this Specification in connection
-- with the management of Cabletron products.
--
-- Copyright September 1999 Cabletron Systems
--
IMPORTS
ctCDP
FROM CTRON-MIB-NAMES
ifIndex, InterfaceIndex
FROM IF-MIB
MODULE-IDENTITY, OBJECT-TYPE, IpAddress, Counter32
FROM SNMPv2-SMI
MODULE-COMPLIANCE, OBJECT-GROUP
FROM SNMPv2-CONF
MacAddress, TimeStamp, TEXTUAL-CONVENTION, DisplayString
FROM SNMPv2-TC
TimeFilter
FROM RMON2-MIB;
ctronCdpMIB MODULE-IDENTITY
LAST-UPDATED
"199908280000Z" -- August 28, 1999
ORGANIZATION
"Cabletron Systems, Inc."
CONTACT-INFO
"Cabletron Systems, Inc.
35 Industrial Way, P.O. Box 5005
Rochester, NH 03867-0505
(603) 332-9400
http://www.ctron.com"
DESCRIPTION
"This module defines a schema that maintains per port
neighbor information for the express purpose
of helping a managment application map
Layaer 2 topology."
::= { ctCDP 3 }
CTCDPCapability ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"The current capabilities of the neighbor device on a per
port basis. "
SYNTAX INTEGER {
igmp(1), -- IGMP enabled on the port over which device sent the packet
rip(2), -- Device performs routing using RIP
bgp(3), -- Device performs routing using BGP
ospf(4), -- Device performs routing using OSPF
dvmrp(5), -- Device performs DVMRP routing
ieee8021q(6), -- Device supports 802.1Q packet format on the port over
-- which it sent bthe CDP packet
gvrp(7), -- Device supports GARP VLAN Registration Protocol
gmrp(8), -- Device supports Multicast Registration Protocol
igmpSnoop(9), -- Device is a bridge and supports IGMP protocol snooping
dhcpServer(10), -- Device runs DHCP Server
dnsServer(11), -- Device runs DNS Server
activeDirectory(12) -- Device runs Active Directory Server
}
ctCDPNeighbor OBJECT IDENTIFIER ::= { ctCDP 1 }
ctCDPStatus OBJECT IDENTIFIER ::= { ctCDP 2 }
ctCDPStats OBJECT IDENTIFIER ::= { ctCDP 4 }
ctCDPNeighborLastChange OBJECT-TYPE
SYNTAX TimeStamp
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The value of sysUpTime at the time the cdpNeighborTable
was subject to these events: row insertion, row deletion"
::= { ctCDPNeighbor 1 }
ctCDPNeighborLastDelete OBJECT-TYPE
SYNTAX TimeStamp
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The value of sysUpTime the last time an entry in the
ctCDPNeighborTable was deleted. This should be polled
at an interval no greater than one second.
When it changes, the whole table should be
reread by management with a timeMark of 0 to rebuild
connectivity map."
::= { ctCDPNeighbor 2 }
ctCDPNeighborTable OBJECT-TYPE
SYNTAX SEQUENCE OF CtCDPNeighborEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The CommonNeighborTable holds all known neighbors speaking
cdp protocols."
::= { ctCDPNeighbor 3 }
ctCDPNeighborEntry OBJECT-TYPE
SYNTAX CtCDPNeighborEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry containing objects pertaining to
neighbor devices speaking CDP protocols."
INDEX { ctCDPNeighborTimeMark, ifIndex, ctCDPNeighborMAC }
::= { ctCDPNeighborTable 1 }
CtCDPNeighborEntry ::=
SEQUENCE {
ctCDPNeighborTimeMark TimeFilter,
ctCDPNeighborMAC MacAddress,
ctCDPNeighborIP IpAddress,
ctCDPNeighborPort InterfaceIndex,
ctCDPNeighborType INTEGER,
ctCDPNeighborChassisMAC MacAddress,
ctCDPNeighborChassisIP IpAddress,
ctCDPNeighborDescription DisplayString,
ctCDPNeighborPortName DisplayString,
ctCDPNeighborCapability CTCDPCapability
}
ctCDPNeighborTimeMark OBJECT-TYPE
SYNTAX TimeFilter
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"A TimeFilter for this entry as defined in RFC 2021."
::= { ctCDPNeighborEntry 1 }
ctCDPNeighborMAC OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The interface mac address of neighboring entity."
::= { ctCDPNeighborEntry 2 }
ctCDPNeighborIP OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The IP address of SNMP agent on neighboring entity from which
corresponding data for this port may be obtained. In the case
of unnumbered IP Interfaces, this may not be the same as the
port."
::= { ctCDPNeighborEntry 3 }
ctCDPNeighborPort OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The ifIndex of the remote port. Note, there may not be an IP
Interface associated with this port."
::= { ctCDPNeighborEntry 4 }
ctCDPNeighborType OBJECT-TYPE
SYNTAX INTEGER {
secureFastSwitch(1),
dot1qSwitch(2),
router(3),
dot1dBridge(4),
vlanManager(5),
dnsServer(6),
dhcpServer(7),
dnsDhcpServer(8)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The type of entity. This value is used to determine the
general type of the object or service connected to a given port.
In general, it is better to use system group sysServices to
obtain an object's functionality."
::= { ctCDPNeighborEntry 5 }
ctCDPNeighborChassisMAC OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The MAC Address of the chassis in architectures
where many manageable elements exist within a
given chassis. If no containing chassis exists,
exists, this value must be set to 000000:000000"
::= { ctCDPNeighborEntry 6 }
ctCDPNeighborChassisIP OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The IP address of the chassis itself. If no containing chassis
exists, this value must be set to 0.0.0.0"
::= { ctCDPNeighborEntry 7 }
ctCDPNeighborDescription OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"A textual description of the neighbor. It
should contain operator diagnostic information
similar to sysDescr: system type, firmware version..."
::= { ctCDPNeighborEntry 8 }
ctCDPNeighborPortName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The value of object ifName of the neighbor's port."
::= { ctCDPNeighborEntry 9 }
ctCDPNeighborCapability OBJECT-TYPE
SYNTAX CTCDPCapability
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The current capabilities of the neighbor port."
::= { ctCDPNeighborEntry 10 }
--
-- CDPConfiguration Section
--
ctCDPGlobalStatus OBJECT-TYPE
SYNTAX INTEGER {
enable(1),
disable(2),
autoEnable(3)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The state of CDP for this entire managed entity. autoEnable(3)
should the default mode for new implementations. In autoEnable
mode, the device listens for CDP messages and upon receipt, begins
sending CDP messages of the same version and type as received."
::= { ctCDPStatus 1 }
ctCDPAuthenticationCode OBJECT-TYPE
SYNTAX OCTET STRING (SIZE( 0..255))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The authentication code may be set to create individual CDP
domains. CDP packets that arrive on a port must contain this
string. This authentication code is global for the entire
managed entity. The default for this string is 16 nulls."
::= { ctCDPStatus 2 }
ctCDPPortTable OBJECT-TYPE
SYNTAX SEQUENCE OF CtCDPPortTableEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table shows enable/disable CDP status for each port."
::= { ctCDPStatus 3 }
ctCDPPortTableEntry OBJECT-TYPE
SYNTAX CtCDPPortTableEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Each entry is indicative of a particuliar port in the system."
INDEX { ctCDPPort }
::= { ctCDPPortTable 1 }
CtCDPPortTableEntry ::=
SEQUENCE {
ctCDPPort
InterfaceIndex,
ctCDPPortStatus
INTEGER
}
ctCDPPort OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The ifIndex for a physical port. ifConnectorPresent is true(1)
defines a physical port on which cdp pdus will be emitted."
::= { ctCDPPortTableEntry 1 }
ctCDPPortStatus OBJECT-TYPE
SYNTAX INTEGER {
enabled(1), -- CDP is enabled always on the port
disabled(2), -- CDP is disabled always on the port
autoEnable(3) -- CDP is automatically enabled on the port
-- when device receives CDP packet on that port
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The current state administrative of cdp on a physical port.
The ability to enable and disable the sending of CDP pdu's
on a per port basis is controlled here."
::= { ctCDPPortTableEntry 2 }
ctCDPTransmitFrequency OBJECT-TYPE
SYNTAX INTEGER (5..900)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The rate in seconds at which CDP pdu's are sent on all enabled ports."
::= { ctCDPStatus 4 }
ctCDPHoldTime OBJECT-TYPE
SYNTAX INTEGER (15..600)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The maximum amount of time in seconds to wait before aging out
an entry in the ctCDPNeighborTable. The agent may choose to change
this value based on the hold time it receives from other devices
so as to have a stable neighbor table which ages out entries
in accordance with the transmit frequency."
::= { ctCDPStatus 5 }
ctCDPVersion OBJECT-TYPE
SYNTAX OCTET STRING (SIZE(2))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The CDP version supported by this device as a bit string.
For example, given support for two versions of cdp: 3 and 4
the bit representation in big endian form would be: 00001100."
::= { ctCDPStatus 6 }
--
-- CDP statistics
--
ctCDPInPackets OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Count of CDP packets received by the device over all
the ports."
::= { ctCDPStats 1 }
ctCDPOutPackets OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Count of CDP packets successfully transmitted by the
device over all the ports."
::= { ctCDPStats 2 }
ctCDPInvalidVersionPackets OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Count of CDP packets received with version not
supported by the device."
::= { ctCDPStats 3 }
ctCDPParseErrorPackets OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Count of CDP packets received and could not be parsed
successfully by the device."
::= { ctCDPStats 4 }
ctCDPTransmitErrors OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Count of errors occured by the device while trying
to transmit CDP packets."
::= { ctCDPStats 5 }
ctCDPMemoryErrors OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Count of memory errors occured in the device while
either trying to process the CDP packet or adding the
neighbor entry or while trying to send a CDP packet."
::= { ctCDPStats 6 }
--
-- Compliance Statements
--
ctCDPConformance OBJECT IDENTIFIER ::= { ctronCdpMIB 11 }
ctCDPCompliances OBJECT IDENTIFIER ::= { ctCDPConformance 1 }
ctCDPGroups OBJECT IDENTIFIER ::= { ctCDPConformance 2 }
ctCDPComplianceV10 MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for the ctronCdpMIB."
MODULE -- this module
MANDATORY-GROUPS { ctCdpGroupV10 }
::= { ctCDPCompliances 1 }
ctCdpGroupV10 OBJECT-GROUP
OBJECTS {
ctCDPNeighborLastChange,
ctCDPNeighborLastDelete,
ctCDPNeighborTimeMark,
ctCDPNeighborMAC,
ctCDPNeighborIP,
ctCDPNeighborPort,
ctCDPNeighborType,
ctCDPNeighborChassisMAC,
ctCDPNeighborChassisIP,
ctCDPGlobalStatus,
ctCDPAuthenticationCode,
ctCDPPort,
ctCDPPortStatus,
ctCDPNeighborDescription,
ctCDPNeighborPortName,
ctCDPNeighborCapability,
ctCDPTransmitFrequency,
ctCDPHoldTime,
ctCDPVersion,
ctCDPInPackets,
ctCDPOutPackets,
ctCDPInvalidVersionPackets,
ctCDPParseErrorPackets,
ctCDPTransmitErrors,
ctCDPMemoryErrors
}
STATUS current
DESCRIPTION
"The set of managed objects that make up version 2 of the
CTRON-CDP-MIB."
::= { ctCDPGroups 1 }
END