summaryrefslogtreecommitdiff
path: root/MIBS/fs/GBNServiceMACAUTHEN-MIB
blob: e9a9d71d1696a89eca8473ae1910be7b39cb756a (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
    GBNServiceMACAUTHEN-MIB DEFINITIONS ::= BEGIN

    IMPORTS
        MODULE-IDENTITY, OBJECT-TYPE,
        Integer32, IpAddress,
        NOTIFICATION-TYPE                       FROM SNMPv2-SMI

        DisplayString, MacAddress,
        RowStatus, TruthValue                   FROM SNMPv2-TC
        
        MODULE-COMPLIANCE, OBJECT-GROUP         FROM SNMPv2-CONF
        
        gbnServiceAAA                           FROM ADMIN-MASTER-MIB
        ;
        

    gbnMacAuthenMib MODULE-IDENTITY
        LAST-UPDATED    "201006010000Z"  -- Jun 01, 2010
        ORGANIZATION    "Admin"
        CONTACT-INFO    "Admin
                         E-mail: support@Admin.com"

        DESCRIPTION     "gbn macauthen Enterprise MIB definition."

        REVISION        "201006010000Z"  -- Jun 01, 2010
        DESCRIPTION     "Initial MIB creation."

        ::= { gbnServiceAAA 4 }


------------------------------------------------------------------------------
--  Textual Conventions (i.e., these do not affect object encoding):
------------------------------------------------------------------------------
    --
    --  "DURABLE":
    --    Objects that are saved across a system reset and/or power cycle
    --    are noted as "DURABLE" for convenience in the DESCRIPTION
    --    section of the object definition.  Code must be explicitly
    --    written to implement these DURABLE objects.
    --

------------------------------------------------------------------------------
--  define groups in gbn-TACACS-MIB
        globalEnable OBJECT-TYPE
        SYNTAX TruthValue
        MAX-ACCESS read-write
        STATUS current
        DESCRIPTION
            "global config of mac-authentication.default is false."
        ::= { gbnMacAuthenMib 1 }

        radiusDomain OBJECT-TYPE
        SYNTAX DisplayString (SIZE (0..24))
        MAX-ACCESS read-write
        STATUS current
        DESCRIPTION
            "domain name of radius domain.use size 0 to delete.default is size 0,indicating none."
        ::= { gbnMacAuthenMib 2 }

        offlineTimer OBJECT-TYPE
        SYNTAX Integer32 (30..3600)
        MAX-ACCESS read-write
        STATUS current
        DESCRIPTION
            "offline time of mac.unit is second.default is 300 seconds."
        ::= { gbnMacAuthenMib 3 }

        quietTimer OBJECT-TYPE
        SYNTAX Integer32 (30..3600)
        MAX-ACCESS read-write
        STATUS current
        DESCRIPTION
            "quiet time of mac.unit is second.default is 60 secondsl"
        ::= { gbnMacAuthenMib 4 }

        userMode OBJECT-TYPE
              SYNTAX  INTEGER {
                          fixed(1),       -- use fixed name and password
                          macaddress(0)   -- use mac-address
                      }
        MAX-ACCESS read-write
        STATUS current
        DESCRIPTION
            "how to make username and password of radius.default is macaddress(0)."
        ::= { gbnMacAuthenMib 5 }

        userName OBJECT-TYPE
        SYNTAX DisplayString (SIZE (0..63))
        MAX-ACCESS read-write
        STATUS current
        DESCRIPTION
            "username when usermode is fiexed.use size 0 to delete.default is size 0,indicating none."
        ::= { gbnMacAuthenMib 6 }

        password OBJECT-TYPE
        SYNTAX DisplayString (SIZE (0..63))
        MAX-ACCESS read-write
        STATUS current
        DESCRIPTION
            "password when usermode is fiexed.use size 0 to delete.default is size 0,indicating none."
        ::= { gbnMacAuthenMib 7 }

	macAuthenPortTable OBJECT-TYPE
	    SYNTAX      SEQUENCE OF MacAuthenPortEntry
	    MAX-ACCESS  not-accessible
	    STATUS      current
	    DESCRIPTION
	        "table of information of ports."
	    REFERENCE
	        "9.6.1"
	    ::= { gbnMacAuthenMib 8 }

	macAuthenPortEntry OBJECT-TYPE
	    SYNTAX      MacAuthenPortEntry
	    MAX-ACCESS  not-accessible
	    STATUS      current
	    DESCRIPTION
	        "table of information of ports."
	    INDEX { macAuthenPortNumber }
	    ::= { macAuthenPortTable 1 }

	MacAuthenPortEntry ::=
	    SEQUENCE {
	        macAuthenPortNumber
	            Unsigned32,
	        macAuthenEnable
	            TruthValue,
	        guestVlan
	            Integer32,
	        maxUsers
	            Integer32,
	        rateLimit
	            Integer32,
	        rateLimitTimer
	            Integer32,
	        uplink
	            TruthValue
	        }

	macAuthenPortNumber OBJECT-TYPE
	    SYNTAX      Unsigned32
	    MAX-ACCESS  read-only
	    STATUS      current
	    DESCRIPTION
	        "The Port number associated with this Port."
	    REFERENCE
	        "9.6.1, Port number"
	    ::= { macAuthenPortEntry 1 }


	macAuthenEnable OBJECT-TYPE
	    SYNTAX      TruthValue
	    MAX-ACCESS  read-write
	    STATUS      current
	    DESCRIPTION
	        "Enable/disable mac-authentication of this Port.default is disabled."
	    REFERENCE
	        "9.6.1, Protocol version"
	    ::= { macAuthenPortEntry 2 }

     guestVlan OBJECT-TYPE
        SYNTAX Integer32 (0..4094)
        MAX-ACCESS read-write
        STATUS current
        DESCRIPTION
            "guest vlan.0 is disable.default is 0."
	    ::= { macAuthenPortEntry 3 }

     maxUsers OBJECT-TYPE
        SYNTAX Integer32 (1..256)
        MAX-ACCESS read-write
        STATUS current
        DESCRIPTION
            "maximum users.range is from 1 to 256.default is 256."
	    ::= { macAuthenPortEntry 4 }
	    
     rateLimit OBJECT-TYPE
        SYNTAX Integer32 (10..300)
        MAX-ACCESS read-write
        STATUS current
        DESCRIPTION
            "rate limit of authentition packets.when reach this value, the port can not authenticate users, is in block state.range is form 10 to 300.default is 300 packets per sencond"
	    ::= { macAuthenPortEntry 5 }

     rateLimitTimer OBJECT-TYPE
        SYNTAX Integer32 (30..3600)
        MAX-ACCESS read-write
        STATUS current
        DESCRIPTION
            "when port is in block state because ratelimit, after this timer ,port turns to normal state..default is 60"
	    ::= { macAuthenPortEntry 6 }

     uplink OBJECT-TYPE
        SYNTAX TruthValue
        MAX-ACCESS read-write
        STATUS current
        DESCRIPTION
            "uplink port of vlan"
	    ::= { macAuthenPortEntry 7 }

        encrptionMode OBJECT-TYPE
              SYNTAX  INTEGER {
                          chap(1),       -- use chap
                          pap(0)   -- use pap
                      }
        MAX-ACCESS read-write
        STATUS current
        DESCRIPTION
            "radius password encrption mode,default is pap."
        ::= { gbnMacAuthenMib 9 }

        macvlanEnable OBJECT-TYPE
        SYNTAX TruthValue
        MAX-ACCESS read-write
        STATUS current
        DESCRIPTION
            "whethe to use mac vlan function.default is false."
        ::= { gbnMacAuthenMib 10 }

        questVlanReauthTimer OBJECT-TYPE
        SYNTAX Integer32 (30..3600)
        MAX-ACCESS read-write
        STATUS current
        DESCRIPTION
            "guestvlan users reauthentication timer .unit is second.range is from 30 to 3600.default is 30 secondsl"
        ::= { gbnMacAuthenMib 11 }

	macUsersTable OBJECT-TYPE
	    SYNTAX      SEQUENCE OF MacUsersEntry
	    MAX-ACCESS  not-accessible
	    STATUS      current
	    DESCRIPTION
	        "table of information of users."
	    REFERENCE
	        "9.6.1"
	    ::= { gbnMacAuthenMib 12 }

	macUsersEntry OBJECT-TYPE
	    SYNTAX      MacUsersEntry
	    MAX-ACCESS  not-accessible
	    STATUS      current
	    DESCRIPTION
	        "table of information of users."
	    INDEX { userMac }
	    ::= { macUsersTable 1 }

	MacUsersEntry ::=
	    SEQUENCE {
	        userMac
	            MacAddress,
	        userState
	            Unsigned32,
	        userPort
	            Unsigned32,
	        userVlan
	            Integer32,
	        userInGuestVlan
	        	TruthValue,
	        userPriority
	        	Integer32,
	        userAcl
	            DisplayString,
	        userRate
	            Integer32,            
	        userPeakRate
	            Integer32,            
	        userBasicRate
	            Integer32
	        }

	userMac OBJECT-TYPE
	    SYNTAX      MacAddress
	    MAX-ACCESS  read-only
	    STATUS      current
	    DESCRIPTION
	        "user macaddress."
	    ::= { macUsersEntry 1 }

	userState OBJECT-TYPE
	    SYNTAX      Unsigned32
	    MAX-ACCESS  read-only
	    STATUS      current
	    DESCRIPTION
	        "user state.bit 0:quiet state,bit 1:authenticating state,bit 2:authenticated state, bit 3:off-line detecting state"
	    ::= { macUsersEntry 2 }

	userPort OBJECT-TYPE
	    SYNTAX      Unsigned32
	    MAX-ACCESS  read-only
	    STATUS      current
	    DESCRIPTION
	        "the port number of this user belongs to.start form 1"
	    ::= { macUsersEntry 3 }

	userVlan OBJECT-TYPE
	    SYNTAX      Integer32 (1..4094)
	    MAX-ACCESS  read-only
	    STATUS      current
	    DESCRIPTION
	        "the vlan number of this user belongs to."
	    ::= { macUsersEntry 4 }

	userInGuestVlan OBJECT-TYPE
	    SYNTAX      TruthValue
	    MAX-ACCESS  read-only
	    STATUS      current
	    DESCRIPTION
	        "whether user is in guest vlan."
	    ::= { macUsersEntry 5 }

	userPriority OBJECT-TYPE
	    SYNTAX      Integer32 (0..7)
	    MAX-ACCESS  read-only
	    STATUS      current
	    DESCRIPTION
	        "the priority of this user belongs to."
	    ::= { macUsersEntry 6 }

	userAcl OBJECT-TYPE
	    SYNTAX      DisplayString (SIZE (0..63))
	    MAX-ACCESS  read-only
	    STATUS      current
	    DESCRIPTION
	        "the acl name of this user belongs to."
	    ::= { macUsersEntry 7 }

	userRate OBJECT-TYPE
	    SYNTAX      Integer32
	    MAX-ACCESS  read-only
	    STATUS      current
	    DESCRIPTION
	        "average bandwith of this user.unit is kbps"
	    ::= { macUsersEntry 8 }

	userPeakRate OBJECT-TYPE
	    SYNTAX      Integer32
	    MAX-ACCESS  read-only
	    STATUS      current
	    DESCRIPTION
	        "peak bandwith of this user.unit is kbps"
	    ::= { macUsersEntry 9 }

	userBasicRate OBJECT-TYPE
	    SYNTAX      Integer32
	    MAX-ACCESS  read-only
	    STATUS      current
	    DESCRIPTION
	        "basic bandwith of this user.unit is kbps"
	    ::= { macUsersEntry 10 }

--
-- END of gbn-MACAUTHEN-MIB                
--

END