summaryrefslogtreecommitdiff
path: root/MIBS/transition/TN-S-FLOW-MIB
blob: 25658551148739ca08fd6c3fe6879e6fe5a1805e (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
-- *****************************************************************
-- Transition Networks sFlow MIB
--
-- Copyright (C) 2012  Transition Networks, Inc. All Rights Reserved.
-- *****************************************************************

TN-S-FLOW-MIB DEFINITIONS ::= BEGIN

IMPORTS
    DisplayString, RowStatus, TruthValue
                FROM SNMPv2-TC
    InetAddressType, InetAddress
                FROM INET-ADDRESS-MIB
    MODULE-IDENTITY,
    OBJECT-IDENTITY,
    enterprises, IpAddress, Unsigned32 FROM SNMPv2-SMI
    entPhysicalIndex FROM ENTITY-MIB
    ifIndex FROM IF-MIB
    tnProducts FROM TRANSITION-SMI;

tnSFlowMIB MODULE-IDENTITY
        LAST-UPDATED "201210100000Z"
        ORGANIZATION "Transition Networks, Inc."
        CONTACT-INFO
        "Transition Networks
        Technical Support

        10900 Red Circle Drive
        Minnetonka, MN 55343 USA
        Tel: +1-800-526-9267

        E-mail: techsupport@transition.com"
        DESCRIPTION
        "The mib module is designed for S Flow."

    ::= { tnProducts 119 }

tnSFlowMIBObjects
        OBJECT IDENTIFIER ::= { tnSFlowMIB 1 }

--
-- MIB variables
--

tnSFlowMIBMgmt
    OBJECT IDENTIFIER ::= { tnSFlowMIBObjects 1 }

--
-- tnSFlowReceiverConfigTable
--

tnSFlowReceiverConfigTable OBJECT-TYPE
    SYNTAX        SEQUENCE OF TNSFlowReceiverConfigEntry
    MAX-ACCESS    not-accessible
    STATUS        current
    DESCRIPTION   "This table contains sFlow receiver configuration."
    ::= { tnSFlowMIBMgmt 1 }

tnSFlowReceiverConfigEntry OBJECT-TYPE
    SYNTAX        TNSFlowReceiverConfigEntry
    MAX-ACCESS    not-accessible
    STATUS        current
    DESCRIPTION   "Each entry represents the sFlow receiver configuration on a device."
    INDEX { entPhysicalIndex }
    ::= { tnSFlowReceiverConfigTable 1 }

TNSFlowReceiverConfigEntry ::= SEQUENCE {
    tnSFlowReceiverOwner           DisplayString,
    tnSFlowReceiverRelease         TruthValue,
    tnSFlowReceiverAddressType     InetAddressType,
    tnSFlowReceiverAddress         InetAddress,
    tnSFlowReceiverUDPPort         INTEGER,
    tnSFlowReceiverTimeout         Unsigned32,
    tnSFlowReceiverMaxDatagramSize INTEGER
    }

tnSFlowReceiverOwner OBJECT-TYPE
    SYNTAX       DisplayString
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION  "Represents the owner of the SFlow Receiver configuration."
    ::= { tnSFlowReceiverConfigEntry 1 }

tnSFlowReceiverRelease OBJECT-TYPE
    SYNTAX       TruthValue
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION  "True for releasing the owner of the SFlow Receiver configuration."
    ::= { tnSFlowReceiverConfigEntry 2 }

tnSFlowReceiverAddressType OBJECT-TYPE
    SYNTAX       InetAddressType
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION  "The address type of SFlow Receiver.
        For a detailed description of this type, please refer to INET-ADDRESS-MIB."
    ::= { tnSFlowReceiverConfigEntry 3 }

tnSFlowReceiverAddress OBJECT-TYPE
    SYNTAX       InetAddress
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION  "Address of SFlow Receiver.
        For a detailed description of this type, please refer to INET-ADDRESS-MIB."
    ::= { tnSFlowReceiverConfigEntry 4 }

tnSFlowReceiverUDPPort OBJECT-TYPE
    SYNTAX       INTEGER (1..65535)
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION  "The UDP Port number of SFlow Receiver."
    ::= { tnSFlowReceiverConfigEntry 5 }

tnSFlowReceiverTimeout OBJECT-TYPE
    SYNTAX       Unsigned32 (0..2147483647)
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION  "The Timeout (seconds) of SFlow Receiver."
    ::= { tnSFlowReceiverConfigEntry 6 }

tnSFlowReceiverMaxDatagramSize OBJECT-TYPE
    SYNTAX       INTEGER (200..1468)
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION  "The Maximum datagram size (bytes) of SFlow Receiver."
    ::= { tnSFlowReceiverConfigEntry 7 }

---
--- tnSFlowPortConfigTable
---

tnSFlowPortConfigTable OBJECT-TYPE
    SYNTAX       SEQUENCE OF TNSFlowPortConfigEntry
    MAX-ACCESS   not-accessible
    STATUS       current
    DESCRIPTION  "This table contains the configuration of SFlow flow sample and counter sample on ports."
    ::= { tnSFlowMIBMgmt 2 }

tnSFlowPortConfigEntry OBJECT-TYPE
    SYNTAX        TNSFlowPortConfigEntry
    MAX-ACCESS    not-accessible
    STATUS        current
    DESCRIPTION   "Each entry represents the configuration of SFlow flow sample and counter sample on a port."
    INDEX { ifIndex }
    ::= { tnSFlowPortConfigTable 1 }

TNSFlowPortConfigEntry ::= SEQUENCE {
    tnSFlowSamplerEnabled           TruthValue,
    tnSFlowFlowRate                 Unsigned32,
    tnSFlowFlowMaxHeader            INTEGER,
    tnSFlowCounterEnabled           TruthValue,
    tnSFlowCounterInteval           INTEGER
    }

tnSFlowSamplerEnabled OBJECT-TYPE
    SYNTAX       TruthValue
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION  "To Enable or disable the SFlow Sampler on a port."
    ::= { tnSFlowPortConfigEntry 1 }

tnSFlowFlowRate OBJECT-TYPE
    SYNTAX       Unsigned32 (1..4294967295)
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION  "The Sampling flow rate of the SFlow on a port."
    ::= { tnSFlowPortConfigEntry 2 }

tnSFlowFlowMaxHeader OBJECT-TYPE
    SYNTAX       INTEGER (14..200)
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION  "The sample flow max header of the SFlow on a port."
    ::= { tnSFlowPortConfigEntry 3 }

tnSFlowCounterEnabled OBJECT-TYPE
    SYNTAX       TruthValue
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION  "To Enable or disable the SFlow counter poller on a port."
    ::= { tnSFlowPortConfigEntry 4 }

tnSFlowCounterInteval OBJECT-TYPE
    SYNTAX       INTEGER (1..3600)
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION  "The flow counter interval of the SFlow on a port."
    ::= { tnSFlowPortConfigEntry 5 }

---
--- tnSFlowReceiverStatisticsTable
---

tnSFlowReceiverStatisticsTable OBJECT-TYPE
    SYNTAX       SEQUENCE OF TNSFlowReceiverStatisticsEntry
    MAX-ACCESS   not-accessible
    STATUS       current
    DESCRIPTION  "This table contains the receiver statistics of SFlow."
    ::= { tnSFlowMIBMgmt 3 }

tnSFlowReceiverStatisticsEntry OBJECT-TYPE
    SYNTAX        TNSFlowReceiverStatisticsEntry
    MAX-ACCESS    not-accessible
    STATUS        current
    DESCRIPTION   "Each entry represents a receiver statistics of SFlow"
    INDEX { entPhysicalIndex }
    ::= { tnSFlowReceiverStatisticsTable 1 }

TNSFlowReceiverStatisticsEntry ::= SEQUENCE {
    tnSFlowReceiverTxSuccesses          Unsigned32,
    tnSFlowReceiverTxErrors             Unsigned32,
    tnSFlowReceiverFlowSamples          Unsigned32,
    tnSFlowReceiverCounterSamples       Unsigned32,
    tnSFlowClearReceiverStatistics      TruthValue
    }

tnSFlowReceiverTxSuccesses OBJECT-TYPE
    SYNTAX       Unsigned32
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION  "The Tx successes statistic of the SFlow receiver."
    ::= { tnSFlowReceiverStatisticsEntry 1 }

tnSFlowReceiverTxErrors OBJECT-TYPE
    SYNTAX       Unsigned32
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION  "The Tx errors statistic of the SFlow receiver."
    ::= { tnSFlowReceiverStatisticsEntry 2 }

tnSFlowReceiverFlowSamples OBJECT-TYPE
    SYNTAX       Unsigned32
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION  "The flow samples statistic of the SFlow receiver."
    ::= { tnSFlowReceiverStatisticsEntry 3 }

tnSFlowReceiverCounterSamples OBJECT-TYPE
    SYNTAX       Unsigned32
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION  "The counter samples statistic of the SFlow receiver."
    ::= { tnSFlowReceiverStatisticsEntry 4 }

tnSFlowClearReceiverStatistics OBJECT-TYPE
    SYNTAX       TruthValue
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION  "True for clearing statistics of the SFlow receiver."
    ::= { tnSFlowReceiverStatisticsEntry 5 }

---
--- tnSFlowPortStatisticsTable
---

tnSFlowPortStatisticsTable OBJECT-TYPE
    SYNTAX       SEQUENCE OF TNSFlowPortStatisticsEntry
    MAX-ACCESS   not-accessible
    STATUS       current
    DESCRIPTION  "This table contains the port statistics of SFlow."
    ::= { tnSFlowMIBMgmt 4 }

tnSFlowPortStatisticsEntry OBJECT-TYPE
    SYNTAX        TNSFlowPortStatisticsEntry
    MAX-ACCESS    not-accessible
    STATUS        current
    DESCRIPTION   "Each entry represents a port statistics of SFlow"
    INDEX { ifIndex }
    ::= { tnSFlowPortStatisticsTable 1 }

TNSFlowPortStatisticsEntry ::= SEQUENCE {
    tnSFlowRxSamples             Unsigned32,
    tnSFlowTxSamples             Unsigned32,
    tnSFlowCounterSamples        Unsigned32,
    tnSFlowClearPortsStatistics  TruthValue
    }

tnSFlowRxSamples OBJECT-TYPE
    SYNTAX       Unsigned32
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION  "The Rx samples of the SFlow on a port."
    ::= { tnSFlowPortStatisticsEntry 1 }

tnSFlowTxSamples OBJECT-TYPE
    SYNTAX       Unsigned32
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION  "The Tx samples of the SFlow on a port."
    ::= { tnSFlowPortStatisticsEntry 2 }

tnSFlowCounterSamples OBJECT-TYPE
    SYNTAX       Unsigned32
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION  "The Counter samples of the SFlow on a port."
    ::= { tnSFlowPortStatisticsEntry 3 }

tnSFlowClearPortsStatistics OBJECT-TYPE
    SYNTAX       TruthValue
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION  "True for clearing statistics of the SFlow on all ports."
    ::= { tnSFlowPortStatisticsEntry 4 }

END