summaryrefslogtreecommitdiff
path: root/MIBS/dlink/DLINKSW-VOICE-VLAN-MIB
blob: d52acf7155f0704eacc95b07ee8eece675f71e6b (plain)
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
--  *****************************************************************
--  DLINKSW-VOICE-VLAN-MIB.mib : Voice VLAN MIB
--
--  Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
--  *****************************************************************
DLINKSW-VOICE-VLAN-MIB DEFINITIONS ::= BEGIN

    IMPORTS
        MODULE-IDENTITY,OBJECT-TYPE,Unsigned32
            FROM SNMPv2-SMI
        MODULE-COMPLIANCE, OBJECT-GROUP
            FROM SNMPv2-CONF
        MacAddress, TruthValue, RowStatus, DateAndTime
            FROM SNMPv2-TC
        PortList, VlanIdOrNone
            FROM Q-BRIDGE-MIB
        InterfaceIndex
            FROM IF-MIB
        SnmpAdminString
            FROM SNMP-FRAMEWORK-MIB
        dlinkIndustrialCommon
            FROM DLINK-ID-REC-MIB 
        LldpPortNumber, LldpChassisIdSubtype, LldpChassisId, LldpPortIdSubtype,
        LldpPortId
            FROM LLDP-MIB;


    dlinkSwVoiceVlanMIB MODULE-IDENTITY
        LAST-UPDATED "201304260000Z"
        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
            "The MIB module for managing voice VLAN feature."
        REVISION        "201304260000Z"
        DESCRIPTION
            "Initial version of this MIB module."
        ::= { dlinkIndustrialCommon 74}

-- -----------------------------------------------------------------------------
-- Node definitions
-- -----------------------------------------------------------------------------

    dVoiceVlanMIBNotifications  OBJECT IDENTIFIER ::= { dlinkSwVoiceVlanMIB 0 }
    dVoiceVlanMIBObjects        OBJECT IDENTIFIER ::= { dlinkSwVoiceVlanMIB 1 }
    dVoiceVlanMIBConformance    OBJECT IDENTIFIER ::= { dlinkSwVoiceVlanMIB 2 }

-- -----------------------------------------------------------------------------
-- dVoiceVlanGlobal
-- -----------------------------------------------------------------------------
    dVoiceVlanGlobal    OBJECT IDENTIFIER ::= { dVoiceVlanMIBObjects 1 }

    dVoiceVlanVlanId OBJECT-TYPE
        SYNTAX          VlanIdOrNone
        MAX-ACCESS      read-write
        STATUS          current
        DESCRIPTION
            "The object specifies the voice VLAN on a switch.
            A value of zero indicates that no voice VLAN has been
            configured.
            It is required to configure the global dVoiceVlanVlanId and enable
            dVoiceVlanIfEnabled to start the voice VLAN function
            on a port."
        DEFVAL          { 0 }
        ::= { dVoiceVlanGlobal 1 }

    dVoiceVlanQos OBJECT-TYPE
        SYNTAX          Unsigned32 (0..7)
        MAX-ACCESS      read-write
        STATUS          current
        DESCRIPTION
            "The priority for the voice VLAN, which is used to distinguish
            the QoS of the voice traffic from data traffic."
        DEFVAL          { 5 }
        ::= { dVoiceVlanGlobal 2 }

    dVoiceVlanAgingTime OBJECT-TYPE
        SYNTAX          Unsigned32 (1..65535)
        UNITS           "minutes"
        MAX-ACCESS      read-write
        STATUS          current
        DESCRIPTION
            "The aging time for the voice VLAN, for aging out the voice
            device and the voice VLAN automatically learned member ports."
        DEFVAL          { 720 }
        ::= { dVoiceVlanGlobal 3 }

    dVoiceVlanOuiTable OBJECT-TYPE
        SYNTAX          SEQUENCE OF DVoiceVlanOuiEntry
        MAX-ACCESS      not-accessible
        STATUS current
        DESCRIPTION
            "This table contains the voice VLAN OUI configuration."
        ::= { dVoiceVlanGlobal 4 }

    dVoiceVlanOuiEntry OBJECT-TYPE
        SYNTAX          DVoiceVlanOuiEntry
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
            "An entry indicates an OUI information, which is used to classify
            voice traffic into the voice VLAN. If the source MAC addresses of
            the received packet matches any of the OUI pattern, the received
            packet is determined as voice packet. "
        INDEX { dVoiceVlanOuiAddr, dVoiceVlanOuiMask}
        ::= { dVoiceVlanOuiTable 1 }

    DVoiceVlanOuiEntry ::=
        SEQUENCE {
            dVoiceVlanOuiAddr       MacAddress,
            dVoiceVlanOuiMask       MacAddress,
            dVoiceVlanOuiDes        SnmpAdminString,
            dVoiceVlanOuiRowStatus  RowStatus
        }

    dVoiceVlanOuiAddr OBJECT-TYPE
        SYNTAX          MacAddress
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
            "The MAC address of the OUI referring to this VoiceVlanOuiEntry."
        ::= { dVoiceVlanOuiEntry 1 }

    dVoiceVlanOuiMask OBJECT-TYPE
        SYNTAX          MacAddress
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
            "Indicates the OUI MAC address matching bitmask."
        ::= { dVoiceVlanOuiEntry 2 }

    dVoiceVlanOuiDes OBJECT-TYPE
        SYNTAX          SnmpAdminString (SIZE (0..32))
        MAX-ACCESS      read-create
        STATUS          current
        DESCRIPTION
            "The description of the OUI. A zero length string of this object indicates
            there is no description for this OUI."
        ::= { dVoiceVlanOuiEntry 3 }

    dVoiceVlanOuiRowStatus  OBJECT-TYPE
        SYNTAX          RowStatus
        MAX-ACCESS      read-create
        STATUS          current
        DESCRIPTION
            "This object indicates the status of this entry."
        ::= { dVoiceVlanOuiEntry 4 }

