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
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
|
-- =================================================================
-- Copyright (C) 2006 by HUAWEI TECHNOLOGIES. All rights reserved
--
-- Description: This MIB defines all the objects that manage GTSM policies,
-- containing getting or creating GTSM policies, computing
-- the number of the packets, and resetting statistics.
-- Reference: rfc4001
-- Version: V1.00
-- History:
--
-- =================================================================
HUAWEI-GTSM-MIB DEFINITIONS ::= BEGIN
IMPORTS
hwDatacomm
FROM HUAWEI-MIB
OBJECT-GROUP, MODULE-COMPLIANCE, NOTIFICATION-GROUP
FROM SNMPv2-CONF
Integer32, OBJECT-TYPE, MODULE-IDENTITY, NOTIFICATION-TYPE
FROM SNMPv2-SMI
RowStatus
FROM SNMPv2-TC
InetAddressType, InetAddress
FROM INET-ADDRESS-MIB;
hwGTSMModule MODULE-IDENTITY
LAST-UPDATED "200611131938Z"
ORGANIZATION
"Huawei Technologies co.,Ltd."
CONTACT-INFO
"VRP Team Huawei Technologies co.,Ltd.
Huawei Bld.,NO.3 Xinxi Rd.,
Shang-Di Information Industry Base,
Hai-Dian District Beijing P.R. China
http://www.huawei.com
Zip:100085
"
DESCRIPTION
"The HUAWEI-GTSM-MIB contains all the objects
that manages GTSM, it mainly contains the following five parts.
1) Default action that is used to deal with
the received packets when no GTSM policy matches.
2) Policy table that is used to get or set
the GTSM policy.
3) BGP peer group table that is used to get
or set the GTSM policy for BGP peer group.
4) Statistics table that is used to compute
the number of the packets containing
received packets, passing packets and
dropped packets.
5) Global configuration clear statistics
table that is used to clear all statistics.
The table can be used any time when users want to initialize
the counter."
REVISION "200609051938Z"
DESCRIPTION
"The initial revision of this MIB module."
::= { hwDatacomm 126 }
--
-- Node definitions
--
-- ==================================================================
--
-- ======================= definition begin =========================
--
-- ==================================================================
hwGTSM OBJECT IDENTIFIER ::= { hwGTSMModule 1 }
hwGTSMDefaultAction OBJECT-TYPE
SYNTAX INTEGER
{
pass(1),
drop(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The object specifies the default action when
no matching policy exists."
DEFVAL { pass }
::= { hwGTSM 1 }
-- ============== hwGTSMPolicyTable define beginning ==============
hwGTSMPolicyTable OBJECT-TYPE
SYNTAX SEQUENCE OF HWGTSMPolicyEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Information about GTSM policies. This object is used
to get GTSM policy(policies), create a new policy, modify
or delete GTSM policy (policies)."
::= { hwGTSM 2 }
-- hwGTSMPolicyEntry
hwGTSMPolicyEntry OBJECT-TYPE
SYNTAX HWGTSMPolicyEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Information about GTSM policies,it used
to get gtsm policy(policies),to create a
new policy,to modify or to delete gtsm
policy(policies)."
INDEX { hwGTSMvrfIndex, hwGTSMPolicyAddressType, hwGTSMPolicyProtocol,
hwGTSMPolicySourceIpAddress, hwGTSMPolicyDestIpAddress,
hwGTSMPolicySourcePort, hwGTSMPolicyDestPort}
::= { hwGTSMPolicyTable 1 }
-- HWGTSMPolicyEntry
HWGTSMPolicyEntry ::=
SEQUENCE {
hwGTSMvrfIndex
Integer32,
hwGTSMPolicyAddressType
InetAddressType,
hwGTSMPolicyProtocol
Integer32,
hwGTSMPolicySourceIpAddress
InetAddress,
hwGTSMPolicyDestIpAddress
InetAddress,
hwGTSMPolicySourcePort
Integer32,
hwGTSMPolicyDestPort
Integer32,
hwGTSMPolicyTTLMin
Integer32,
hwGTSMPolicyTTLMax
Integer32,
hwGTSMPolicyRowStatus
RowStatus
}
hwGTSMvrfIndex OBJECT-TYPE
SYNTAX Integer32 (0..65535)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The index of VPN Routing and Forwarding
table."
::= { hwGTSMPolicyEntry 1 }
hwGTSMPolicyAddressType OBJECT-TYPE
SYNTAX InetAddressType
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The type of Internet address by where the
packets received and will go."
::= { hwGTSMPolicyEntry 2 }
hwGTSMPolicyProtocol OBJECT-TYPE
SYNTAX Integer32 (1..255)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The number of protocol."
::= { hwGTSMPolicyEntry 3 }
hwGTSMPolicySourceIpAddress OBJECT-TYPE
SYNTAX InetAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Source IP address in the GTSM policy that
will be used to check the matching of source
IP address in the received packets."
::= { hwGTSMPolicyEntry 4 }
hwGTSMPolicyDestIpAddress OBJECT-TYPE
SYNTAX InetAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Destination IP address in the GTSM policy
that will be used to check the matching of
destination IP address in the received packets."
::= { hwGTSMPolicyEntry 5 }
hwGTSMPolicySourcePort OBJECT-TYPE
SYNTAX Integer32 (0..65535)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Source port number in the GTSM policy
that will be used to check the matching
of source port number in the received packets."
::= { hwGTSMPolicyEntry 6 }
hwGTSMPolicyDestPort OBJECT-TYPE
SYNTAX Integer32 (0..65535)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Destination port number in the GTSM policy
that will be used to check the matching of
destination port number in the received packets."
::= { hwGTSMPolicyEntry 7 }
hwGTSMPolicyTTLMin OBJECT-TYPE
SYNTAX Integer32 (1..255)
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The minimum TTL in the policy table. The minimum
TTL is compared with the TTL in the packets to check
whether the minimum TTL is between the minimum TTL
and maximum TTL, and thus check the validity of the
received packets."
::= { hwGTSMPolicyEntry 11 }
hwGTSMPolicyTTLMax OBJECT-TYPE
SYNTAX Integer32 (1..255)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The maximum TTL in policy table that is
compared with the TTL in the packets to check whether
it is between the minimum TTL and maximum TTL
,and thus check the validity of the received packets."
DEFVAL { 255 }
::= { hwGTSMPolicyEntry 12 }
hwGTSMPolicyRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The operating state of the row."
::= { hwGTSMPolicyEntry 51}
-- ============== hwGTSMPolicyTable define end ==============
-- ============== hwGTSMBgpPeergroupTable define beginning ==============
hwGTSMBgpPeergroupTable OBJECT-TYPE
SYNTAX SEQUENCE OF HWGTSMBgpPeergroupEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table of BGP peer group policies. The table contains
all the BGP peer group policies."
::= { hwGTSM 3 }
-- hwGTSMBgpPeergroupEntry
hwGTSMBgpPeergroupEntry OBJECT-TYPE
SYNTAX HWGTSMBgpPeergroupEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Information about BGP peer group policies. This table is used
to get BGP peer group policy (policies), create a policy, modify
or delete BGP peer group policy (policies)."
INDEX { hwGTSMvrfIndex, hwGTSMBgpPeergroupName }
::= { hwGTSMBgpPeergroupTable 1 }
-- HWGTSMBgpPeergroupEntry
HWGTSMBgpPeergroupEntry ::=
SEQUENCE {
hwGTSMBgpPeergroupName
OCTET STRING,
hwGTSMBgpPeergroupTTLMin
Integer32,
hwGTSMBgpPeergroupTTLMax
Integer32,
hwGTSMBgpPeergroupRowStatus
RowStatus
}
hwGTSMBgpPeergroupName OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (1..32))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Peer group name in the BGP policy table that is compared with
the peer group name to decide whether to apply this policy."
::= { hwGTSMBgpPeergroupEntry 1 }
hwGTSMBgpPeergroupTTLMin OBJECT-TYPE
SYNTAX Integer32 (1..255)
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The minimum TTL in policy table that is compared with the TTL
in the packets to check whether it is between the minimum TTL
and maximum TTL, and thus check the validity of the received packets."
::= { hwGTSMBgpPeergroupEntry 11 }
hwGTSMBgpPeergroupTTLMax OBJECT-TYPE
SYNTAX Integer32 (1..255)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The maximum TTL in policy table that is compared with the TTL
in the packets to check whether it is between the minimum TTL
and maximum TTL, and check the validity of the received packets."
DEFVAL { 255 }
::= { hwGTSMBgpPeergroupEntry 12 }
hwGTSMBgpPeergroupRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The operating state of the row."
::= { hwGTSMBgpPeergroupEntry 51}
-- ============== hwGTSMBgpPeergroupTable define end ==============
-- ============== hwGTSMStatisticsTable define beginning ==============
hwGTSMStatisticsTable OBJECT-TYPE
SYNTAX SEQUENCE OF HWGTSMStatisticsEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table of GTSM Statistics table. The table contains
the number of the packets containing received
packets, passed packets and discarded packets."
::= { hwGTSM 4 }
-- hwGTSMBgpPeergroupEntry
hwGTSMStatisticsEntry OBJECT-TYPE
SYNTAX HWGTSMStatisticsEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The information of GTSM Statistics,it only can
be read."
INDEX { hwGTSMSlotIndex }
::= { hwGTSMStatisticsTable 1 }
-- HWGTSMStatisticsEntry
HWGTSMStatisticsEntry ::=
SEQUENCE {
hwGTSMSlotIndex
Integer32,
hwGTSMStatisticsRcvPacketNumber
Counter64,
hwGTSMStatisticsPassPacketNumber
Counter64,
hwGTSMStatisticsDropPacketNumber
Counter64
}
hwGTSMSlotIndex OBJECT-TYPE
SYNTAX Integer32 (0..128)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The Index of Slot which receives the packets."
::= { hwGTSMStatisticsEntry 1 }
hwGTSMStatisticsRcvPacketNumber OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of received packets of specific
slot."
::= { hwGTSMStatisticsEntry 11 }
hwGTSMStatisticsPassPacketNumber OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of packets that have been transferred
to the up layer after packets of specific slot are received."
::= { hwGTSMStatisticsEntry 12 }
hwGTSMStatisticsDropPacketNumber OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of packets that do not match
the specific GTSM policy when packets of specific
slot are received."
::= { hwGTSMStatisticsEntry 13 }
-- ============== hwGTSMStatisticsTable define end ==============
-- ============== hwGTSMGlobalConfigTable define beginning ==============
hwGTSMGlobalConfigTable OBJECT-TYPE
SYNTAX SEQUENCE OF HWGTSMGlobalConfigEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table of GTSM global configuration table. The table
contains all information you have operated to the statistics table."
::= { hwGTSM 5 }
-- hwGTSMBgpPeergroupEntry
hwGTSMGlobalConfigEntry OBJECT-TYPE
SYNTAX HWGTSMGlobalConfigEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The information of GTSM global configuration table.The table
is used to clear all statistics, you can use this table any
time when you want to initialize the counter."
INDEX { hwGTSMSlotIndex }
::= { hwGTSMGlobalConfigTable 1 }
-- HWGTSMStatisticsEntry
HWGTSMGlobalConfigEntry ::=
SEQUENCE {
hwGTSMGlobalConfigClearStatistics
INTEGER,
hwGTSMGlobalConfigLogDroppedPacket
INTEGER
}
hwGTSMGlobalConfigClearStatistics OBJECT-TYPE
SYNTAX INTEGER
{
reset(1),
unused(255)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"It is used to clear the statistics of the GTSM global
configuration table."
::= { hwGTSMGlobalConfigEntry 11 }
hwGTSMGlobalConfigLogDroppedPacket OBJECT-TYPE
SYNTAX INTEGER
{
log(1),
nolog(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"It is used to decide whether to log the dropped packets."
DEFVAL { nolog }
::= { hwGTSMGlobalConfigEntry 12 }
-- ============== hwGTSMGlobalConfigTable define end ==============
hwGTSMStatisticsInfoTable OBJECT-TYPE
SYNTAX SEQUENCE OF HwGTSMStatisticsInfoEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table of GTSM Statistics Information. The table contains
the number of the packets containing received
packets, passed packets and discarded packets."
::= { hwGTSM 6 }
hwGTSMStatisticsInfoEntry OBJECT-TYPE
SYNTAX HwGTSMStatisticsInfoEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The information of GTSM Statistics,it only can
be read."
INDEX { hwGTSMSlotNum,hwGTSMPolicyAddressType, hwGTSMPolicyProtocol }
::= { hwGTSMStatisticsInfoTable 1 }
HwGTSMStatisticsInfoEntry ::=
SEQUENCE {
hwGTSMSlotNum
Integer32,
hwGTSMStatisticsReceivePacketNum
Counter64,
hwGTSMStatisticsPassPacketNum
Counter64,
hwGTSMStatisticsDropPacketNum
Counter64
}
hwGTSMSlotNum OBJECT-TYPE
SYNTAX Integer32 (0..128)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The Index of Slot which receives the packets."
::= { hwGTSMStatisticsInfoEntry 1 }
hwGTSMStatisticsReceivePacketNum OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of received packets of specific
slot."
::= { hwGTSMStatisticsInfoEntry 11 }
hwGTSMStatisticsPassPacketNum OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of packets that have been transferred
to the up layer after packets of specific slot are received."
::= { hwGTSMStatisticsInfoEntry 12 }
hwGTSMStatisticsDropPacketNum OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of packets that do not match
the specific GTSM policy when packets of specific
slot are received."
::= { hwGTSMStatisticsInfoEntry 13 }
hwGTSMGlobalConfigInfoTable OBJECT-TYPE
SYNTAX SEQUENCE OF HwGTSMGlobalConfigInfoEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table of GTSM global configuration table. The table
contains all information you have operated to the statistics table."
::= { hwGTSM 7 }
hwGTSMGlobalConfigInfoEntry OBJECT-TYPE
SYNTAX HwGTSMGlobalConfigInfoEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The information of GTSM global configuration table.The table
is used to clear all statistics, you can use this table any
time when you want to initialize the counter."
INDEX { hwGTSMSlotNum }
::= { hwGTSMGlobalConfigInfoTable 1 }
HwGTSMGlobalConfigInfoEntry ::=
SEQUENCE {
hwGTSMGlobalConfigClearStatisticsInfo
INTEGER,
hwGTSMGlobalConfigLogDroppedPacketInfo
INTEGER
}
hwGTSMGlobalConfigClearStatisticsInfo OBJECT-TYPE
SYNTAX INTEGER
{
reset(1),
unused(255)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"It is used to clear the statistics of the GTSM global
configuration table."
::= { hwGTSMGlobalConfigInfoEntry 11 }
hwGTSMGlobalConfigLogDroppedPacketInfo OBJECT-TYPE
SYNTAX INTEGER
{
log(1),
nolog(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"It is used to decide whether to log the dropped packets."
DEFVAL { nolog }
::= { hwGTSMGlobalConfigInfoEntry 12 }
-- ============== conformance information ==============
hwGTSMConformance OBJECT IDENTIFIER ::= { hwGTSMModule 2 }
hwGTSMCompliances OBJECT IDENTIFIER ::= { hwGTSMConformance 1 }
hwGTSMCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for systems supporting
this module."
MODULE -- this module
MANDATORY-GROUPS {hwGTSMDefaultActionGroup, hwGTSMPolicyGroup,
hwGTSMBgpPeergroupGroup, hwGTSMStatisticsGroup,
hwGTSMGlobalConfigGroup,hwGTSMStatisticsInfoGroup,
hwGTSMGlobalConfigInfoGroup }
::= { hwGTSMCompliances 1 }
-- ============== groups ==============
hwGTSMGroups OBJECT IDENTIFIER ::= { hwGTSMConformance 2 }
hwGTSMDefaultActionGroup OBJECT-GROUP
OBJECTS { hwGTSMDefaultAction }
STATUS current
DESCRIPTION
"The default action group."
::= { hwGTSMGroups 1 }
hwGTSMPolicyGroup OBJECT-GROUP
OBJECTS { hwGTSMPolicyTTLMin, hwGTSMPolicyTTLMax, hwGTSMPolicyRowStatus }
STATUS current
DESCRIPTION
"The GTSM policy group."
::= { hwGTSMGroups 2 }
hwGTSMBgpPeergroupGroup OBJECT-GROUP
OBJECTS { hwGTSMBgpPeergroupTTLMin, hwGTSMBgpPeergroupTTLMax, hwGTSMBgpPeergroupRowStatus }
STATUS current
DESCRIPTION
"The GTSM BGP peer group."
::= { hwGTSMGroups 3 }
hwGTSMStatisticsGroup OBJECT-GROUP
OBJECTS { hwGTSMStatisticsRcvPacketNumber, hwGTSMStatisticsPassPacketNumber, hwGTSMStatisticsDropPacketNumber }
STATUS current
DESCRIPTION
"The GTSM statistics group."
::= { hwGTSMGroups 4 }
hwGTSMGlobalConfigGroup OBJECT-GROUP
OBJECTS {hwGTSMGlobalConfigClearStatistics, hwGTSMGlobalConfigLogDroppedPacket }
STATUS current
DESCRIPTION
"The GTSM global configuration group."
::= { hwGTSMGroups 5 }
hwGTSMStatisticsInfoGroup OBJECT-GROUP
OBJECTS { hwGTSMStatisticsReceivePacketNum, hwGTSMStatisticsPassPacketNum, hwGTSMStatisticsDropPacketNum }
STATUS current
DESCRIPTION
"The GTSM statistics group."
::= { hwGTSMGroups 6 }
hwGTSMGlobalConfigInfoGroup OBJECT-GROUP
OBJECTS {hwGTSMGlobalConfigClearStatisticsInfo, hwGTSMGlobalConfigLogDroppedPacketInfo }
STATUS current
DESCRIPTION
"The GTSM global configuration group."
::= { hwGTSMGroups 7 }
-- ============== conformance information define end ==============
END
|