summaryrefslogtreecommitdiff
path: root/MIBS/ubiquoss/UBQS-LAG-MIB
blob: d6f1e045da2c36088702ae15eabd6c165ed3ad10 (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
-- *****************************************************************
-- UBQS-LAG-MIB.: Ubiquoss LAG MIB      
--
-- Dec 2010,   Park Hyung Eun
--   
-- Copyright (c) 2010 by Ubiquoss, Corp.
-- All rights reserved.
-- *****************************************************************
--   

UBQS-LAG-MIB DEFINITIONS ::= BEGIN

IMPORTS
    MODULE-IDENTITY,
    OBJECT-TYPE,
    NOTIFICATION-TYPE,
        FROM SNMPv2-SMI
    MODULE-COMPLIANCE,
    OBJECT-GROUP,
    NOTIFICATION-GROUP,
        FROM SNMPv2-CONF
    TEXTUAL-CONVENTION,
    RowStatus,
        FROM SNMPv2-TC
    ifIndex, InterfaceIndex,
        FROM IF-MIB   
	DisplayString, 		
		FROM RFC1213-MIB 
    UbiPortList,
  FROM UBQS-TC           
    ubiMgmtv2
        FROM UBQS-SMI;                                     
  

ubiLagMIB MODULE-IDENTITY
    LAST-UPDATED    "201012070000Z"
    ORGANIZATION  "Ubiquoss Corp."
 CONTACT-INFO
  " Ubiquoss
   Customer Service

   Postal: 24F Milennium B/D,
    467-12, Dogok-Dong,
   GangNam-Gu, Seoul 135-270
   Korea

     Tel: 82-2-2190-3100"     
 DESCRIPTION
        "Link Aggregation MIB module for managing 802.3ad"
    ::= { ubiMgmtv2 16 }

 
 
-- *****************************************************************
-- Textual Conventions
-- *****************************************************************
    UbiLagList ::= TEXTUAL-CONVENTION
     STATUS  current
     DESCRIPTION
      "The type of aggregation load-balance"
     SYNTAX  BITS
     {
      src-mac(1),
   dst-mac(2),
   src-dst-mac(3),
   src-ip(4),
   dst-ip(5),
   src-dst-ip(6),
   src-port(7),
   dst-port(8),
   src-dst-port(9)       
     }       

-- *****************************************************************
-- ubiLagMIBObjects
-- *****************************************************************

ubiLagMIBNotificationsPrefix   OBJECT IDENTIFIER  ::= { ubiLagMIB 0 }
ubiLagMIBObjects      OBJECT IDENTIFIER  ::= { ubiLagMIB 1 }        
ubiLagMIBConformance     OBJECT IDENTIFIER  ::= { ubiLagMIB 2 }
                                                                       
                                                                       
                                                                       
ubiAgg        OBJECT IDENTIFIER  ::= { ubiLagMIBObjects 1 }                                                                         
                                                                    
                
-- *****************************************************************
-- ubiLagNotification
-- *****************************************************************
                                                                      
ubiBackupIntfMIBNotifications	OBJECT IDENTIFIER ::= { ubiLagMIBNotificationsPrefix 1 }

	ubiBackupIntfSwitchover	NOTIFICATION-TYPE
		OBJECTS {                                     
			ubiReduIfIndex,  
     		ubiReduBackupIfIndex,
     		ubiReduIfName,
     		ubiReduLink,
     		ubiReduMode,
     		ubiReduRvt,
     		ubiReduBackupIf
   		}
		STATUS	current
		DESCRIPTION
			"Backup Interface Switchover Notifiaction"
		::= { ubiBackupIntfMIBNotifications 1 }
                                                                    
                
-- *****************************************************************
-- ubiAggTable
-- *****************************************************************

 ubiAggTable OBJECT-TYPE
  SYNTAX          SEQUENCE OF UbiAggEntry 
     MAX-ACCESS      not-accessible
     STATUS          current
     DESCRIPTION
         "A table that contains the generic aggregation 
         information."
     ::= { ubiAgg 1 }

   ubiAggEntry OBJECT-TYPE
     SYNTAX          UbiAggEntry
     MAX-ACCESS      not-accessible
     STATUS          current
     DESCRIPTION
         "A list of information for each aggregation."
     INDEX           { ubiLagAggId } 
     ::= { ubiAggTable 1 }
            
   UbiAggEntry ::= SEQUENCE {
         ubiAggId               Integer32,       
         ubiAggDelete   INTEGER
        }

   ubiAggId OBJECT-TYPE
     SYNTAX          Integer32
     MAX-ACCESS      read-only
     STATUS          current
     DESCRIPTION
         "Aggregation ID" 
     ::= { ubiAggEntry 1 }                 
            
   ubiAggDelete OBJECT-TYPE
     SYNTAX          INTEGER  {
      none(0),
      set(1)
     }
     MAX-ACCESS      read-write
     STATUS          current
     DESCRIPTION
         "Remove the particular aggregation. If it is success 
          to remove the entry, the corresponding port information 
          is deleted from ubiAggPortTable." 
     ::= { ubiAggEntry 2 }                    
                                                          
-- *****************************************************************
-- ubiAggPortTable
-- *****************************************************************

 ubiAggPortTable OBJECT-TYPE
  SYNTAX          SEQUENCE OF UbiAggPortEntry 
     MAX-ACCESS      not-accessible
     STATUS          current
     DESCRIPTION
         "A table that contains the aggregation port 
         information."
     ::= { ubiAgg 2 }

   ubiAggPortEntry OBJECT-TYPE
     SYNTAX          UbiAggPortEntry
     MAX-ACCESS      not-accessible
     STATUS          current
     DESCRIPTION
         "A list of information for each aggregation port."
     INDEX           { ubiLagAggId, ifIndex } 
     ::= { ubiAggPortTable 1 }

   
   UbiAggPortEntry ::= SEQUENCE {
         ubiAggPortAggMode  INTEGER,   
         ubiAggPortRowStatus  RowStatus   
        }
     
   ubiAggPortAggMode OBJECT-TYPE
     SYNTAX          INTEGER { 
      other(1),      -- none of the following 
      on(2),  
      off(3),
      active(4),
      passive(5)
     }
     MAX-ACCESS      read-create
     STATUS          current
     DESCRIPTION
         "The mode of aggregation that needed to create 
          the particular aggregation and set the aggregation 
          port." 
     ::= { ubiAggPortEntry 1 }
    
    ubiAggPortRowStatus OBJECT-TYPE
     SYNTAX          RowStatus
     MAX-ACCESS      read-create
     STATUS          current
     DESCRIPTION
         "The status of aggregation row.
          The createAndGo(4)can create the aggregation and 
          set the particular port to that aggregation.
          The destroy(6) can unset the particular port from the aggregation.
          If you want to remove the aggregation, set ubiAggDelete." 
     ::= { ubiAggPortEntry 2 }
                                           
-- *****************************************************************
-- ubiLagLoadBalanceTable
-- *****************************************************************
    ubiLagLoadBalanceTable OBJECT-TYPE
  SYNTAX          SEQUENCE OF UbiLagLoadBalanceEntry
     MAX-ACCESS      not-accessible
     STATUS          current
     DESCRIPTION
         "A table that contains the aggregation load-balance 
         information."
     ::= { ubiAgg 3 }
   
   ubiLagLoadBalanceEntry OBJECT-TYPE
     SYNTAX          UbiLagLoadBalanceEntry
     MAX-ACCESS      not-accessible
     STATUS          current
     DESCRIPTION
         "A list of information for aggregation load-balance."
        INDEX           { ubiLagLoadBalanceAggId } 
     ::= { ubiLagLoadBalanceTable 1 }
 
   UbiLagLoadBalanceEntry ::= SEQUENCE {
     ubiLagLoadBalanceAggId  INTEGER,
     ubiLagLoadBalanceMode   UbiLagList
   }

   ubiLagLoadBalanceAggId  OBJECT-TYPE
     SYNTAX   INTEGER(0..256)
     MAX-ACCESS  not-accessible
     STATUS   current
     DESCRIPTION
      "This object consists of two cases.
       First case is '0' that means global configuration. 
       In this case, all ports inside a switch are affected by 
       load-balance configured globally.
       Second case is '1-256' that means aggregator id.
       In this case, load-balance configuration affects 
       particular port only.
       Two case couldn't be used together."
     ::= { ubiLagLoadBalanceEntry 1 }
     
 ubiLagLoadBalanceMode  OBJECT-TYPE
  SYNTAX   UbiLagList
  MAX-ACCESS  read-write
  STATUS   current
  DESCRIPTION
   "The mode of port-group load-balance"
  ::= { ubiLagLoadBalanceEntry 2 }

-- *****************************************************************
-- ubiRedundancyPort
-- *****************************************************************                                                  
ubiRedundancyPort OBJECT IDENTIFIER ::= { ubiLagMIBObjects 2 } 

-- *****************************************************************
-- ubiRedundancyPortTable
-- *****************************************************************
    ubiRedundancyPortTable OBJECT-TYPE
  SYNTAX          SEQUENCE OF UbiRedundancyPortEntry
     MAX-ACCESS      not-accessible
     STATUS          current
     DESCRIPTION
         "A table that contains the redundancy port 
         information."
     ::= { ubiRedundancyPort 1 }

     ubiRedundancyPortEntry OBJECT-TYPE
     SYNTAX          UbiRedundancyPortEntry
     MAX-ACCESS      not-accessible
     STATUS          current
     DESCRIPTION
         "A list of information for redundancy prot."
        INDEX           { ubiReduIfIndex } 
     ::= { ubiRedundancyPortTable 1 }

   UbiRedundancyPortEntry ::= SEQUENCE {
     ubiReduIfIndex    	InterfaceIndex,  
     ubiReduBackupIfIndex               InterfaceIndex,
     ubiReduIfName    	DisplayString,
     ubiReduLink     	INTEGER,
     ubiReduMode     	INTEGER,
     ubiReduRvt     	INTEGER,
     ubiReduBackupIf    DisplayString,
     ubiReduStatus    	INTEGER,
     ubiReduWtr    	INTEGER,
     ubiReduHoldoff   INTEGER,
     ubiReduRowStatus   RowStatus
   }
 
   ubiReduIfIndex  OBJECT-TYPE
     SYNTAX   InterfaceIndex
     MAX-ACCESS  read-only
     STATUS   current
     DESCRIPTION
      "Ifindex of Backup Interface"
     ::= { ubiRedundancyPortEntry 1 }

    ubiReduBackupIfIndex  OBJECT-TYPE
     SYNTAX   InterfaceIndex
     MAX-ACCESS  read-write
     STATUS   current
     DESCRIPTION
      "Backup Interce Ifindex"
     ::= { ubiRedundancyPortEntry 2 }

   ubiReduIfName  OBJECT-TYPE
     SYNTAX   DisplayString
     MAX-ACCESS  read-only
     STATUS   current
     DESCRIPTION
      "interface name of Backup Interface"
     ::= { ubiRedundancyPortEntry 3 }

   ubiReduLink   OBJECT-TYPE
     SYNTAX   INTEGER
     MAX-ACCESS  read-only
     STATUS   current
     DESCRIPTION
      "Link of Backup interface
       1 : up
       2 : down
      "
     ::= { ubiRedundancyPortEntry 4 }
  
   ubiReduMode   OBJECT-TYPE
     SYNTAX   INTEGER
     MAX-ACCESS  read-only
     STATUS   current
     DESCRIPTION
      "mode of backup interface
       0 : none
       1 : primary
       2 : secondary
      "
     ::= { ubiRedundancyPortEntry 5 }     
     
   ubiReduRvt   OBJECT-TYPE
     SYNTAX   INTEGER
     MAX-ACCESS  read-only
     STATUS   current
     DESCRIPTION
      "revert mode of backup interface
       0 : Off
       1 : On
      "
     ::= { ubiRedundancyPortEntry 6 }     
     
   ubiReduBackupIf  OBJECT-TYPE
     SYNTAX   DisplayString
     MAX-ACCESS  read-only
     STATUS   current
     DESCRIPTION
      "backup interface name of backup interface"
     ::= { ubiRedundancyPortEntry 7 }
     
   ubiReduStatus  OBJECT-TYPE
     SYNTAX   INTEGER
     MAX-ACCESS  read-only
     STATUS   current
     DESCRIPTION
      "state of backup interface
      0 : none
      1 : normal operation
      2 : backup mode
      3 : wait to backup
      4 : wait to revert
      5 : both down
      6 : disable
      "
     ::= { ubiRedundancyPortEntry 8 }
                                                    
   ubiReduWtr   OBJECT-TYPE
     SYNTAX   INTEGER
     MAX-ACCESS  read-write
     STATUS   current
     DESCRIPTION
      "Wtr of backup interface
      1..720 : Set
      0 : Unset
      "
     ::= { ubiRedundancyPortEntry 9 }

   ubiReduHoldoff   OBJECT-TYPE
     SYNTAX   INTEGER
     MAX-ACCESS  read-write
     STATUS   current
     DESCRIPTION
      "Holdoff of backup interface
      1..10 : Set
      0 : Unset"
     ::= { ubiRedundancyPortEntry 10 }

   ubiReduRowStatus  OBJECT-TYPE
     SYNTAX   RowStatus
     MAX-ACCESS  read-create
     STATUS   current
     DESCRIPTION
      "The status of backup interface row.
       The createAndGo(4)can create the backup interface and 
       set the particular port to that backup interface.
       The destroy(6) can unset the particular port from the backup interface.
       If you want to remove the backup interface, set backup interface Delete."
     ::= { ubiRedundancyPortEntry 11 }
     
-- *****************************************************************
-- ubiLagMIBConformance
-- *****************************************************************

-- Conformance Information
ubiLagMIBCompliances   OBJECT IDENTIFIER  ::= { ubiLagMIBConformance 1 }
ubiLagMIBGroups    OBJECT IDENTIFIER  ::= { ubiLagMIBConformance 2 }


-- compliance statements

 ubiLagMIBCompliance MODULE-COMPLIANCE
     STATUS          current
     DESCRIPTION
         "The compliance statement for Lag implementations."
     MODULE          -- this module
     MANDATORY-GROUPS {      
        ubiAggGroup       
        }
     ::= { ubiLagMIBCompliances 1 }

-- units of conformance

 ubiAggGroup OBJECT-GROUP
     OBJECTS         {     
      ubiAggDelete,
      ubiAggId,   
         ubiAggAdminStatus,   
         ubiAggRowStatus  
        }
     STATUS          current
     DESCRIPTION
         "A collection of objects that provide aggregation 
          creation or deletion."
     ::= { ubiLagMIBGroups 1 }

END