-- -----------------------------------------------------------------------------
    dVoiceVlanInterface OBJECT IDENTIFIER ::= { dVoiceVlanMIBObjects 2 }

    dVoiceVlanInterfaceTable OBJECT-TYPE
        SYNTAX          SEQUENCE OF DVoiceVlanInterfaceEntry
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
            "This table contains the interface-specific voice VLAN parameters."
        ::= { dVoiceVlanInterface 1 }

    dVoiceVlanInterfaceEntry OBJECT-TYPE
        SYNTAX          DVoiceVlanInterfaceEntry
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
            "An entry indicates the voice VLAN parameters for a port/port-channel."
        INDEX { dVoiceVlanIfIndex }
        ::= { dVoiceVlanInterfaceTable 1 }

    DVoiceVlanInterfaceEntry ::=
        SEQUENCE {
            dVoiceVlanIfIndex       InterfaceIndex,
            dVoiceVlanIfEnabled       TruthValue,
            dVoiceVlanIfMode        INTEGER
        }

    dVoiceVlanIfIndex OBJECT-TYPE
        SYNTAX          InterfaceIndex
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
            "Indicates the ifIndex of the physical port/port-channel interface."
        ::= { dVoiceVlanInterfaceEntry 1 }

    dVoiceVlanIfEnabled OBJECT-TYPE
        SYNTAX          TruthValue
        MAX-ACCESS      read-write
        STATUS          current
        DESCRIPTION
            "Indicates whether the voice VLAN is enabled at the port."
        ::= { dVoiceVlanInterfaceEntry 2 }

    dVoiceVlanIfMode OBJECT-TYPE
        SYNTAX          INTEGER{
            autoUntagged(1),
            autoTagged(2),
            manual(3)
        }
        MAX-ACCESS      read-write
        STATUS          current
        DESCRIPTION
            "If auto learning is enabled, the port will be automatically learned
            as voice VLAN member.
            When the port is working in auto tagged mode, and the port captures
            a voice device through the device's OUI, it will join the voice VLAN
            as a tagged member automatically. When the voice device sends tagged
            packets, the switch will change its priority. When the voice device
            sends untagged packets, it will forward them in port's PVID VLAN.
            When the port is working in auto untagged mode, and the port captures
            a voice device through the device's OUI, it will join the voice VLAN
            as an untagged member automatically. When the voice device sends tagged
            packets, the switch will change its priority. When the voice device
            sends untagged packets, it will forward them in voice VLAN." 
        ::= { dVoiceVlanInterfaceEntry 3 }

