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
|
-- *****************************************************************
-- DLINKSW-VLAN-MIB.mib : VLAN MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-VLAN-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-TYPE,
NOTIFICATION-TYPE,
Unsigned32
FROM SNMPv2-SMI
RowStatus,TruthValue,MacAddress
FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP
FROM SNMPv2-CONF
InetAddress, InetAddressType, InetAddressPrefixLength
FROM INET-ADDRESS-MIB
dot1dBasePort
FROM BRIDGE-MIB
VlanId,dot1vProtocolPortGroupId
FROM Q-BRIDGE-MIB
Dlink2kVlanList
FROM DLINKSW-TC-MIB
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwVlanMIB MODULE-IDENTITY
LAST-UPDATED "201304180000Z"
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 extending the configuration of
VLAN (Virtual Local Area Network). "
REVISION "201304180000Z"
DESCRIPTION
"This is the first version of the MIB file."
::= { dlinkIndustrialCommon 21 }
-- -----------------------------------------------------------------------------
dVlanMIBNotifications OBJECT IDENTIFIER ::= { dlinkSwVlanMIB 0 }
dVlanMIBObjects OBJECT IDENTIFIER ::= { dlinkSwVlanMIB 1 }
dVlanMIBConformance OBJECT IDENTIFIER ::= { dlinkSwVlanMIB 2 }
-- -----------------------------------------------------------------------------
dVlanStaticMacVlanTable OBJECT-TYPE
SYNTAX SEQUENCE OF DVlanStaticMacVlanEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains a list of MAC-based VLANs."
::= { dVlanMIBObjects 1 }
dVlanStaticMacVlanEntry OBJECT-TYPE
SYNTAX DVlanStaticMacVlanEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table entry represents the configuration of a MAC-based VLAN."
INDEX { dVlanStaticMacVlanAddress }
::= { dVlanStaticMacVlanTable 1 }
DVlanStaticMacVlanEntry ::= SEQUENCE {
dVlanStaticMacVlanAddress MacAddress,
dVlanStaticMacVlanId VlanId,
dVlanStaticMacVlanPriority Unsigned32,
dVlanStaticMacVlanRowStatus RowStatus
}
dVlanStaticMacVlanAddress OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the MAC address of the entry."
::= { dVlanStaticMacVlanEntry 1 }
dVlanStaticMacVlanId OBJECT-TYPE
SYNTAX VlanId
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the Vlan ID for the MAC based VLAN entry."
::= { dVlanStaticMacVlanEntry 2 }
dVlanStaticMacVlanPriority OBJECT-TYPE
SYNTAX Unsigned32 ( 0 .. 7 )
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the CoS for the MAC based VLAN entry."
DEFVAL { 0 }
::= { dVlanStaticMacVlanEntry 3 }
dVlanStaticMacVlanRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The status of this conceptual row."
::= { dVlanStaticMacVlanEntry 4 }
-- -----------------------------------------------------------------------------
dVlanCurrentMacVlanTable OBJECT-TYPE
SYNTAX SEQUENCE OF DVlanCurrentMacVlanEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains a list of MAC-based VLANs."
::= { dVlanMIBObjects 2 }
dVlanCurrentMacVlanEntry OBJECT-TYPE
SYNTAX DVlanCurrentMacVlanEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table entry represents the information of a MAC-based VLAN."
INDEX {
dVlanCurrentMacVlanAddress,
dVlanCurrentMacVlanStatus
}
::= { dVlanCurrentMacVlanTable 1 }
DVlanCurrentMacVlanEntry ::= SEQUENCE {
dVlanCurrentMacVlanAddress MacAddress,
dVlanCurrentMacVlanStatus INTEGER,
dVlanCurrentMacVlanId VlanId,
dVlanCurrentMacVlanPriority Unsigned32
}
dVlanCurrentMacVlanAddress OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the MAC address of the entry."
::= { dVlanCurrentMacVlanEntry 1 }
dVlanCurrentMacVlanStatus OBJECT-TYPE
SYNTAX INTEGER {
active(1),
inactive(2)
}
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the status of the entry."
::= { dVlanCurrentMacVlanEntry 2 }
dVlanCurrentMacVlanId OBJECT-TYPE
SYNTAX VlanId
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the Vlan ID for the MAC based VLAN entry."
::= { dVlanCurrentMacVlanEntry 3 }
dVlanCurrentMacVlanPriority OBJECT-TYPE
SYNTAX Unsigned32 ( 0 .. 7 )
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the CoS for the MAC based VLAN entry."
::= { dVlanCurrentMacVlanEntry 4 }
-- -----------------------------------------------------------------------------
dVlanSubnetVlanTable OBJECT-TYPE
SYNTAX SEQUENCE OF DVlanSubnetVlanEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains a list of subnet-based VLANs."
::= { dVlanMIBObjects 3 }
dVlanSubnetVlanEntry OBJECT-TYPE
SYNTAX DVlanSubnetVlanEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table entry represents the configuration of a subnet-based VLAN."
INDEX {
dVlanSubnetVlanType,
dVlanSubnetVlanNetPrefix,
dVlanSubnetVlanNetPrefixLen
}
::= { dVlanSubnetVlanTable 1 }
DVlanSubnetVlanEntry ::= SEQUENCE {
dVlanSubnetVlanType InetAddressType,
dVlanSubnetVlanNetPrefix InetAddress,
dVlanSubnetVlanNetPrefixLen InetAddressPrefixLength,
dVlanSubnetVlanId VlanId,
dVlanSubnetVlanPriority Unsigned32,
dVlanSubnetVlanRowStatus RowStatus
}
dVlanSubnetVlanType OBJECT-TYPE
SYNTAX InetAddressType
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the address type of the subnet."
::= { dVlanSubnetVlanEntry 1 }
dVlanSubnetVlanNetPrefix OBJECT-TYPE
SYNTAX InetAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the network prefix of the entry."
::= { dVlanSubnetVlanEntry 2 }
dVlanSubnetVlanNetPrefixLen OBJECT-TYPE
SYNTAX InetAddressPrefixLength
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the length of the sub-network
address prefix."
::= { dVlanSubnetVlanEntry 3 }
dVlanSubnetVlanId OBJECT-TYPE
SYNTAX VlanId
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the VLAN-ID of the subnet-based VLAN."
::= { dVlanSubnetVlanEntry 4 }
dVlanSubnetVlanPriority OBJECT-TYPE
SYNTAX Unsigned32 ( 0..7 )
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the CoS of the subnet-based VLAN."
::= { dVlanSubnetVlanEntry 5 }
dVlanSubnetVlanRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The status of this conceptual row."
::= { dVlanSubnetVlanEntry 6 }
-- -----------------------------------------------------------------------------
dVlanPortIfCtrlTable OBJECT-TYPE
SYNTAX SEQUENCE OF DVlanPortIfCtrlEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table provides mechanism to configure port-specific VLAN
function."
::= { dVlanMIBObjects 4 }
dVlanPortIfCtrlEntry OBJECT-TYPE
SYNTAX DVlanPortIfCtrlEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table entry represents the VLAN configuration on a port.
This table is an extension to dot1qPortVlanTable which is defined at
Q-BRIDGE-MIB."
INDEX {
dot1dBasePort
}
::= { dVlanPortIfCtrlTable 1 }
DVlanPortIfCtrlEntry ::= SEQUENCE {
dVlanPortIfMode INTEGER,
dVlanPortIfTrunkNativeVlanTagged TruthValue,
dVlanPortIfAcceptableFrameTypes INTEGER,
dVlanPortIfVlanPrecedence INTEGER,
dVlanPortIfTagAllowVlanLstFirst2K Dlink2kVlanList,
dVlanPortIfTagAllowVlanLstSecond2K Dlink2kVlanList,
dVlanPortIfUntagAllowVlanLstFirst2K Dlink2kVlanList,
dVlanPortIfUntagAllowVlanLstSecond2K Dlink2kVlanList
}
dVlanPortIfMode OBJECT-TYPE
SYNTAX INTEGER {
access(1),
hybrid(2),
trunk(3),
dot1qTunnel(4),
privateVlanHost(5),
privateVlanPromiscuous(6)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates VLAN mode for the port.
access - this port will be untagged member of the access VLAN
configured for the port.
hybrid - the port can be untagged or tagged member of all VLANs
configured by the user. The purpose of this VLAN mode is
to support protocol VLAN, MAC-based VLAN, voice VLAN and
dot1q VLAN tunnel application in access side.
trunk - this port is either tagged or untagged member port of its
native VLAN and can be tagged member of other VLANs
configured by the user. The purpose of a trunk port is to
support the switch-to-switch connection.
dot1qTunnel - the port behaves as an UNI port of a service VLAN.
privateVlanHost - the port behaves as private VLAN host port.
privateVlanPromiscuous - the port behaves as private VLAN promiscuous
port.
When VLAN mode is changed, the VLAN related setting associated
with previous mode will be lost."
::= { dVlanPortIfCtrlEntry 1 }
dVlanPortIfTrunkNativeVlanTagged OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates whether enable the tagging mode of the native
VLAN on the interface.
Note: This value is meaningful only when the VLAN mode of the port
is 'trunk'."
::= { dVlanPortIfCtrlEntry 2 }
dVlanPortIfAcceptableFrameTypes OBJECT-TYPE
SYNTAX INTEGER {
admitAll(1),
admitUntaggedAndPriority(2),
admitTagged(3)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the acceptable frame types on the interface.
'admitAll' - Permits both tagged and untagged packet.
'admitUntaggedAndPriority' - Only untagged or Priority-Tagged packets
received on this interface will be accepted and tagged packets are
dropped.
'admitTagged' - Only tagged incoming packets are permitted and untagged packets
are dropped."
::= { dVlanPortIfCtrlEntry 3 }
dVlanPortIfVlanPrecedence OBJECT-TYPE
SYNTAX INTEGER {
macVlan(1),
subnetVlan(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the VLAN classification precedence for the port.
macVlan - MAC-based VLAN classification has higher precedence than
subnet-based VLAN.
subnetVlan - subnet-based VLAN classification has higher precedence
than MAC-based VLAN.
Note: This value is meaningful only when the VLAN mode of the port
is 'hybrid' or 'dot1qTunnel'."
::= { dVlanPortIfCtrlEntry 4 }
dVlanPortIfTagAllowVlanLstFirst2K OBJECT-TYPE
SYNTAX Dlink2kVlanList
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object specifies the VLANs in a string of octets containing
one bit per VLAN for VLANs 1 to 2048.
If the bit is set to '1', then the interface is allowed to be the
VLAN's tagged member.
Note: This value is meaningful only when the VLAN mode of the port
is 'hybrid' or 'trunk'."
::= { dVlanPortIfCtrlEntry 5 }
dVlanPortIfTagAllowVlanLstSecond2K OBJECT-TYPE
SYNTAX Dlink2kVlanList
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object specifies the VLANs in a string of octets containing
one bit per VLAN for VLANs 2049 to 4094.
If the bit is set to '1', then the interface is allowed to be the
VLAN's tagged member.
Note: This value is meaningful only when the VLAN mode of the port
is 'hybrid' or 'trunk'."
::= { dVlanPortIfCtrlEntry 6 }
dVlanPortIfUntagAllowVlanLstFirst2K OBJECT-TYPE
SYNTAX Dlink2kVlanList
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object specifies the VLANs in a string of octets containing
one bit per VLAN for VLANs 1 to 2048.
If the bit is set to '1', then the interface is allowed to be the
VLAN's untagged member.
Note: This value is meaningful only when the VLAN mode of the port
is 'hybrid' or 'trunk'."
::= { dVlanPortIfCtrlEntry 7 }
dVlanPortIfUntagAllowVlanLstSecond2K OBJECT-TYPE
SYNTAX Dlink2kVlanList
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object specifies the VLANs in a string of octets containing
one bit per VLAN for VLANs 2049 to 4094.
If the bit is set to '1', then the interface is allowed to be the
VLAN's untagged member.
Note: This value is meaningful only when the VLAN mode of the port
is 'hybrid' or 'trunk'."
::= { dVlanPortIfCtrlEntry 8 }
-- -----------------------------------------------------------------------------
dVlanProtocolVlanIfCtrlTable OBJECT-TYPE
SYNTAX SEQUENCE OF DVlanProtocolVlanIfCtrlEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table provides mechanism to configure port-specific protocol
VLAN function.
This table is an extension to dot1vProtocolPortTable which is defined
at Q-BRIDGE-MIB.
An entry appears in this table for each row created at
dot1vProtocolPortTable.
"
::= { dVlanMIBObjects 5 }
dVlanProtocolVlanIfCtrlEntry OBJECT-TYPE
SYNTAX DVlanProtocolVlanIfCtrlEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table entry represents the extension configuration of protocol
VLAN profile on a port.
"
INDEX {
dot1dBasePort,
dot1vProtocolPortGroupId
}
::= { dVlanProtocolVlanIfCtrlTable 1 }
DVlanProtocolVlanIfCtrlEntry ::= SEQUENCE {
dVlanProtocolVlanPriority Unsigned32
}
dVlanProtocolVlanPriority OBJECT-TYPE
SYNTAX Unsigned32 (0..7)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the CoS of the protocol VLAN entry on the
interface."
::= { dVlanProtocolVlanIfCtrlEntry 1}
-- -----------------------------------------------------------------------------
dVlanAsymVlanStateEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object enables or disables asymmetric VLAN feature."
::= { dVlanMIBObjects 6 }
-- ***************************************************************************
-- Conformance
-- ***************************************************************************
dVlanCompliances OBJECT IDENTIFIER ::= { dVlanMIBConformance 1 }
dVlanCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-VLAN-MIB."
MODULE -- this module
MANDATORY-GROUPS {
dVlanIfCfgGroup
}
GROUP dVlanStaticMacVlanCfgGroup
DESCRIPTION
"Implementation of this group is optional."
GROUP dVlanCurrentMacVlanCfgGroup
DESCRIPTION
"Implementation of this group is optional."
GROUP dVlanSubnetVlanCfgGroup
DESCRIPTION
"Implementation of this group is optional."
GROUP dVlanProtocolVlanCfgGroup
DESCRIPTION
"Implementation of this group is optional."
GROUP dVlanAsymmetricVlanCfgGroup
DESCRIPTION
"Implementation of this group is optional."
::= { dVlanCompliances 1 }
dVlanGroups OBJECT IDENTIFIER ::= { dVlanMIBConformance 2 }
dVlanIfCfgGroup OBJECT-GROUP
OBJECTS {
dVlanPortIfMode,
dVlanPortIfTrunkNativeVlanTagged,
dVlanPortIfVlanPrecedence,
dVlanPortIfAcceptableFrameTypes,
dVlanPortIfTagAllowVlanLstFirst2K,
dVlanPortIfTagAllowVlanLstSecond2K,
dVlanPortIfUntagAllowVlanLstFirst2K,
dVlanPortIfUntagAllowVlanLstSecond2K
}
STATUS current
DESCRIPTION
"A collection of objects providing the information
and control for configuring port-specific VLAN feature."
::= { dVlanGroups 1 }
dVlanStaticMacVlanCfgGroup OBJECT-GROUP
OBJECTS {
dVlanStaticMacVlanId,
dVlanStaticMacVlanPriority,
dVlanStaticMacVlanRowStatus
}
STATUS current
DESCRIPTION
"A collection of objects provides the configuration
of MAC-based VLANs."
::= { dVlanGroups 2 }
dVlanCurrentMacVlanCfgGroup OBJECT-GROUP
OBJECTS {
dVlanCurrentMacVlanId,
dVlanCurrentMacVlanPriority
}
STATUS current
DESCRIPTION
"A collection of objects provides the running MAC-based
VLANs."
::= { dVlanGroups 3 }
dVlanSubnetVlanCfgGroup OBJECT-GROUP
OBJECTS {
dVlanSubnetVlanId,
dVlanSubnetVlanPriority,
dVlanSubnetVlanRowStatus
}
STATUS current
DESCRIPTION
"A collection of objects provides the configuration
of subnet-based VLANs."
::= { dVlanGroups 4 }
dVlanProtocolVlanCfgGroup OBJECT-GROUP
OBJECTS {
dVlanProtocolVlanPriority
}
STATUS current
DESCRIPTION
"A collection of objects provides the configuration
of protocol VLAN entrys on interfaces."
::= { dVlanGroups 5 }
dVlanAsymmetricVlanCfgGroup OBJECT-GROUP
OBJECTS {
dVlanAsymVlanStateEnabled
}
STATUS current
DESCRIPTION
"A collection of objects provides the management of
asymmetric VLAN feature."
::= { dVlanGroups 6 }
END
|