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
|
-- ==================================================================
-- Copyright (c) 2004-2015 New H3C Tech. Co., Ltd. All rights reserved.
--
-- Description: Storm-Constrain MIB
-- Reference:
-- Version: V1.2
-- History:
-- V1.0 2005-11-19 Created by XueCong
-- V1.1 2008-06-06 Modified the description of Hh3cStormConstrainUnit
-- Added hh3cStormCtrlPortMode by jinyi
-- V1.2 2015-06-17 Modified the description of Hh3cStormConstrainUnit
-- Added knownUnicast to hh3cStormTrapType by yangyiquan
-- ==================================================================
HH3C-STORM-CONSTRAIN-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, Integer32,
NOTIFICATION-TYPE
FROM SNMPv2-SMI
RowStatus, TEXTUAL-CONVENTION
FROM SNMPv2-TC
ifIndex
FROM IF-MIB
hh3cCommon
FROM HH3C-OID-MIB;
hh3cStormConstrain MODULE-IDENTITY
LAST-UPDATED "201506170000Z"
ORGANIZATION
"New H3C Tech. Co., Ltd."
CONTACT-INFO
"Platform Team New H3C Tech. Co., Ltd.
Hai-Dian District Beijing P.R. China
http://www.h3c.com
Zip:100085"
DESCRIPTION
"The Storm-Constrain function is used to avoid the
packet-storm on a port. Three types of flux can be
set observed respectively: broadcast, multicast and
unicast. If an observed flux exceeds its upper limit,
this kind of flux will be recognized as over-upper-flux.
This kind of flux will be considered as normal-flux
until it falls below its lower limit. If any type of
observed flux is over-upper-flux, the port will change
its status to controlled-status, that is to stop packet
forwarding to avoid storm. Only when all the observed
fluxes are not over-upper-flux, will the port return to
normal(forwarding) status."
REVISION "201506170000Z"
DESCRIPTION
"To add knownUnicast to hh3cStormTrapType."
::= { hh3cCommon 66 }
Hh3cStormConstrainUnit ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"The unit of the flux.
none: not define.
packetsPerSecond: packets per second.
ratio: unit is 1%. For example, if the value is 40, it means 40%.
bytesPerSecond: bytes per second.
kbitsPerSecond: kilobits per second."
SYNTAX INTEGER
{
none(1),
packetsPerSecond(2),
ratio(3),
bytesPerSecond(4),
kbitsPerSecond(5)
}
-- ==================================================================
--
-- ======================= definition begin =========================
--
-- ==================================================================
hh3cStormScalarGroup OBJECT IDENTIFIER ::= { hh3cStormConstrain 1 }
hh3cStormTrapType OBJECT-TYPE
SYNTAX INTEGER
{
broadcast(1),
multicast(2),
unicast(3),
knownUnicast(4)
}
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"This value is used to identify the type of trap.
broadcast: Trap message generated when broadcast traffic exceeds
the upper limit or falls below the lower limit on a port.
multicast: Trap message generated when multicast traffic exceeds
the upper limit or falls below the lower limit on a port.
unicast : Trap message generated when unknown unicast traffic exceeds
the upper limit or falls below the lower limit on a port.
knownUnicast: Trap message generated when known unicast traffic exceeds
the upper limit or falls below the lower limit on a port."
::= { hh3cStormScalarGroup 1 }
hh3cStormTrapThreshold OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"This value is used to figure the threshold of flux in
trap message.
For example, when the trap is generated for broadcast
flux exceeds upper limit on a port, this value is
equal to upper limit value configured. And when the
trap is generated for broadcast flux fell under lower
limit, this value is equal to lower limit value configured."
::= { hh3cStormScalarGroup 2 }
hh3cStormTableGroup OBJECT IDENTIFIER ::= { hh3cStormConstrain 2 }
hh3cStormCtrlTable OBJECT-TYPE
SYNTAX SEQUENCE OF Hh3cStormCtrlEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table containing configurations of storm-constrain."
::= { hh3cStormTableGroup 1 }
hh3cStormCtrlEntry OBJECT-TYPE
SYNTAX Hh3cStormCtrlEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Detailed information of storm-constrain configurations."
INDEX { ifIndex }
::= { hh3cStormCtrlTable 1 }
Hh3cStormCtrlEntry ::=
SEQUENCE {
hh3cStormCtrlPortStatus INTEGER,
hh3cStormCtrlBroadcastUnit Hh3cStormConstrainUnit,
hh3cStormCtrlBroadcastUpper Integer32,
hh3cStormCtrlBroadcastLower Integer32,
hh3cStormCtrlMulticastUnit Hh3cStormConstrainUnit,
hh3cStormCtrlMulticastUpper Integer32,
hh3cStormCtrlMulticastLower Integer32,
hh3cStormCtrlUnicastUnit Hh3cStormConstrainUnit,
hh3cStormCtrlUnicastUpper Integer32,
hh3cStormCtrlUnicastLower Integer32,
hh3cStormCtrlRowStatus RowStatus,
hh3cStormCtrlPortMode INTEGER
}
hh3cStormCtrlPortStatus OBJECT-TYPE
SYNTAX INTEGER{ controlled(1), normal(2)}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Status of the port:
controlled: indicate that the port is in controlled status.
Port which is in this status will not forward some type
of packet.
normal : indicate that the port is in normal status."
::= { hh3cStormCtrlEntry 1 }
hh3cStormCtrlBroadcastUnit OBJECT-TYPE
SYNTAX Hh3cStormConstrainUnit
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The unit of the broadcast flux.
This value must be set together with hh3cStormCtrlBroadcastUpper
and hh3cStormCtrlBroadcastLower."
::= { hh3cStormCtrlEntry 2 }
hh3cStormCtrlBroadcastUpper OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The upper-limit of incoming broadcast taffic at a port
within 1 second interval.
Its unit depends on hh3cStormCtrlBroadcastUnit value."
::= { hh3cStormCtrlEntry 3 }
hh3cStormCtrlBroadcastLower OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The lower-limit of incoming broadcast taffic at a port
within 1 second interval.
This value must be lower than hh3cStormCtrlBroadcastUpper value.
Its unit depends on hh3cStormCtrlBroadcastUnit value."
::= { hh3cStormCtrlEntry 4 }
hh3cStormCtrlMulticastUnit OBJECT-TYPE
SYNTAX Hh3cStormConstrainUnit
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The unit of the multicast flux.
This value must be set together with hh3cStormCtrlMulticastUpper
and hh3cStormCtrlMulticastLower."
::= { hh3cStormCtrlEntry 5 }
hh3cStormCtrlMulticastUpper OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The upper-limit of incoming multicast taffic at a port
within 1 second interval.
Its unit depends on hh3cStormCtrlMulticastUnit value."
::= { hh3cStormCtrlEntry 6 }
hh3cStormCtrlMulticastLower OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The lower-limit of incoming multicast taffic at a port
within 1 second interval.
This value must be lower than hh3cStormCtrlMulticastUpper value.
Its unit depends on hh3cStormCtrlMulticastUnit value."
::= { hh3cStormCtrlEntry 7 }
hh3cStormCtrlUnicastUnit OBJECT-TYPE
SYNTAX Hh3cStormConstrainUnit
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The unit of the unicast flux.
This value must be set together with hh3cStormCtrlUnicastUpper
and hh3cStormCtrlUnicastLower."
::= { hh3cStormCtrlEntry 8 }
hh3cStormCtrlUnicastUpper OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The upper-limit of incoming unicast taffic at a port
within 1 second interval.
Its unit depends on hh3cStormCtrlUnicastUnit value."
::= { hh3cStormCtrlEntry 9 }
hh3cStormCtrlUnicastLower OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The lower-limit of incoming unicast taffic at a port
within 1 second interval.
This value must be lower than hh3cStormCtrlUnicastUpper value.
Its unit depends on hh3cStormCtrlUnicastUnit value."
::= { hh3cStormCtrlEntry 10 }
hh3cStormCtrlRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object is responsible for managing the creation,
deletion and modification of rows, which supports active
status and CreatAndGo, destroy operation."
::= { hh3cStormCtrlEntry 11 }
hh3cStormCtrlPortMode OBJECT-TYPE
SYNTAX INTEGER{ none(1), block(2), shutdown(3) }
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The storm control mode of the port."
::= { hh3cStormCtrlEntry 12 }
hh3cStormNotifications OBJECT IDENTIFIER ::= { hh3cStormConstrain 3 }
hh3cStormRising NOTIFICATION-TYPE
OBJECTS { ifIndex, hh3cStormTrapType, hh3cStormTrapThreshold, hh3cStormCtrlPortStatus }
STATUS current
DESCRIPTION
"This trap message is generated when any type of the
flux exceeds its upper limit on a port."
::= { hh3cStormNotifications 1 }
hh3cStormFalling NOTIFICATION-TYPE
OBJECTS { ifIndex, hh3cStormTrapType, hh3cStormTrapThreshold, hh3cStormCtrlPortStatus }
STATUS current
DESCRIPTION
"This trap message is generated when a flux which used
to overflow its upper limit, falls below its lower
limit on a port."
::= { hh3cStormNotifications 2 }
END
|