-- -----------------------------------------------------------------------------
    dVoiceVlanInfo      OBJECT IDENTIFIER ::= { dVoiceVlanMIBObjects 3 }

    dVoiceVlanMemberPorts OBJECT-TYPE
        SYNTAX      PortList
        MAX-ACCESS  read-only
        STATUS      current
        DESCRIPTION
            "The voice VLAN's member ports, includes the dynamically
            learned ports."
        ::= { dVoiceVlanInfo 1 }

    dVoiceVlanDynamicMemberPorts OBJECT-TYPE
        SYNTAX      PortList
        MAX-ACCESS  read-only
        STATUS      current
        DESCRIPTION
            "The voice VLAN's dynamically learned member ports."
        ::= { dVoiceVlanInfo 2 }

    dVoiceVlanDeviceTable OBJECT-TYPE
        SYNTAX          SEQUENCE OF DVoiceVlanDeviceEntry
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
            "This table contains the information about the learned voice devices."
        ::= { dVoiceVlanInfo 3 }

    dVoiceVlanDeviceEntry OBJECT-TYPE
        SYNTAX          DVoiceVlanDeviceEntry
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
            "Indicates the information of the connected voice device."
        INDEX {
            dVoiceVlanDevicePortIfindex,
            dVoiceVlanDeviceAddr }
        ::= { dVoiceVlanDeviceTable 1 }

    DVoiceVlanDeviceEntry ::=
        SEQUENCE {
            dVoiceVlanDevicePortIfindex     InterfaceIndex,
            dVoiceVlanDeviceAddr            MacAddress,
            dVoiceVlanDeviceStartTime       DateAndTime,
            dVoiceVlanDeviceStatus          INTEGER
        }

    dVoiceVlanDevicePortIfindex OBJECT-TYPE
        SYNTAX          InterfaceIndex
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
            "Indicates the ifIndex of the port to which the voice device connects."
        ::= { dVoiceVlanDeviceEntry 1 }

    dVoiceVlanDeviceAddr OBJECT-TYPE
        SYNTAX          MacAddress
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
            "Indicates the MAC address of the voice device."
        ::= { dVoiceVlanDeviceEntry 2 }

     dVoiceVlanDeviceStartTime OBJECT-TYPE
        SYNTAX          DateAndTime
        MAX-ACCESS      read-only
        STATUS          current
        DESCRIPTION
            "Indicates the start time of the connected voice device."
        ::= { dVoiceVlanDeviceEntry 3 }

    dVoiceVlanDeviceStatus OBJECT-TYPE
        SYNTAX          INTEGER{
            active(1),
            aging(2)
        }
        MAX-ACCESS      read-only
        STATUS          current
        DESCRIPTION
            "Indicates the status of the connected voice device."
        ::= { dVoiceVlanDeviceEntry 4 }

-- -----------------------------------------------------------------------------        
    dVoiceVlanLldpMedDeviceTable OBJECT-TYPE
        SYNTAX          SEQUENCE OF DVoiceVlanLldpMedDeviceEntry
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
            "This table contains the voice devices that are learned through LLDP-MED."
        ::= { dVoiceVlanInfo 4 }

    dVoiceVlanLldpMedDeviceEntry OBJECT-TYPE
        SYNTAX          DVoiceVlanLldpMedDeviceEntry
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
            "An entry contains the information of a voice device learned through
            LLDP-MED."
        INDEX { dVoiceVlanLldpMedDeviceIndex }
        ::= { dVoiceVlanLldpMedDeviceTable 1 }      
        
    DVoiceVlanLldpMedDeviceEntry ::=
        SEQUENCE {
            dVoiceVlanLldpMedDeviceIndex                Unsigned32,
            dVoiceVlanLldpMedDeviceLocalPort            LldpPortNumber,
            dVoiceVlanLldpMedDevChIdSubtype             LldpChassisIdSubtype,
            dVoiceVlanLldpMedDevChassisId               LldpChassisId,
            dVoiceVlanLldpMedDevPoIdSubtype             LldpPortIdSubtype,
            dVoiceVlanLldpMedDevicePortId               LldpPortId,             
            dVoiceVlanLldpMedDevCreateTime              DateAndTime,
            dVoiceVlanLldpMedDevRemainTime              Unsigned32
        }
            
    dVoiceVlanLldpMedDeviceIndex OBJECT-TYPE
        SYNTAX          Unsigned32 (1..4294967295)
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
            "The local index used to identify the entry."
        ::= { dVoiceVlanLldpMedDeviceEntry 1 }
 
    dVoiceVlanLldpMedDeviceLocalPort OBJECT-TYPE
        SYNTAX          LldpPortNumber
        MAX-ACCESS      read-only
        STATUS          current
        DESCRIPTION
            "This object indicates the local port number on which the voice
            device is learned."
        ::= { dVoiceVlanLldpMedDeviceEntry 2 }
        
    dVoiceVlanLldpMedDevChIdSubtype OBJECT-TYPE
        SYNTAX          LldpChassisIdSubtype
        MAX-ACCESS      read-only
        STATUS          current
        DESCRIPTION
            "The type of encoding used to identify the chassis associated with
            the voice device."  
        REFERENCE 
            "IEEE Std 802.1AB-2005 9.5.2.2"
        ::= { dVoiceVlanLldpMedDeviceEntry 3 }   
            
    dVoiceVlanLldpMedDevChassisId OBJECT-TYPE
        SYNTAX          LldpChassisId
        MAX-ACCESS      read-only
        STATUS          current
        DESCRIPTION
            "The string value used to identify the chassis component associated
            with the voice device."
        REFERENCE 
            "IEEE Std 802.1AB-2005 9.5.2.3"
        ::= { dVoiceVlanLldpMedDeviceEntry 4 }
   
    dVoiceVlanLldpMedDevPoIdSubtype OBJECT-TYPE
        SYNTAX          LldpPortIdSubtype
        MAX-ACCESS      read-only
        STATUS          current
        DESCRIPTION
            "The type of port identifier encoding used to identify the port component
            associated with the voice device." 
        REFERENCE 
            "IEEE Std 802.1AB-2005 9.5.3.2"
        ::= { dVoiceVlanLldpMedDeviceEntry 5 }   
            
    dVoiceVlanLldpMedDevicePortId OBJECT-TYPE
        SYNTAX          LldpPortId
        MAX-ACCESS      read-only
        STATUS          current
        DESCRIPTION
            "The string value used to identify the port component associated with
            the voice device."  
        REFERENCE 
            "IEEE Std 802.1AB-2005 9.5.3.3"
        ::= { dVoiceVlanLldpMedDeviceEntry 6 }

    dVoiceVlanLldpMedDevCreateTime OBJECT-TYPE
        SYNTAX          DateAndTime
        MAX-ACCESS      read-only
        STATUS          current
        DESCRIPTION
            "The creation time of the voice device."
        ::= { dVoiceVlanLldpMedDeviceEntry 7}   
            
    dVoiceVlanLldpMedDevRemainTime OBJECT-TYPE
        SYNTAX          Unsigned32
        UNITS           "seconds"
        MAX-ACCESS      read-only
        STATUS          current
        DESCRIPTION
            "The Time-To-Live (in seconds) remaining for the voice device. 
            If the Remain Time decreases to 0, the voice device will be deleted."
        ::= { dVoiceVlanLldpMedDeviceEntry 8}
    

