summaryrefslogtreecommitdiff
path: root/MIBS/transition/TN-SECURITY-AAA-MIB
blob: 9992ad95f643ae1d4cf97ed4971a2840d7155d4b (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
-- *****************************************************************
-- Transition Networks Security AAA MIB
--
-- Copyright (C) 2012  Transition Networks, Inc. All Rights Reserved.
-- *****************************************************************

TN-SECURITY-AAA-MIB DEFINITIONS ::= BEGIN

IMPORTS
    DisplayString, TruthValue
        FROM SNMPv2-TC
    InetAddressType, InetAddress
        FROM INET-ADDRESS-MIB
    Counter32, Unsigned32
        FROM SNMPv2-SMI
    tnDevMgmt 
        FROM TN-MGMT-MIB;

TnAAAProtocol ::= TEXTUAL-CONVENTION
        STATUS         current
        DESCRIPTION    "Protocol used with this server.
                            tacacsplus(1) - TACACS+
                            radius(2)     - RADIUS
                       "
        REFERENCE      "RFC 2138 Remote Authentication Dial In User Service
                        RFC 2139 RADIUS Accounting 
                        The TACACS+ Protocol Version 1.78, Internet Draft"
        SYNTAX         INTEGER {
                           tacacsplus (1),
                           radius     (2)
                       }

TnAAAType ::= TEXTUAL-CONVENTION
        STATUS         current
        DESCRIPTION    "Type used with this server.
                           authentication (1),
                           authorization  (2),
                           accounting     (3)
                       "
        REFERENCE      "RFC 2138 Remote Authentication Dial In User Service
                        RFC 2139 RADIUS Accounting 
                        The TACACS+ Protocol Version 1.78, Internet Draft"
        SYNTAX         INTEGER {
                           authentication (1),
                           authorization  (2),
                           accounting     (3)
                       }

tnSecurityAAAMIB OBJECT IDENTIFIER ::= { tnDevMgmt 20 }


--
-- Mib variables
--

tnAAAServerTimeout OBJECT-TYPE
    SYNTAX         INTEGER (3..3600)
    UNITS          "seconds"
    MAX-ACCESS     read-write
    STATUS         current
    DESCRIPTION    "Common Configuration Server Timeout (seconds)."
    DEFVAL         { 15 }
    ::= { tnSecurityAAAMIB 1 }

tnAAAServerDeadTime OBJECT-TYPE
    SYNTAX         INTEGER (0..3600)
    UNITS          "seconds"
    MAX-ACCESS     read-write
    STATUS         current
    DESCRIPTION    "Common Configuration Server Dead Time (seconds)."
    DEFVAL         { 300 }
    ::= { tnSecurityAAAMIB 2 }
--
-- tnAAAServerTable
--

tnAAAServerTable OBJECT-TYPE
    SYNTAX         SEQUENCE OF TnAAAServerEntry
    MAX-ACCESS     not-accessible
    STATUS         current
    DESCRIPTION    "AAA Server Table"
    ::= { tnSecurityAAAMIB 3 }

tnAAAServerEntry OBJECT-TYPE
    SYNTAX         TnAAAServerEntry
    MAX-ACCESS     not-accessible
    STATUS         current
    DESCRIPTION    "Each entry represents a Server on a device."
    INDEX          { tnAAAProtocol, tnAAAType, tnAAAServerIndex }
    ::= { tnAAAServerTable 1 }

TnAAAServerEntry ::= SEQUENCE {
    tnAAAProtocol             TnAAAProtocol,
    tnAAAType                 TnAAAType,
    tnAAAServerIndex          Unsigned32,
    tnAAAServerEnable         TruthValue,
    tnAAAServerAddrType       InetAddressType,
    tnAAAServerAddr           InetAddress,
    tnAAAServerPort           INTEGER,
    tnAAAServerSecret         DisplayString
}

tnAAAProtocol OBJECT-TYPE
        SYNTAX         TnAAAProtocol
        MAX-ACCESS     not-accessible
        STATUS         current
        DESCRIPTION    "The variable denotes the protocol used by the
                        managed device with the AAA server corresponding to
                        this entry in the table."
       ::= { tnAAAServerEntry 1 }

tnAAAType OBJECT-TYPE
        SYNTAX         TnAAAType
        MAX-ACCESS     not-accessible
        STATUS         current
        DESCRIPTION    "AAA commonly stands for authentication, authorization and accounting.
                        It refers to a security architecture for distributed systems,
                        which enables control over which users are allowed access to which services,
                        and how much of the resources they have used."
       ::= { tnAAAServerEntry 2 }

tnAAAServerIndex OBJECT-TYPE
    SYNTAX         Unsigned32 (1..4294967295)
    MAX-ACCESS     not-accessible
    STATUS         current
    DESCRIPTION    "A management station wishing to initiate a new AAA server
                    configuration should use a random value for this object
                    when creating an instance of tnAAAServerEntry."
    ::= { tnAAAServerEntry 3 }

tnAAAServerEnable OBJECT-TYPE
    SYNTAX        TruthValue
    MAX-ACCESS    read-write
    STATUS        current
    DESCRIPTION   "To enable or disable a server."
    DEFVAL        { false }
        ::= { tnAAAServerEntry 4 }

tnAAAServerAddrType OBJECT-TYPE
    SYNTAX        InetAddressType
    MAX-ACCESS    read-write
    STATUS        current
    DESCRIPTION   "The IP address type of the server.
                   For a detailed description of this type,
                   please refer to INET-ADDRESS-MIB.
                  "
    ::= { tnAAAServerEntry 5 }

tnAAAServerAddr OBJECT-TYPE
    SYNTAX         InetAddress
    MAX-ACCESS     read-write
    STATUS         current
    DESCRIPTION    "The IP address of the server.
                    For a detailed description of this type, 
                    please refer to INET-ADDRESS-MIB.
                   "
    ::= { tnAAAServerEntry 6 }

tnAAAServerPort OBJECT-TYPE
    SYNTAX         INTEGER (1..65535)
    MAX-ACCESS     read-write
    STATUS         current
    DESCRIPTION    "The port to use on theServer."
    ::= { tnAAAServerEntry 7 }

tnAAAServerSecret OBJECT-TYPE
    SYNTAX         DisplayString (SIZE(1..29))
    MAX-ACCESS     read-write
    STATUS         current
    DESCRIPTION    "The secret - up to 29 characters long - shared
                    between the Server and the switch.
                   "
    ::= { tnAAAServerEntry 8 }

--
-- Server Statistics
--

tnStatisticsTable OBJECT-TYPE
    SYNTAX         SEQUENCE OF TnStatisticsEntry
    MAX-ACCESS     not-accessible
    STATUS         current
    DESCRIPTION    "Table providing statistics for each server."
    ::= { tnSecurityAAAMIB 4 }

tnStatisticsEntry OBJECT-TYPE
    SYNTAX         TnStatisticsEntry
    MAX-ACCESS     not-accessible
    STATUS         current
    DESCRIPTION    "Statistical information about a particular server.
                    Objects in this table are read-only and appear
                    automatically whenever a row in the tnStatisticsTable
                    is made active.
                   "
    AUGMENTS       { tnAAAServerEntry }
    ::= { tnStatisticsTable 1 }

TnStatisticsEntry::=
    SEQUENCE {
        tnAcceptPkts             Counter32,
        tnRejectPkts             Counter32,
        tnChallengesPkts         Counter32,
        tnMalResponsePkts        Counter32,
        tnBadAuthPkts            Counter32,
        tnUnknownTypePkts        Counter32,
        tnDroppedPkts            Counter32,
        tnRequestPkts            Counter32,
        tnRetransPkts            Counter32,
        tnPendRequestPkts        Counter32,
        tnTimeouts               Counter32,
        tnState                  INTEGER,
        tnRoundTripTime          Counter32
    }

--
-- Authentication statistics
--

tnAcceptPkts OBJECT-TYPE
    SYNTAX         Counter32
    MAX-ACCESS     read-only
    STATUS         current
    DESCRIPTION    "The number of Accept packets (valid or invalid) received from the server."
    ::= { tnStatisticsEntry 1 }

tnRejectPkts OBJECT-TYPE
    SYNTAX         Counter32
    MAX-ACCESS     read-only
    STATUS         current
    DESCRIPTION    "The number of Reject packets (valid or invalid) received from the server."
    ::= { tnStatisticsEntry 2 }

tnChallengesPkts OBJECT-TYPE
    SYNTAX         Counter32
    MAX-ACCESS     read-only
    STATUS         current
    DESCRIPTION    "The number of Challenge packets (valid or invalid) received from the server."
    ::= { tnStatisticsEntry 3 }

tnMalResponsePkts OBJECT-TYPE
    SYNTAX         Counter32
    MAX-ACCESS     read-only
    STATUS         current
    DESCRIPTION    "The number of malformed packets received from the server.
                    Malformed packets include packets with an invalid length.
                    Bad authenticators or Message Authenticator attributes or unknown types
                    are not included as malformed access responses.
                   "
    ::= { tnStatisticsEntry 4 }

tnBadAuthPkts OBJECT-TYPE
    SYNTAX         Counter32
    MAX-ACCESS     read-only
    STATUS         current
    DESCRIPTION    "The number of packets containing invalid authenticators
                    or Message Authenticator attributes received from the server.
                   "
    ::= { tnStatisticsEntry 5 }

tnUnknownTypePkts OBJECT-TYPE
    SYNTAX         Counter32
    MAX-ACCESS     read-only
    STATUS         current
    DESCRIPTION    "The number of packets of unknown types
                    that were received from the server on the port.
                   "
    ::= { tnStatisticsEntry 6 }

tnDroppedPkts OBJECT-TYPE
    SYNTAX         Counter32
    MAX-ACCESS     read-only
    STATUS         current
    DESCRIPTION    "The number of packets that were received from
                    the server on the port and dropped for some other reason.
                   "
    ::= { tnStatisticsEntry 7 }

tnRequestPkts OBJECT-TYPE
    SYNTAX         Counter32
    MAX-ACCESS     read-only
    STATUS         current
    DESCRIPTION    "The number of packets sent to the server.
                    This does not include retransmissions.
                   "
    ::= { tnStatisticsEntry 8 }

tnRetransPkts OBJECT-TYPE
    SYNTAX         Counter32
    MAX-ACCESS     read-only
    STATUS         current
    DESCRIPTION    "The number of packets retransmitted to the server."
    ::= { tnStatisticsEntry 9 }

tnPendRequestPkts OBJECT-TYPE
    SYNTAX         Counter32
    MAX-ACCESS     read-only
    STATUS         current
    DESCRIPTION    "The number of packets destined for the server
                    that have not yet timed out or received a response.
                    This variable is incremented when a Request is sent and decremented
                    due to receipt of a Response, timeout, or retransmission.
                   "
    ::= { tnStatisticsEntry 10 }

tnTimeouts OBJECT-TYPE
    SYNTAX         Counter32
    MAX-ACCESS     read-only
    STATUS         current
    DESCRIPTION    "The number of timeouts to the server. After a timeout,
                    the client may retry to the same server, send to a different server,
                    or give up. A retry to the same server is counted as a retransmit as well as a timeout.
                    A send to a different server is counted as a Request as well as a timeout.
                   "
    ::= { tnStatisticsEntry 11 }

tnState OBJECT-TYPE
    SYNTAX         INTEGER {
                       disabled (1),
                       notready (2),
                       ready    (3),
                       dead     (4)
                   }
    MAX-ACCESS     read-only
    STATUS         current
    DESCRIPTION    "Shows the state of the server. It takes one of the following values:
                        Disabled  - The selected server is disabled.
                        Not Ready - The server is enabled, but IP communication is not yet
                                    up and running.
                        Ready     - The server is enabled, IP communication is up and running,
                                    and the module is ready to accept accounting or access attempts.
                        Dead      - Accounting or access attempts were made to this server,
                                     but it did not reply within the configured timeout.
                    The server has temporarily been disabled, but will get re-enabled when the 
                    dead-time expires. The number of seconds left before this occurs is displayed
                    in parentheses. This state is only reachable when more than one server is enabled.
                   "
    ::= { tnStatisticsEntry 12 }

tnRoundTripTime OBJECT-TYPE
    SYNTAX         Counter32
    UNITS          "millisecond"
    MAX-ACCESS     read-only
    STATUS         current
    DESCRIPTION    "The time interval (measured in milliseconds) between the most recent Response
                    and the Request that matched it from the server.
                    The granularity of this measurement is 100 ms. A value of 0 ms indicates
                    that there hasn't been round-trip communication with the server yet.
                   "
    ::= { tnStatisticsEntry 13 }

END