summaryrefslogtreecommitdiff
path: root/MIBS/comware/HH3C-LI-MIB
blob: 38576c7d310a94af5af29d9f40af2b55bc69576e (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
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
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
-- ============================================================================
-- Copyright (c) 2004-2010 New H3C Tech. Co., Ltd. All rights reserved.
--
-- Description: Lawful Interception MIB
-- Reference:
-- Version: V1.0
-- History:
--   V1.0 2009-08-25 Initial version Created by Lixin Xu
-- ============================================================================
HH3C-LI-MIB DEFINITIONS ::= BEGIN

IMPORTS
    hh3cCommon
        FROM HH3C-OID-MIB
    Counter64, Counter32, Integer32, Unsigned32,
    OBJECT-TYPE, MODULE-IDENTITY, NOTIFICATION-TYPE
        FROM SNMPv2-SMI
    RowStatus, TruthValue, MacAddress, DateAndTime
        FROM SNMPv2-TC
    InetAddress, InetAddressType, InetAddressPrefixLength, InetPortNumber
        FROM INET-ADDRESS-MIB
    InterfaceIndexOrZero
        FROM IF-MIB
    SnmpAdminString
        FROM SNMP-FRAMEWORK-MIB;

hh3cLI MODULE-IDENTITY
    LAST-UPDATED "200908251000Z"
    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
        "Lawful Interception MIB"
    REVISION
        "200908251000Z"
    DESCRIPTION
        "Initial version."
    ::= { hh3cCommon 111 }

--
-- Node definitions
--

hh3cLICommon OBJECT IDENTIFIER ::= { hh3cLI 1 }

hh3cLITrapBindObjects OBJECT IDENTIFIER ::= { hh3cLICommon 1 }

hh3cLIBoardInformation OBJECT-TYPE
    SYNTAX      Unsigned32
    MAX-ACCESS  accessible-for-notify
    STATUS      current
    DESCRIPTION
        "It is a slot number."
    ::= { hh3cLITrapBindObjects 1 }

hh3cLINotifications OBJECT IDENTIFIER ::= { hh3cLICommon 2 }

hh3cLINotificationsPrefix OBJECT IDENTIFIER ::= { hh3cLINotifications 0 }

hh3cLIActive NOTIFICATION-TYPE
    OBJECTS {
              hh3cLIStreamtype
            }
    STATUS current
    DESCRIPTION
        "This Notification is sent when a type of intercepting configuration
        is changed from inactive to active.
        The value of the hh3cLIStreamtype which identify the actual intercept
        stream is included in this notification."
    ::= { hh3cLINotificationsPrefix 1 }

hh3cLITimeOut NOTIFICATION-TYPE
    OBJECTS { hh3cLIMediationRowStatus }
    STATUS current
    DESCRIPTION
        "When the time specified in hh3cLIMediationTimeout arrives,
        the device notifies the manager corresponding intercept is removed."
    ::= { hh3cLINotificationsPrefix 2 }

hh3cLIFailureInformation NOTIFICATION-TYPE
    OBJECTS {
                hh3cLIStreamtype,
                hh3cLIBoardInformation
            }
    STATUS current
    DESCRIPTION
        "When interception is configured on distributed device,
        the configuration perhaps failed on some board.
        If this happened, this notification will occur."
    ::= { hh3cLINotificationsPrefix 3 }

hh3cLIObjects OBJECT IDENTIFIER ::= { hh3cLICommon 3 }

hh3cLINewIndex OBJECT-TYPE
    SYNTAX Integer32 (1..2147483647)
    MAX-ACCESS read-only
    STATUS current
    DESCRIPTION
        "This object will be used as an index value for a new
        hh3cLIMediationEntry.  Whenever read, the agent will
        give a non-used value.  This is to reduce the probability
        of conflict during creation of new hh3cLIMediationTable entries."
    ::= { hh3cLIObjects 1 }
--
-- hh3cLIMediationTable definition
--
hh3cLIMediationTable OBJECT-TYPE
    SYNTAX SEQUENCE OF Hh3cLIMediationEntry
    MAX-ACCESS not-accessible
    STATUS current
    DESCRIPTION
        "This table describes interception gateway information with which
        interception device communicates."
    ::= { hh3cLIObjects 2 }

hh3cLIMediationEntry OBJECT-TYPE
    SYNTAX Hh3cLIMediationEntry
    MAX-ACCESS not-accessible
    STATUS current
    DESCRIPTION
        "An entry of configuring mediation device."
    INDEX { hh3cLIMediationIndex }
    ::= { hh3cLIMediationTable 1 }

Hh3cLIMediationEntry ::=
    SEQUENCE {
        hh3cLIMediationIndex                 Integer32,
        hh3cLIMediationDestAddrType          InetAddressType,
        hh3cLIMediationDestAddr              InetAddress,
        hh3cLIMediationDestPort              InetPortNumber,
        hh3cLIMediationSrcInterface          InterfaceIndexOrZero,
        hh3cLIMediationDscp                  Integer32,
        hh3cLIMediationTimeOut               DateAndTime,
        hh3cLIMediationTransport             INTEGER,
        hh3cLIMediationNotificationEnable    TruthValue,
        hh3cLIMediationRowStatus             RowStatus
     }

hh3cLIMediationIndex OBJECT-TYPE
    SYNTAX Integer32 (1..2147483647)
    MAX-ACCESS not-accessible
    STATUS current
    DESCRIPTION
        "hh3cLIMediationIndex is a entry identifier.  The Mediation Device
            should be responsible for making sure these are unique.
            Before creating a new entry, a value for this variable may be
            obtained by reading hh3cLINewIndex to reduce the probability
            of a value collision."
    ::= { hh3cLIMediationEntry 1 }

hh3cLIMediationDestAddrType OBJECT-TYPE
    SYNTAX InetAddressType
    MAX-ACCESS read-write
    STATUS current
    DESCRIPTION
        "The type of hh3cLIMediationDestAddr."
    ::= { hh3cLIMediationEntry 2 }

hh3cLIMediationDestAddr OBJECT-TYPE
    SYNTAX InetAddress
    MAX-ACCESS read-write
    STATUS current
    DESCRIPTION
        "The IP Address of the Mediation Device to receive intercepted traffic."
    ::= { hh3cLIMediationEntry 3 }

hh3cLIMediationDestPort OBJECT-TYPE
    SYNTAX InetPortNumber
    MAX-ACCESS read-write
    STATUS current
    DESCRIPTION
        "The L4-port number on the Mediation Device
         to receive intercepted traffic."
    ::= { hh3cLIMediationEntry 4 }

hh3cLIMediationSrcInterface OBJECT-TYPE
    SYNTAX InterfaceIndexOrZero
    MAX-ACCESS read-write
    STATUS current
    DESCRIPTION
        "The interface on the intercepting device from which to
        transmit intercepted data.
        If zero, intercepting device will select an outbound
        interface according to hh3cLIMediationDestAddr."
    ::= { hh3cLIMediationEntry 5 }

hh3cLIMediationDscp OBJECT-TYPE
    SYNTAX Integer32
    MAX-ACCESS read-write
    STATUS current
    DESCRIPTION
        "The Differentiated Services Code Point the intercepting
        device applies to the IP packets encapsulating the intercepted traffic."
    DEFVAL { 34 }
    ::= { hh3cLIMediationEntry 6 }

hh3cLIMediationTimeOut OBJECT-TYPE
    SYNTAX DateAndTime
    MAX-ACCESS read-write
    STATUS current
    DESCRIPTION
        "The time at which this row and all related Stream Table rows
        should be automatically removed, and the intercept function expire."
    ::= { hh3cLIMediationEntry 7 }

hh3cLIMediationTransport OBJECT-TYPE
    SYNTAX INTEGER
        {
            udp(1)
        }
    MAX-ACCESS read-write
    STATUS current
    DESCRIPTION
        "The protocol used in transferring intercepted data to the
        Mediation Device."
    ::= { hh3cLIMediationEntry 8 }

hh3cLIMediationNotificationEnable OBJECT-TYPE
    SYNTAX TruthValue
    MAX-ACCESS read-write
    STATUS current
    DESCRIPTION
        "This variable controls the generation of any notifications or
        informs by the MIB agent for this table entry."
    DEFVAL { true }
    ::= { hh3cLIMediationEntry 9 }

hh3cLIMediationRowStatus OBJECT-TYPE
    SYNTAX RowStatus
    MAX-ACCESS read-create
    STATUS current
    DESCRIPTION
        "Operation status of this table entry."
    ::= { hh3cLIMediationEntry 10 }

--
-- hh3cLIStreamTable definition
--
hh3cLIStreamTable OBJECT-TYPE
    SYNTAX SEQUENCE OF Hh3cLIStreamEntry
    MAX-ACCESS not-accessible
    STATUS current
    DESCRIPTION
        "This table lists the traffic stream's type to be intercepted.
         The specified filter is defined in hh3cLIIPStreamTable,
         hh3cLIMACStreamTable or hh3cLIUserStreamTable, according to
         hh3cLIStreamtype.  Also it contains counters for packets to
         be intercepted and dropped by attached type of filter."
    ::= { hh3cLIObjects 3 }

hh3cLIStreamEntry OBJECT-TYPE
    SYNTAX Hh3cLIStreamEntry
    MAX-ACCESS not-accessible
    STATUS current
    DESCRIPTION
        "A single type of data stream to be intercepted."
    INDEX { hh3cLIMediationIndex, hh3cLIStreamIndex }
    ::= { hh3cLIStreamTable 1 }

Hh3cLIStreamEntry ::=
    SEQUENCE {
        hh3cLIStreamIndex        Integer32,
        hh3cLIStreamtype         INTEGER,
        hh3cLIStreamEnable       TruthValue,
        hh3cLIStreamPackets      Counter32,
        hh3cLIStreamDrops        Counter32,
        hh3cLIStreamHPackets     Counter64,
        hh3cLIStreamHDrops       Counter64,
        hh3cLIStreamRowStatus    RowStatus
     }

hh3cLIStreamIndex OBJECT-TYPE
    SYNTAX Integer32 (1..2147483647)
    MAX-ACCESS not-accessible
    STATUS current
    DESCRIPTION
        "The index of the stream entry."
    ::= { hh3cLIStreamEntry 1 }

hh3cLIStreamtype OBJECT-TYPE
    SYNTAX INTEGER
        {
            ip(1),
            mac(2),
            userConnection(3)
        }
    MAX-ACCESS read-write
    STATUS current
    DESCRIPTION
        "Identifies the type of stream, and according to it uses filter table.
        It can not be changed after a filter table is attached to it.
        The following types of streams are supported:
         ip:             IP filter.  The exact definition is a row in
                         hh3cLIIPStreamTable.
         mac:            MAC filter.  The exact definition is a row in
                         hh3cLIMACStreamTable.
         userConnecton:  User connection filter.  The exact definition
                         is a row in hh3cLIUserStreamTable."
    ::= { hh3cLIStreamEntry 2 }

hh3cLIStreamEnable OBJECT-TYPE
    SYNTAX TruthValue
    MAX-ACCESS read-write
    STATUS current
    DESCRIPTION
        "If 'true', the interception is active.  And it is set to 'true'
         only after an additional filter specification has been attached
         to this stream."
    DEFVAL { false }
    ::= { hh3cLIStreamEntry 3 }

hh3cLIStreamPackets OBJECT-TYPE
    SYNTAX Counter32
    MAX-ACCESS read-only
    STATUS current
    DESCRIPTION
        "The numbers of packets that have been intercepted."
    ::= { hh3cLIStreamEntry 4 }

hh3cLIStreamDrops OBJECT-TYPE
    SYNTAX Counter32
    MAX-ACCESS read-only
    STATUS current
    DESCRIPTION
        "The numbers of packets were dropped in the lawful intercept process."
    ::= { hh3cLIStreamEntry 5 }

hh3cLIStreamHPackets OBJECT-TYPE
    SYNTAX Counter64
    MAX-ACCESS read-only
    STATUS current
    DESCRIPTION
        "The numbers of packets have been intercepted.
        This object is a 64-bit version of hh3cLIStreamPackets."
    ::= { hh3cLIStreamEntry 6 }

hh3cLIStreamHDrops OBJECT-TYPE
    SYNTAX Counter64
    MAX-ACCESS read-only
    STATUS current
    DESCRIPTION
        "The numbers of packets were dropped in the lawful intercept process.
        This object is a 64-bit version of hh3cLIStreamDrops."
    ::= { hh3cLIStreamEntry 7 }

hh3cLIStreamRowStatus OBJECT-TYPE
    SYNTAX RowStatus
    MAX-ACCESS read-create
    STATUS current
    DESCRIPTION
        "Operation status of this table entry."
    ::= { hh3cLIStreamEntry 8 }

--
-- hh3cLIIPStreamTable definition
--
hh3cLIIPStream OBJECT IDENTIFIER ::= { hh3cLI 2 }

hh3cLIIPStreamObjects OBJECT IDENTIFIER ::= { hh3cLIIPStream 1 }

hh3cLIIPStreamTable OBJECT-TYPE
    SYNTAX SEQUENCE OF Hh3cLIIPStreamEntry
    MAX-ACCESS not-accessible
    STATUS current
    DESCRIPTION
        "This table lists the IPv4 and IPv6 streams to be intercepted.
        It is associated with hh3cLIMediationTable and hh3cLIStreamTable."
    ::= { hh3cLIIPStreamObjects 1 }

hh3cLIIPStreamEntry OBJECT-TYPE
    SYNTAX Hh3cLIIPStreamEntry
    MAX-ACCESS not-accessible
    STATUS current
    DESCRIPTION
        "A single stream to be intercepted.
        The first index indicates the Mediation Device.
        The second index is that of the stream's counter entry
        in the hh3cLIStreamTable.  The second index permits multiple
        classifiers to be used together, such as having an IP address
        as source or destination."
    INDEX { hh3cLIMediationIndex, hh3cLIStreamIndex }
    ::= { hh3cLIIPStreamTable 1 }

Hh3cLIIPStreamEntry ::=
    SEQUENCE {
        hh3cLIIPStreamInterface          InterfaceIndexOrZero,
        hh3cLIIPStreamAddrType           InetAddressType,
        hh3cLIIPStreamDestAddr           InetAddress,
        hh3cLIIPStreamDestAddrLength     InetAddressPrefixLength,
        hh3cLIIPStreamSrcAddr            InetAddress,
        hh3cLIIPStreamSrcAddrLength      InetAddressPrefixLength,
        hh3cLIIPStreamTosByte            Integer32,
        hh3cLIIPStreamTosByteMask        Integer32,
        hh3cLIIPStreamFlowId             Integer32,
        hh3cLIIPStreamProtocol           Integer32,
        hh3cLIIPStreamDestL4PortMin      InetPortNumber,
        hh3cLIIPStreamDestL4PortMax      InetPortNumber,
        hh3cLIIPStreamSrcL4PortMin       InetPortNumber,
        hh3cLIIPStreamSrcL4PortMax       InetPortNumber,
        hh3cLIIPStreamVRF                SnmpAdminString,
        hh3cLIIPStreamRowStatus          RowStatus
     }

hh3cLIIPStreamInterface OBJECT-TYPE
    SYNTAX InterfaceIndexOrZero
    MAX-ACCESS read-write
    STATUS current
    DESCRIPTION
        "Traffic received or transmitted over this interface
         will be intercepted.

         This value must be set when creating a stream entry,
         either zero, or a valid interface index.

         If the value is zero, interception accepts any interface.
         Then at least one additional parameter must be selected,
         and not be default value."
    ::= { hh3cLIIPStreamEntry 1 }

hh3cLIIPStreamAddrType OBJECT-TYPE
    SYNTAX InetAddressType
    MAX-ACCESS read-write
    STATUS current
    DESCRIPTION
        "The type of address, used in packet selection."
    DEFVAL { ipv4 }
    ::= { hh3cLIIPStreamEntry 2 }

hh3cLIIPStreamDestAddr OBJECT-TYPE
    SYNTAX InetAddress
    MAX-ACCESS read-write
    STATUS current
    DESCRIPTION
        "The Destination address  used in packet selection.
        This address will be consistent with the type specified in
        hh3cLIIPStreamAddrType."
    DEFVAL  { '00000000'H }
    ::= { hh3cLIIPStreamEntry 3 }

hh3cLIIPStreamDestAddrLength OBJECT-TYPE
    SYNTAX InetAddressPrefixLength
    MAX-ACCESS read-write
    STATUS current
    DESCRIPTION
        "The length of the Destination Prefix.  A value of zero means
        all addresses to match.  This prefix length will be consistent
        with the type specified in hh3cLIIPStreamAddrType."
    DEFVAL { 0 }
    ::= { hh3cLIIPStreamEntry 4 }

hh3cLIIPStreamSrcAddr OBJECT-TYPE
    SYNTAX InetAddress
    MAX-ACCESS read-write
    STATUS current
    DESCRIPTION
        "The Source Address used in packet selection.  This address will
        be consistent with the type specified in hh3cLIIPStreamAddrType."
    DEFVAL  { '00000000'H }
    ::= { hh3cLIIPStreamEntry 5 }

hh3cLIIPStreamSrcAddrLength OBJECT-TYPE
    SYNTAX InetAddressPrefixLength
    MAX-ACCESS read-write
    STATUS current
    DESCRIPTION
        "The length of the Source Prefix.  A value of zero means all
        addresses to match.  This prefix length will be consistent with
        the type specified in hh3cLIIPStreamAddrType."
    DEFVAL { 0 }
    ::= { hh3cLIIPStreamEntry 6 }

hh3cLIIPStreamTosByte OBJECT-TYPE
    SYNTAX Integer32 (0..255)
    MAX-ACCESS read-write
    STATUS current
    DESCRIPTION
        "The value of the TOS byte.
        If hh3cLIIPStreamTosByte&(~hh3cLIIPStreamTosByteMask)!=0,
        configuration is rejected."
    DEFVAL { 0 }
    ::= { hh3cLIIPStreamEntry 7 }

hh3cLIIPStreamTosByteMask OBJECT-TYPE
    SYNTAX Integer32 (0..255)
    MAX-ACCESS read-write
    STATUS current
    DESCRIPTION
        "This value is ANDed with the value of the TOS byte in a packet
         and compared with hh3cLIIPStreamTosByte.  If the values are equal,
         the comparison is equal.
         If both the mask and the TosByte value are zero,
         the result is to always accept."
    DEFVAL { 0 }
    ::= { hh3cLIIPStreamEntry 8 }

hh3cLIIPStreamFlowId OBJECT-TYPE
    SYNTAX Integer32 (-1 | 0..1048575)
    MAX-ACCESS read-write
    STATUS current
    DESCRIPTION
        "The flow identifier in an IPv6 header.  -1 indicates that the
        Flow Id is unused."
    DEFVAL { -1 } -- any flow identifier value
    ::= { hh3cLIIPStreamEntry 9 }

hh3cLIIPStreamProtocol OBJECT-TYPE
    SYNTAX Integer32 (-1 | 0..255)
    MAX-ACCESS read-write
    STATUS current
    DESCRIPTION
        "The IP protocol to match against the IPv4 protocol number or
        the IPv6 Next- Header number in the packet."
    DEFVAL { -1 } -- any IP protocol
    ::= { hh3cLIIPStreamEntry 10 }

hh3cLIIPStreamDestL4PortMin OBJECT-TYPE
    SYNTAX InetPortNumber
    MAX-ACCESS read-write
    STATUS current
    DESCRIPTION
        "The minimum value that the layer-4 destination port number in
         the packet must have in order to match.  This value must be
         equal to or less than the value specified for this entry in
         hh3cLIIPStreamDestL4PortMax.

         If both hh3cLIIPStreamDestL4PortMin and hh3cLIIPStreamDestL4PortMax
         are at their default values, the port number is effectively unused.
         If hh3cLIIPStreamDestL4PortMin is equal to
         hh3cLIIPStreamDestL4PortMax, only one port number to be intercepted."
    DEFVAL { 0 }
    ::= { hh3cLIIPStreamEntry 11 }

hh3cLIIPStreamDestL4PortMax OBJECT-TYPE
    SYNTAX InetPortNumber
    MAX-ACCESS read-write
    STATUS current
    DESCRIPTION
        "The maximum value that the layer-4 destination port number in
         the packet must have in order to match this classifier entry.
         This value must be equal to or greater than the value specified
         for this entry in hh3cLIIPStreamDestL4PortMin.
         If both hh3cLIIPStreamDestL4PortMin and hh3cLIIPStreamDestL4PortMax
         are at their default values, the port number is effectively unused.
         If hh3cLIIPStreamDestL4PortMin is equal to hh3cLIIPStreamDestL4PortMax,
         only one port number to be intercepted."
    DEFVAL { 65535 }
    ::= { hh3cLIIPStreamEntry 12 }

hh3cLIIPStreamSrcL4PortMin OBJECT-TYPE
    SYNTAX InetPortNumber
    MAX-ACCESS read-write
    STATUS current
    DESCRIPTION
        "The minimum value that the layer-4 destination port number in
         the packet must have in order to match.  This value must be
         equal to or less than the value specified for this entry in
         hh3cLIIPStreamSrcL4PortMax.
         If both hh3cLIIPStreamSrcL4PortMin and hh3cLIIPStreamSrcL4PortMax
         are at their default values, the port number is effectively unused.
         If hh3cLIIPStreamSrcL4PortMin is equal to
         hh3cLIIPStreamSrcL4PortMax, only one port number to be intercepted."
    DEFVAL { 0 }
    ::= { hh3cLIIPStreamEntry 13 }

hh3cLIIPStreamSrcL4PortMax OBJECT-TYPE
    SYNTAX InetPortNumber
    MAX-ACCESS read-write
    STATUS current
    DESCRIPTION
        "The maximum value that the layer-4 destination port number in
         the packet must have in order to match this classifier entry.
         This value must be equal to or greater than the value specified
         for this entry in hh3cLIIPStreamSrcL4PortMin.
         If both hh3cLIIPStreamSrcL4PortMin and hh3cLIIPStreamSrcL4PortMax
         are at their default values, the port number is effectively unused.
         If hh3cLIIPStreamSrcL4PortMin is equal to hh3cLIIPStreamSrcL4PortMax,
         only one port number to be intercepted."
    DEFVAL { 65535 }
    ::= { hh3cLIIPStreamEntry 14 }

hh3cLIIPStreamVRF OBJECT-TYPE
    SYNTAX SnmpAdminString
    MAX-ACCESS read-write
    STATUS current
    DESCRIPTION
        "It is the name of a Virtual Routing and Forwarding (VRF) of a VPN."
    DEFVAL { "" }
    ::= { hh3cLIIPStreamEntry 15 }

hh3cLIIPStreamRowStatus OBJECT-TYPE
    SYNTAX RowStatus
    MAX-ACCESS read-create
    STATUS current
    DESCRIPTION
        "Operation status of this table entry."
    ::= { hh3cLIIPStreamEntry 18 }

--
-- hh3cLIMACStreamTable definition
--
hh3cLIMACStream OBJECT IDENTIFIER ::= { hh3cLI 3 }

hh3cLIMACStreamObjects OBJECT IDENTIFIER ::= { hh3cLIMACStream 1 }

hh3cLIMACStreamTable OBJECT-TYPE
    SYNTAX SEQUENCE OF Hh3cLIMACStreamEntry
    MAX-ACCESS not-accessible
    STATUS current
    DESCRIPTION
        "This table lists the IEEE 802 streams to be intercepted.
        It is associated with hh3cLIMediationTable and hh3cLIStreamTable."
    ::= { hh3cLIMACStreamObjects 1 }

hh3cLIMACStreamEntry OBJECT-TYPE
    SYNTAX Hh3cLIMACStreamEntry
    MAX-ACCESS not-accessible
    STATUS current
    DESCRIPTION
        "A single stream to be intercepted.
        The first index indicates the Mediation Device.
        The second index is that of the stream's counter entry
        in the hh3cLIStreamTable.  The second index permits multiple
        classifiers to be used together, such as having an MAC address
        as source or destination."
    INDEX { hh3cLIMediationIndex, hh3cLIStreamIndex }
    ::= { hh3cLIMACStreamTable 1 }

Hh3cLIMACStreamEntry ::=
    SEQUENCE {
        hh3cLIMACStreamFields        BITS,
        hh3cLIMACStreamInterface     InterfaceIndexOrZero,
        hh3cLIMACStreamDestAddr      MacAddress,
        hh3cLIMACStreamSrcAddr       MacAddress,
        hh3cLIMACStreamEthPid        Unsigned32,
        hh3cLIMACStreamDSap          Unsigned32,
        hh3cLIMACStreamSSap          Unsigned32,
        hh3cLIMACStreamRowStatus     RowStatus
     }

hh3cLIMACStreamFields OBJECT-TYPE
    SYNTAX BITS {
                    interface(0),
                    dstMacAddress(1),
                    srcMacAddress(2),
                    ethernetPid(3),
                    dSap(4),
                    sSap(5)
                }
    MAX-ACCESS read-write
    STATUS current
    DESCRIPTION
        "This object displays what attributes will be compared to
         identify traffic.
         interface:     indicates that traffic on the stated
                                interface is to be intercepted
         dstMacAddress: indicates that traffic destined to a
                                given address should be intercepted
         srcMacAddress: indicates that traffic sourced from a
                                given address should be intercepted
         ethernetPid:   indicates that traffic with a stated
                                Ethernet Protocol Identifier should
                                be intercepted
         dSap:          indicates that traffic with an certain
                                802.2 LLC Destination SAP should be
                                intercepted
         sSap:          indicates that traffic with an certain
                                802.2 LLC Source SAP should be intercepted

         At least one of the bits has to be set in order to activate an
         entry.  If multiple bits are set, traffic to be intercepted must
         be satisfied with all set attributes."
    ::= { hh3cLIMACStreamEntry 1 }

hh3cLIMACStreamInterface OBJECT-TYPE
    SYNTAX InterfaceIndexOrZero
    MAX-ACCESS read-write
    STATUS current
    DESCRIPTION
        "Traffic received or transmitted over this interface
         will be intercepted.
         This value must be set when creating a stream entry,
         either zero, or a valid interface index.
         If the value is zero, interception accepts any interface.
         Additional parameter must be selected together."
    ::= { hh3cLIMACStreamEntry 2 }

hh3cLIMACStreamDestAddr OBJECT-TYPE
    SYNTAX MacAddress
    MAX-ACCESS read-write
    STATUS current
    DESCRIPTION
        "The Destination address used in packet selection."
    ::= { hh3cLIMACStreamEntry 3 }

hh3cLIMACStreamSrcAddr OBJECT-TYPE
    SYNTAX MacAddress
    MAX-ACCESS read-write
    STATUS current
    DESCRIPTION
        "The Source Address used in packet selection."
    ::= { hh3cLIMACStreamEntry 4 }

hh3cLIMACStreamEthPid OBJECT-TYPE
    SYNTAX Unsigned32
    MAX-ACCESS read-write
    STATUS current
    DESCRIPTION
        "The value of the Ethernet Protocol Identifier in the
        Ethernet traffic or IEEE 802.2 SNAP traffic."
    ::= { hh3cLIMACStreamEntry 5 }

hh3cLIMACStreamDSap OBJECT-TYPE
    SYNTAX Unsigned32
    MAX-ACCESS read-write
    STATUS current
    DESCRIPTION
        "The value of the IEEE 802.2 Destination SAP."
    ::= { hh3cLIMACStreamEntry 6 }

hh3cLIMACStreamSSap OBJECT-TYPE
    SYNTAX Unsigned32
    MAX-ACCESS read-write
    STATUS current
    DESCRIPTION
        "The value of the IEEE 802.2 Source SAP."
    ::= { hh3cLIMACStreamEntry 7 }

hh3cLIMACStreamRowStatus OBJECT-TYPE
    SYNTAX RowStatus
    MAX-ACCESS read-create
    STATUS current
    DESCRIPTION
        "Operation status of this table entry."
    ::= { hh3cLIMACStreamEntry 8 }

--
-- hh3cLIUserStreamTable definition
--
hh3cLIUserStream OBJECT IDENTIFIER ::= { hh3cLI 4 }

hh3cLIUserStreamObjects OBJECT IDENTIFIER ::= { hh3cLIUserStream 1 }

hh3cLIUserStreamTable OBJECT-TYPE
    SYNTAX SEQUENCE OF Hh3cLIUserStreamEntry
    MAX-ACCESS not-accessible
    STATUS current
    DESCRIPTION
        "This table lists the user connection streams to be intercepted.
        It is associated with hh3cLIMediationTable and hh3cLIStreamTable."
    ::= { hh3cLIUserStreamObjects 1 }

hh3cLIUserStreamEntry OBJECT-TYPE
    SYNTAX Hh3cLIUserStreamEntry
    MAX-ACCESS not-accessible
    STATUS current
    DESCRIPTION
        "A single stream to be intercepted.
        The first index indicates the Mediation Device.
        The second index is that of the stream's counter entry
        in the hh3cLIStreamTable.  This permits multiple classifiers
        to be used together."
    INDEX { hh3cLIMediationIndex, hh3cLIStreamIndex }
    ::= { hh3cLIUserStreamTable 1 }

Hh3cLIUserStreamEntry ::=
    SEQUENCE {
        hh3cLIUserStreamAcctSessID       OCTET STRING,
        hh3cLIUserStreamRowStatus        RowStatus
     }

hh3cLIUserStreamAcctSessID OBJECT-TYPE
    SYNTAX OCTET STRING (SIZE (0..253))
    MAX-ACCESS read-write
    STATUS current
    DESCRIPTION
        "This is the RADIUS attribute 44 acct-session-ID.
         The string must be set, and the length not be zero."
    ::= { hh3cLIUserStreamEntry 1 }

hh3cLIUserStreamRowStatus OBJECT-TYPE
    SYNTAX RowStatus
    MAX-ACCESS read-create
    STATUS current
    DESCRIPTION
        "Operation status of this table entry."
    ::= { hh3cLIUserStreamEntry 2 }

END