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 pathHP-ICF-UDLD-MIB
326 lines (273 loc) · 11 KB
/
HP-ICF-UDLD-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
HP-ICF-UDLD-MIB DEFINITIONS ::= BEGIN
IMPORTS
OBJECT-TYPE, MODULE-IDENTITY, NOTIFICATION-TYPE, Integer32,
Counter32, Unsigned32
FROM SNMPv2-SMI
MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP
FROM SNMPv2-CONF
MacAddress, TimeInterval
FROM SNMPv2-TC
ifIndex
FROM IF-MIB
hpSwitch
FROM HP-ICF-OID;
hpicfUdldMIB MODULE-IDENTITY
LAST-UPDATED "200604100000Z" --April 10, 2006
ORGANIZATION "Hewlett-Packard Company
ProCurve Networking Business"
CONTACT-INFO "Hewlett-Packard Company
8000 Foothills Blvd.
Roseville, CA 95747"
DESCRIPTION "This MIB module describes objects to configure
the Unidirectional Link Detection (UDLD) feature."
REVISION "200604100000Z"
DESCRIPTION "Initial revision."
::= { hpSwitch 33 }
-- **********************************************************************
-- The UDLD MIB Groups
-- **********************************************************************
hpicfUdldNotifications OBJECT IDENTIFIER ::= { hpicfUdldMIB 0 }
hpicfUdldObjects OBJECT IDENTIFIER ::= { hpicfUdldMIB 1 }
hpicfUdldConformance OBJECT IDENTIFIER ::= { hpicfUdldMIB 2 }
-- **********************************************************************
-- The UDLD MIB Objects
-- **********************************************************************
hpicfUdldConfig OBJECT IDENTIFIER ::= { hpicfUdldObjects 1 }
hpicfUdldStats OBJECT IDENTIFIER ::= { hpicfUdldObjects 2 }
-- **********************************************************************
-- Start of MIB objects
-- **********************************************************************
hpicfUdldConfigTimeInterval OBJECT-TYPE
SYNTAX Unsigned32 (10..100)
MAX-ACCESS read-write
STATUS current
DESCRIPTION "The interval in seconds at which the UDLD enabled ports exchange
proprietary pulse packet. Here 10 is 1 sec, 11 is 1.1 sec,
and so on. The default value for hpicfUdldConfigTimeInterval
object is 5 seconds."
DEFVAL { 50 } -- five second
::= { hpicfUdldConfig 1 }
hpicfUdldConfigMaxRetries OBJECT-TYPE
SYNTAX Unsigned32 (3..10)
MAX-ACCESS read-write
STATUS current
DESCRIPTION "Maximum number of retries to wait for a response.
The default value for hpicfUdldConfigMaxRetries object is
4."
DEFVAL { 4 }
::= { hpicfUdldConfig 2 }
-- Start of hpicfUdldPortConfigTable ************************************
hpicfUdldPortConfigTable OBJECT-TYPE
SYNTAX SEQUENCE OF HpicfUdldPortConfigEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "The table that controls UDLD status on individual ports."
::= { hpicfUdldConfig 3 }
hpicfUdldPortConfigEntry OBJECT-TYPE
SYNTAX HpicfUdldPortConfigEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "An entry in the hpicfUdldPortConfigTable."
INDEX { ifIndex }
::= { hpicfUdldPortConfigTable 1 }
HpicfUdldPortConfigEntry ::= SEQUENCE {
hpicfUdldPortAdminStatus INTEGER,
hpicfUdldPortVlanId Integer32
}
hpicfUdldPortAdminStatus OBJECT-TYPE
SYNTAX INTEGER {
enable(1),
disable(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION "The hpicfUdldPortAdminStatus can be enabled/disabled
The value enable(1) means that UDLD is enabled.
the value disable(2) means that UDLD is disabled."
::= { hpicfUdldPortConfigEntry 1 }
hpicfUdldPortVlanId OBJECT-TYPE
SYNTAX Integer32 (0..4094)
MAX-ACCESS read-write
STATUS current
DESCRIPTION "The vlan id associated with tagged UDLD control
packets. The value of 0 indicates that UDLD control
packets are untagged."
::= { hpicfUdldPortConfigEntry 2 }
-- End of hpicfUdldPortConfigTable **************************************
--
-- ***********************************************************
--
-- UDLD S T A T S
--
-- ***********************************************************
--
hpicfUdldPortStatsTable OBJECT-TYPE
SYNTAX SEQUENCE OF HpicfUdldPortStatsEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table containing UDLD statistics for
individual ports."
::= { hpicfUdldStats 1 }
hpicfUdldPortStatsEntry OBJECT-TYPE
SYNTAX HpicfUdldPortStatsEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"UDLD statistics for a particular physical port."
INDEX { ifIndex }
::= { hpicfUdldPortStatsTable 1 }
HpicfUdldPortStatsEntry ::= SEQUENCE {
hpicfUdldStatsPortCurrentState INTEGER,
hpicfUdldStatsPortNeighborMAC MacAddress,
hpicfUdldStatsPortNeighborPort Integer32,
hpicfUdldStatsPortTotalTx Counter32,
hpicfUdldStatsPortTotalRx Counter32,
hpicfUdldStatsPortNumStateChange Counter32,
hpicfUdldStatsPortStatus Integer32
}
hpicfUdldStatsPortCurrentState OBJECT-TYPE
SYNTAX INTEGER {
unknown(0),
offline(1),
failure(2),
up(3)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The desired status of UDLD on a port.
If the associated hpicfUdldStatsPortCurrentState object has a
value of 'offline(1)', then the port or udld is administratively
disabled.
If the associated hpicfUdldStatsPortCurrentState object has a
value of 'failure(2)', then the port and udld are administratively
enabled, but udld packets are not being received successfully.
Link may or may not be present.
If the associated hpicfUdldStatsPortCurrentState object has a
value of 'up(3)', then udld is enabled and udld packets
are being received successfully in both directions."
::= { hpicfUdldPortStatsEntry 1 }
hpicfUdldStatsPortNeighborMAC OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The MAC address of the adjacent switch."
::= { hpicfUdldPortStatsEntry 2 }
hpicfUdldStatsPortNeighborPort OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The port number of the adjacent switch."
::= { hpicfUdldPortStatsEntry 3 }
hpicfUdldStatsPortTotalTx OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of UDLD control packets sent from this port."
::= { hpicfUdldPortStatsEntry 4 }
hpicfUdldStatsPortTotalRx OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of UDLD control packets received on this port."
::= { hpicfUdldPortStatsEntry 5 }
hpicfUdldStatsPortNumStateChange OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of state transitions."
::= { hpicfUdldPortStatsEntry 6 }
hpicfUdldStatsPortStatus OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The value of this object indicates whether the port is
blocked by UDLD or not."
::= { hpicfUdldPortStatsEntry 7 }
--
-- ***********************************************************
--
-- UDLD M I B N O T I F I C A T I O N S
--
-- ***********************************************************
--
hpicfUdldNotificationPrefix OBJECT IDENTIFIER ::= { hpicfUdldNotifications 0 }
hpicfUdldLinkfault NOTIFICATION-TYPE
OBJECTS { ifIndex }
STATUS current
DESCRIPTION "This notification is generated when the link failure
occurs."
::= { hpicfUdldNotificationPrefix 1 }
hpicfUdldLinkUp NOTIFICATION-TYPE
OBJECTS { ifIndex }
STATUS current
DESCRIPTION "This notification is generated when UDLD link goes
from down to up."
::= { hpicfUdldNotificationPrefix 2 }
--
-- ***********************************************************
--
-- UDLD M I B C O N F O R M A N C E
--
-- ***********************************************************
--
hpicfUdldCompliances OBJECT IDENTIFIER ::= { hpicfUdldConformance 1 }
hpicfUdldGroups OBJECT IDENTIFIER ::= { hpicfUdldConformance 2 }
-- compliance statements
hpicfUdldCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for SNMP entities which implement
the UDLD MIB."
MODULE -- this module
MANDATORY-GROUPS {
hpicfUdldPortConfigGroup,
hpicfUdldPortStatsGroup,
hpicfUdldNotificationGroup
}
GROUP hpicfUdldNotificationGroup
DESCRIPTION "The notifications used for signalling link failure."
::= { hpicfUdldCompliances 1 }
-- MIB groupings
hpicfUdldPortConfigGroup OBJECT-GROUP
OBJECTS {
hpicfUdldConfigTimeInterval,
hpicfUdldConfigMaxRetries,
hpicfUdldPortAdminStatus,
hpicfUdldPortVlanId
}
STATUS current
DESCRIPTION
"The collection of objects which are used to configure the
UDLD implementation behavior.
This group is mandatory for ports which implement the UDLD."
::= { hpicfUdldGroups 1 }
hpicfUdldPortStatsGroup OBJECT-GROUP
OBJECTS {
hpicfUdldStatsPortCurrentState,
hpicfUdldStatsPortNeighborMAC,
hpicfUdldStatsPortNeighborPort,
hpicfUdldStatsPortTotalTx,
hpicfUdldStatsPortTotalRx,
hpicfUdldStatsPortNumStateChange,
hpicfUdldStatsPortStatus
}
STATUS current
DESCRIPTION
"The collection of objects which are used to represent UDLD
statistics.
This group is mandatory for ports which implement the UDLD."
::= { hpicfUdldGroups 2 }
hpicfUdldNotificationGroup NOTIFICATION-GROUP
NOTIFICATIONS { hpicfUdldLinkfault,hpicfUdldLinkUp }
STATUS current
DESCRIPTION "Notification used for signaling change in Link state."
::= { hpicfUdldGroups 3 }
END