-- -----------------------------------------------------------------------------
-- MIB Conformance statements
-- -----------------------------------------------------------------------------
    dVoiceVlanMIBCompliances  OBJECT IDENTIFIER
        ::= { dVoiceVlanMIBConformance 1 }

    dVoiceVlanMIBGroups  OBJECT IDENTIFIER
        ::= { dVoiceVlanMIBConformance 2 }

    dVoiceVlanMIBCompliance MODULE-COMPLIANCE
        STATUS          current
        DESCRIPTION
            "The compliance statement for entities which implement the
            DLINKSW-VOICE-VLAN-MIB."
        MODULE          -- this module
        MANDATORY-GROUPS  {   dVoiceVlanBasicGroup  }

        GROUP dVoiceVlanOUICfgGroup
        DESCRIPTION
            "This group is required for entities that implement classifying
            voice traffic based on OUI patterns."

        GROUP dVoiceVlanDeviceInfoGroup
        DESCRIPTION
            "This group is required for entities that display voice vlan
            device infomation."
        
        GROUP dVoiceVlanDeviceLldpMedInfoGroup
        DESCRIPTION
            "This group is optional."

        ::= { dVoiceVlanMIBCompliances 1 }
          
    dVoiceVlanBasicGroup OBJECT-GROUP
        OBJECTS {
            dVoiceVlanVlanId,
            dVoiceVlanQos,
            dVoiceVlanAgingTime,
            dVoiceVlanIfEnabled,
            dVoiceVlanIfMode,
            dVoiceVlanMemberPorts,
            dVoiceVlanDynamicMemberPorts}
        STATUS current
        DESCRIPTION
            "A collection of objects to configure or display the status
            of voice VLAN feature."
        ::= { dVoiceVlanMIBGroups 1 }

    dVoiceVlanOUICfgGroup OBJECT-GROUP
        OBJECTS {
            dVoiceVlanOuiDes,
            dVoiceVlanOuiRowStatus }
        STATUS current
        DESCRIPTION
            "A collection of objects to configure voice device OUI(s)."
        ::= { dVoiceVlanMIBGroups 2 }
     
    dVoiceVlanDeviceInfoGroup OBJECT-GROUP
        OBJECTS {
            dVoiceVlanDeviceStartTime,
            dVoiceVlanDeviceStatus
        }
        STATUS current
        DESCRIPTION
            "A collection of objects to display voice device(s)."
        ::= { dVoiceVlanMIBGroups 3 }
    
    dVoiceVlanDeviceLldpMedInfoGroup OBJECT-GROUP
        OBJECTS {
            dVoiceVlanLldpMedDeviceLocalPort,
            dVoiceVlanLldpMedDevChIdSubtype,
            dVoiceVlanLldpMedDevChassisId,
            dVoiceVlanLldpMedDevPoIdSubtype,
            dVoiceVlanLldpMedDevicePortId,
            dVoiceVlanLldpMedDevCreateTime,
            dVoiceVlanLldpMedDevRemainTime  
        }
        STATUS current
        DESCRIPTION
            "A collection of objects displays information learned via LLDP-MED."
        ::= { dVoiceVlanMIBGroups 4 } 

 
END