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
|
-- *****************************************************************
-- DLINKSW-LBD-MIB.mib : Loopback Detection MIB
--
-- Copyright (c) 2014 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-LBD-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,OBJECT-TYPE,NOTIFICATION-TYPE
FROM SNMPv2-SMI
DisplayString,TruthValue FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF
InterfaceIndex FROM IF-MIB
VlanId FROM Q-BRIDGE-MIB
Dlink2kVlanList FROM DLINKSW-TC-MIB
dlinkIndustrialCommon FROM DLINK-ID-REC-MIB;
dlinkSwLoopbackDetectMIB MODULE-IDENTITY
LAST-UPDATED "201410270000Z"
ORGANIZATION "D-Link Corp."
CONTACT-INFO
" D-Link Corporation
Postal: No. 289, Sinhu 3rd Rd., Neihu District,
Taipei City 114, Taiwan, R.O.C
Tel: +886-2-66000123
E-mail: tsd@dlink.com.tw
"
DESCRIPTION
"This MIB module defines objects for loopback detection."
REVISION "201410270000Z"
DESCRIPTION
"Add node dLbdAddressType."
REVISION "201310230000Z"
DESCRIPTION
"Add node dLbdActMode, dLbdNotifyEnabled and dLbdNotifyInfo."
REVISION "201302050000Z"
DESCRIPTION
"This is the first version of the MIB file for 'loopback
detection' functionality."
::= { dlinkIndustrialCommon 46 }
-- -----------------------------------------------------------------------------
dLbdNotifications OBJECT IDENTIFIER ::= { dlinkSwLoopbackDetectMIB 0 }
dLbdObjects OBJECT IDENTIFIER ::= { dlinkSwLoopbackDetectMIB 1 }
dLbdConformance OBJECT IDENTIFIER ::= { dlinkSwLoopbackDetectMIB 2 }
dLbdCtrlInterval OBJECT-TYPE
SYNTAX INTEGER (1..32767)
UNITS "seconds"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the interval in seconds at which LBD
packets are transmitted."
::= { dLbdObjects 1 }
dLbdCtrlGlobalEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates whether the loopback detection is enabled
globally.
"
::= { dLbdObjects 2 }
dLbdCtrlMode OBJECT-TYPE
SYNTAX INTEGER {
portBased(1),
vlanBased(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the loopback detection mode.
portBased(1) - The loopback detection works in port-based mode.
vlanBased(2) - The loopback detection works in vlan-based mode."
::= { dLbdObjects 3 }
dLbdActMode OBJECT-TYPE
SYNTAX INTEGER {
shutdown(1),
none(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the loopback detection action mode.
shundown(1) - When loop has been detected, the port will be shut down (disabled)
in port-based mode, the traffic will be block on specific VLAN in VLAN-based mode.
This is the default value.
none(2) - When loop has been detected, the port will NOT be disabled in
port-based mode, the traffic will NOT be block on specific VLAN in
VLAN-based mode. Just send log and trap."
::= { dLbdObjects 6 }
dLbdNotifyEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Set to 'true' to enable global SNMP notification for loopback detection feature.
Setting the object to 'false' will disable SNMP notifications."
::= { dLbdObjects 7}
dLbdIfCfgTable OBJECT-TYPE
SYNTAX SEQUENCE OF DLbdIfCfgEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A list of loopback detection information entries."
::= { dLbdObjects 4 }
dLbdAddressType OBJECT-TYPE
SYNTAX INTEGER {
multicast(1),
broadcast(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the CTP packet's DA type.
multicast(1) - Only multicast CTP packet will be sent.The CTP packet's DA is CF-00-00-00-00-00.
broadcast(2) - Only broadcast CTP packet will be sent.The CTP packet's DA is FF-FF-FF-FF-FF-FF."
::= { dLbdObjects 9 }
dLbdIfCfgEntry OBJECT-TYPE
SYNTAX DLbdIfCfgEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry indicates the setting of loopback detection on an
interface."
INDEX { dLbdIfCfgIndex }
::= { dLbdIfCfgTable 1 }
DLbdIfCfgEntry ::= SEQUENCE {
dLbdIfCfgIndex InterfaceIndex,
dLbdIfCfgEnabled TruthValue,
dLbdIfLoopStatus INTEGER,
dLbdIfLoopVlans DisplayString
}
dLbdIfCfgIndex OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the ifIndex of the physical port or port
channel."
::= { dLbdIfCfgEntry 1 }
dLbdIfCfgEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates whether the loopback detection is enabled on
the interface.
"
::= { dLbdIfCfgEntry 2 }
dLbdIfLoopStatus OBJECT-TYPE
SYNTAX INTEGER {
normal(1),
loop(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates whether the interface loopback status."
::= { dLbdIfCfgEntry 3 }
dLbdIfLoopVlans OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the VLAN list that has detected a loopback."
::= { dLbdIfCfgEntry 4 }
-- ----------------------------------------------------------------------------
dLbdVlanCtrlObjects OBJECT-IDENTITY
STATUS current
DESCRIPTION
"This identifier defines a subtree under which a set of objects are
defined to enable loopback detection on specific VLANs. That is,
LBD Control packet will be sent out for the VLAN that the port has
the membership and within the specified VLAN list (the correspondig
bit is '1').
When enabled VLAN ID list is empty, that is both dLbdVlanCrlFirst2K
and dLbdVlanCrlSecond2K are zero lenth string, LBD Control packet
is sent out for all VLANs that the port has the membership."
::= { dLbdObjects 5 }
dLbdVlanCrlFirst2K OBJECT-TYPE
SYNTAX Dlink2kVlanList
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object specifies the loopback detection enabled VLAN in a
string of octets containing one bit per VLAN for VLANs 1 to 2048.
If the bit is set to '1', then the VLAN is enabled for loopback
detection."
::= { dLbdVlanCtrlObjects 1 }
dLbdVlanCrlSecond2K OBJECT-TYPE
SYNTAX Dlink2kVlanList
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object specifies the loopback detection enabled VLAN in a
string of octets containing one bit per VLAN for VLANs 2049 to 4095.
If the bit is set to '1', then the VLAN is enabled for loopback
detection."
::= { dLbdVlanCtrlObjects 2 }
-- -----------------------------------------------------------------------------
-- -----------------------------------------------------------------------------
dLbdNotifyInfo OBJECT-IDENTITY
STATUS current
DESCRIPTION
"This identifier is a group for variable bindings for traps."
::= { dLbdObjects 8 }
dLbdNotifyInfoIfIndex OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"This object indicates the interface id that has detected a loopback."
::= { dLbdNotifyInfo 1 }
dLbdNotifyInfoVlanId OBJECT-TYPE
SYNTAX VlanId
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"This object indicates the vlan id that has detected a loopback."
::= { dLbdNotifyInfo 2 }
-- -----------------------------------------------------------------------------
-- -----------------------------------------------------------------------------
-- MIB Notifications statements
-- -----------------------------------------------------------------------------
dLbdLoopOccurred NOTIFICATION-TYPE
OBJECTS {
dLbdNotifyInfoIfIndex
}
STATUS current
DESCRIPTION
"This trap is sent when an interface loop occurs."
::= { dLbdNotifications 1 }
dLbdLoopRestart NOTIFICATION-TYPE
OBJECTS {
dLbdNotifyInfoIfIndex
}
STATUS current
DESCRIPTION
"This trap is sent when an interface loop restarts after the interval time."
::= { dLbdNotifications 2 }
dLbdVlanLoopOccurred NOTIFICATION-TYPE
OBJECTS {
dLbdNotifyInfoIfIndex,
dLbdNotifyInfoVlanId
}
STATUS current
DESCRIPTION
"This trap is sent when an interface with a VID loop occurs."
::= { dLbdNotifications 3 }
dLbdVlanLoopRestart NOTIFICATION-TYPE
OBJECTS {
dLbdNotifyInfoIfIndex,
dLbdNotifyInfoVlanId
}
STATUS current
DESCRIPTION
"This trap is sent when an interface loop with a VID restarts after the interval time."
::= { dLbdNotifications 4 }
-- -----------------------------------------------------------------------------
-- MIB Conformance statements
-- -----------------------------------------------------------------------------
dLbdMIBCompliances OBJECT IDENTIFIER
::= { dLbdConformance 1 }
dLbdMIBGroups OBJECT IDENTIFIER
::= { dLbdConformance 2 }
dLbdMIBCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-LBD-MIB."
MODULE -- this module
MANDATORY-GROUPS {
dLbdCfgGroup,
dLbdIfCfgGroup
}
GROUP dLbdCtrlModeGroup
DESCRIPTION
"This group is mandatory if vlan-based mode is supported."
GROUP dLbdVlanCtrlGroup
DESCRIPTION
"This group is mandatory if vlan-based mode is supported."
::= { dLbdMIBCompliances 1 }
-- -----------------------------------------------------------------------------
dLbdCfgGroup OBJECT-GROUP
OBJECTS {
dLbdCtrlInterval,
dLbdCtrlGlobalEnabled,
dLbdActMode,
dLbdNotifyEnabled,
dLbdNotifyInfoIfIndex,
dLbdNotifyInfoVlanId,
dLbdAddressType
}
STATUS current
DESCRIPTION
"A collection of objects providing management of the loopback
detection feature."
::= { dLbdMIBGroups 1 }
dLbdIfCfgGroup OBJECT-GROUP
OBJECTS {
dLbdIfCfgEnabled,
dLbdIfLoopStatus,
dLbdIfLoopVlans
}
STATUS current
DESCRIPTION
"A collection of objects providing the per-interface control of
loopback detection."
::= { dLbdMIBGroups 2 }
dLbdCtrlModeGroup OBJECT-GROUP
OBJECTS {
dLbdCtrlMode
}
STATUS current
DESCRIPTION
"A collection of objects providing the mode of loopback detection."
::= { dLbdMIBGroups 3 }
dLbdVlanCtrlGroup OBJECT-GROUP
OBJECTS {
dLbdVlanCrlFirst2K,
dLbdVlanCrlSecond2K
}
STATUS current
DESCRIPTION
"A collection of objects providing the VLAN list of loopback
detection."
::= { dLbdMIBGroups 4 }
dLbdNotificationGroup NOTIFICATION-GROUP
NOTIFICATIONS {
dLbdLoopOccurred,
dLbdLoopRestart,
dLbdVlanLoopOccurred,
dLbdVlanLoopRestart
}
STATUS current
DESCRIPTION
"A collection of notifications used for monitoring the hosts under the
control of loopback detection."
::= { dLbdMIBGroups 5 }
END
|