summaryrefslogtreecommitdiff
path: root/MIBS/huawei/HUAWEI-USERLOG-MIB
blob: a9494344f484035e779c7e0804549954631c5c74 (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
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
--     =================================================================
-- Copyright (C) 2003 by  HUAWEI TECHNOLOGIES. All rights reserved
-- 
-- Description: This mib file is used for management of huawei userlog
--              information. 
-- Reference:
-- Version:     V1.1
-- History:
--              tianli,2003.3.31,publish 
--              Zhang Peng,2004.5.19,Reunification version based on V1.0 .
-- =================================================================

HUAWEI-USERLOG-MIB DEFINITIONS ::= BEGIN

    IMPORTS
        OBJECT-GROUP, MODULE-COMPLIANCE                 
            FROM SNMPv2-CONF                        
        IpAddress, Integer32, Counter32, OBJECT-TYPE, MODULE-IDENTITY                   
            FROM SNMPv2-SMI
        hwDatacomm            
            FROM HUAWEI-MIB;

    -- 1.3.6.1.4.1.2011.5.25.18
    hwUserLogMIB MODULE-IDENTITY 
        LAST-UPDATED "200304100000Z"
        ORGANIZATION 
            "Huawei Technologies co.,Ltd."
        CONTACT-INFO 
            " R&D BeiJing, Huawei Technologies co.,Ltd.
            Huawei Bld.,NO.3 Xinxi Rd., 
            Shang-Di Information Industry Base,
            Hai-Dian District Beijing P.R. China
            Zip:100085 
            Http://www.huawei.com                                       
            E-mail:support@huawei.com "
        DESCRIPTION 
            "The HUAWEI-USERLOG-MIB contains objects to 
            manage configuration and monitor running state 
            for userlog feature.
            For users who access network through NAT and BAS 
            equipments, their IP addresses are generally 
            unfixed, and so it is hard to exactly locate which 
            host a certain access comes from and which user 
            initiates it. This decreases the network security. 
            User log is designed to solve the problem. User log 
            can record Network Address Translation (NAT) flow 
            information, and login/ logout information and flow 
            information of Broadband Access Server (BAS) user, 
            thus enabling the administrator know address 
            information before NAT, access record of BAS user, etc. 
            Then, network activities and operations can be queried 
            and tracked, and network availability and security are 
            improved accordingly."
        ::= { hwDatacomm 18 }
    --
    -- Node definitions
    --
            
    -- 1.3.6.1.4.1.2011.5.25.18.1
    hwUserlogObjects OBJECT IDENTIFIER ::= { hwUserLogMIB 1 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.1
    hwUserlogNatObjects OBJECT IDENTIFIER ::= { hwUserlogObjects 1 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.1.1
    hwUserlogNatVersion OBJECT-TYPE
        SYNTAX Integer32
        MAX-ACCESS read-only
        STATUS current
        DESCRIPTION
            "NAT LOG version. Currently only version 1 is developed."
        ::= { hwUserlogNatObjects 1 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.1.2
    hwUserlogNatSyslog OBJECT-TYPE
        SYNTAX Integer32
        MAX-ACCESS read-write
        STATUS current
        DESCRIPTION
            "NAT LOG format. 
             If 1, LOG format is sysLog.
             If 0, LOG format is UDP packet. 
             UDP packet is the default format and is recommended.
             Syslog can be used in the case that log amount is not too large."
        ::= { hwUserlogNatObjects 2 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.1.3
    hwUserlogNatSourceIP OBJECT-TYPE
        SYNTAX IpAddress
        MAX-ACCESS read-write
        STATUS current
        DESCRIPTION
            "The Source IP address of NAT LOG UDP packet.
            By default, the source IP address of the UDP packet 
            is the IP address of the interface through which the 
            router outputs the user log packet.
            On the user log server side, the source of log 
            information can be located rapidly through identifying 
            the source IP address of the log. You are recommended 
            to configure a loopback address or router ID to function 
            as the source IP address of the UDP packet."
        ::= { hwUserlogNatObjects 3 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.1.4
    hwUserlogNatFlowBegin OBJECT-TYPE
        SYNTAX Integer32
        MAX-ACCESS read-write
        STATUS current
        DESCRIPTION
            "Log the NAT flow when it is created. 
             If 1, this function is enabled.
             If 0, this function is disabled.
             This function will be used when real-time monitor is required. 
             The default value 0 means this function is disabled."
        ::= { hwUserlogNatObjects 4 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.1.5
    hwUserlogNatActiveTime OBJECT-TYPE
        SYNTAX Integer32
        MAX-ACCESS read-write
        STATUS current
        DESCRIPTION
            "The active time for long-time existed NAT flow. 
             Unit: minute. Range: 10 minutes ~ 120 minutes.
             When setting it, NAT flow can be logged after an interval of active time. 
             This function will be used when real-time monitor is required.
             The default value 0 means real-time monitor function is disabled. "
        ::= { hwUserlogNatObjects 5 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.1.6
    hwUserlogNatSlotCfgInfoTable OBJECT-TYPE
        SYNTAX SEQUENCE OF HwUserlogNatSlotCfgInfoEntry
        MAX-ACCESS not-accessible
        STATUS current
        DESCRIPTION
            "A table of NAT LOG configuration information for the specified slot.
            By default, user log function is disabled on the interface board.
            Only after user log function is enabled, the other configurations 
            related to user log take effect."
        ::= { hwUserlogNatObjects 6 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.1.6.1
    hwUserlogNatSlotCfgInfoEntry OBJECT-TYPE
        SYNTAX HwUserlogNatSlotCfgInfoEntry
        MAX-ACCESS not-accessible
        STATUS current
        DESCRIPTION
            "NAT LOG configuration information entry for a slot."
        INDEX { hwUserlogNatCfgSlotNumber }
        ::= { hwUserlogNatSlotCfgInfoTable 1 }

    HwUserlogNatSlotCfgInfoEntry ::=
        SEQUENCE { 
            hwUserlogNatCfgSlotNumber
                Integer32,
            hwUserlogNatEnable
                Integer32,
            hwUserlogNatAclNumber
                Integer32,
            hwUserlogNatHostAddress
                IpAddress,
            hwUserlogNatUdpPort
                Integer32
            }

    -- 1.3.6.1.4.1.2011.5.25.18.1.1.6.1.1
    hwUserlogNatCfgSlotNumber OBJECT-TYPE
        SYNTAX Integer32 (0..15)
        MAX-ACCESS read-only
        STATUS current
        DESCRIPTION
            "Slot number. 
             The object specifies which slot is configured with NAT LOG. 
             For NAT LOG, it is the slot of the egress interface 
             configured with NAT."
        ::= { hwUserlogNatSlotCfgInfoEntry 1 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.1.6.1.2
    hwUserlogNatEnable OBJECT-TYPE
        SYNTAX Integer32
        MAX-ACCESS read-write
        STATUS current
        DESCRIPTION
            "The NAT LOG feature status. 
             If 1, NAT LOG is enabled. 
             If 0, NAT LOG is disabled.
             The default value 0 means NAT LOG is disabled."
        ::= { hwUserlogNatSlotCfgInfoEntry 2 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.1.6.1.3
    hwUserlogNatAclNumber OBJECT-TYPE
        SYNTAX Integer32
        MAX-ACCESS read-write
        STATUS current
        DESCRIPTION
            "Access-list number. Its range is 2000 ~ 3999. 
             The value 0 means no ACL is specified.
             Only when NAT LOG is enabled, and ACL is configured.
             Only NAT flow which match the ACL will be logged. "
        ::= { hwUserlogNatSlotCfgInfoEntry 3 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.1.6.1.4
    hwUserlogNatHostAddress OBJECT-TYPE
        SYNTAX IpAddress
        MAX-ACCESS read-write
        STATUS current
        DESCRIPTION
            "The IP address of NAT LOG server. 
            If user log is output in UDP packet mode, user log 
            server must be configured and user log server address 
            must be specified correctly. Otherwise, user log 
            function cannot work normally.
            The address of the destination server must be a valid 
            unicast address rather than a loop address or multicast 
            address. In principle, it should be the address of the 
            user log server that can communicate normally."
        ::= { hwUserlogNatSlotCfgInfoEntry 4 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.1.6.1.5
    hwUserlogNatUdpPort OBJECT-TYPE
        SYNTAX Integer32 (0..65535)
        MAX-ACCESS read-write
        STATUS current
        DESCRIPTION
            "The UDP Port Number of NAT LOG server. Its range is 1 ~ 65535.
            In order to avoid confliction with general UDP port numbers, 
            you are recommended to use the UDP port number above 1024."
        ::= { hwUserlogNatSlotCfgInfoEntry 5 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.1.7
    hwUserlogNatSlotRunInfoTable OBJECT-TYPE
        SYNTAX SEQUENCE OF HwUserlogNatSlotRunInfoEntry
        MAX-ACCESS not-accessible
        STATUS current
        DESCRIPTION
            "A table of NAT LOG running information for the specified slot."
        ::= { hwUserlogNatObjects 7 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.1.7.1
    hwUserlogNatSlotRunInfoEntry OBJECT-TYPE
        SYNTAX HwUserlogNatSlotRunInfoEntry
        MAX-ACCESS not-accessible
        STATUS current
        DESCRIPTION
            "NAT LOG running information entry for a slot."
        INDEX { hwUserlogNatRunSlotNumber }
        ::= { hwUserlogNatSlotRunInfoTable 1 }

    HwUserlogNatSlotRunInfoEntry ::=
        SEQUENCE { 
            hwUserlogNatRunSlotNumber
                Integer32,
            hwUserlogNatTotalEntries
                Counter32,
            hwUserlogNatTotalPackets
                Counter32,
            hwUserlogNatFailedEntries
                Counter32,
            hwUserlogNatFailedPackets
                Counter32,
            hwUserlogNatClearRunStat
                Integer32
            }

    -- 1.3.6.1.4.1.2011.5.25.18.1.1.7.1.1
    hwUserlogNatRunSlotNumber OBJECT-TYPE
        SYNTAX Integer32 (0..15)
        MAX-ACCESS read-only
        STATUS current
        DESCRIPTION
            "Slot number. 
             The object specifies on which slot the NAT LOG statistics are calculated."
        ::= { hwUserlogNatSlotRunInfoEntry 1 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.1.7.1.2
    hwUserlogNatTotalEntries OBJECT-TYPE
        SYNTAX Counter32
        MAX-ACCESS read-only
        STATUS current
        DESCRIPTION
            "The total number of NAT flow entries which are logged."
        ::= { hwUserlogNatSlotRunInfoEntry 2 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.1.7.1.3
    hwUserlogNatTotalPackets OBJECT-TYPE
        SYNTAX Counter32
        MAX-ACCESS read-only
        STATUS current
        DESCRIPTION
            "The total number of NAT LOG UDP packets generated by the device."
        ::= { hwUserlogNatSlotRunInfoEntry 3 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.1.7.1.4
    hwUserlogNatFailedEntries OBJECT-TYPE
        SYNTAX Counter32
        MAX-ACCESS read-only
        STATUS current
        DESCRIPTION
            "The total number of NAT flow entries failed in outputting."
        ::= { hwUserlogNatSlotRunInfoEntry 4 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.1.7.1.5
    hwUserlogNatFailedPackets OBJECT-TYPE
        SYNTAX Counter32
        MAX-ACCESS read-only
        STATUS current
        DESCRIPTION
            "The total number of NAT LOG UDP packets failed in outputting."
        ::= { hwUserlogNatSlotRunInfoEntry 5 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.1.7.1.6
    hwUserlogNatClearRunStat OBJECT-TYPE
        SYNTAX Integer32
        MAX-ACCESS read-write
        STATUS current
        DESCRIPTION
            "Clears the running statistics for NAT LOG. Its access is write-only.
             If 1, the running statistics for NAT LOG is resetted.
             Other value is invalid."
        ::= { hwUserlogNatSlotRunInfoEntry 6 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.2
    hwUserlogFlowObjects OBJECT IDENTIFIER ::= { hwUserlogObjects 2 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.2.1
    hwUserlogFlowVersion OBJECT-TYPE
        SYNTAX Integer32
        MAX-ACCESS read-only
        STATUS current
        DESCRIPTION
            "BAS FLOW LOG version. Currently only version 1 is developed."
        ::= { hwUserlogFlowObjects 1 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.2.2
    hwUserlogFlowSyslog OBJECT-TYPE
        SYNTAX Integer32
        MAX-ACCESS read-write
        STATUS current
        DESCRIPTION
            "BAS FLOW LOG format. 
             If 1, LOG format is sysLog.
             If 0, LOG format is UDP packet. 
             UDP packet is the default format, and is recommended. 
             Syslog can be used in the case that log amount is not 
             too large."
        ::= { hwUserlogFlowObjects 2 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.2.3
    hwUserlogFlowSourceIP OBJECT-TYPE
        SYNTAX IpAddress
        MAX-ACCESS read-write
        STATUS current
        DESCRIPTION
            "The Source IP address of BAS FLOW LOG UDP packet.
            By default, the source IP address of the UDP packet 
            is the IP address of the interface through which the 
            router outputs the user log packet.
            On the user log server side, the source of log 
            information can be located rapidly through identifying 
            the source IP address of the log. You are recommended 
            to configure a loopback address or router ID to function 
            as the source IP address of the UDP packet."
        ::= { hwUserlogFlowObjects 3 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.2.4
    hwUserlogFlowFlowBegin OBJECT-TYPE
        SYNTAX Integer32
        MAX-ACCESS read-write
        STATUS current
        DESCRIPTION
            "Log the BAS flow when it is created. 
            If 1, this function is enabled.
            If 0, this function is disabled.
            This function will be used when real-time monitor is required. 
            The default value 0 means this function is disabled."
        ::= { hwUserlogFlowObjects 4 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.2.5
    hwUserlogFlowActiveTime OBJECT-TYPE
        SYNTAX Integer32
        MAX-ACCESS read-write
        STATUS current
        DESCRIPTION
            "The active time for long-time existed BAS flow. 
            Its unit is minute. Its range is 10 minutes ~ 120 minutes.
            When setting it, BAS flow can be logged after an internal of active time. 
            This function will be used when real-time monitor is required.
            The default value 0 means real-time monitor function
            is disabled. "
        ::= { hwUserlogFlowObjects 5 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.2.6
    hwUserlogFlowSlotCfgInfoTable OBJECT-TYPE
        SYNTAX SEQUENCE OF HwUserlogFlowSlotCfgInfoEntry
        MAX-ACCESS not-accessible
        STATUS current
        DESCRIPTION
            "A table of BAS FLOW LOG configuration information for the specified slot.
            By default, user log function is disabled on the interface board.
            Only after user log function is enabled, the other configurations 
            related to user log take effect."
        ::= { hwUserlogFlowObjects 6 }


    -- 1.3.6.1.4.1.2011.5.25.18.1.2.6.1
    hwUserlogFlowSlotCfgInfoEntry OBJECT-TYPE
        SYNTAX HwUserlogFlowSlotCfgInfoEntry
        MAX-ACCESS not-accessible
        STATUS current
        DESCRIPTION
            "BAS FLOW LOG configuration information entry for a slot."
        INDEX { hwUserlogFlowCfgSlotNumber }
        ::= { hwUserlogFlowSlotCfgInfoTable 1 }

    HwUserlogFlowSlotCfgInfoEntry ::=
        SEQUENCE { 
            hwUserlogFlowCfgSlotNumber
                Integer32,
            hwUserlogFlowEnable
                Integer32,
            hwUserlogFlowAclNumber
                Integer32,
            hwUserlogFlowHostAddress
                IpAddress,
            hwUserlogFlowUdpPort
                Integer32
            }

    -- 1.3.6.1.4.1.2011.5.25.18.1.2.6.1.1
    hwUserlogFlowCfgSlotNumber OBJECT-TYPE
        SYNTAX Integer32 (0..15)
        MAX-ACCESS read-only
        STATUS current
        DESCRIPTION
            "Slot number. 
            The ojects specifies which slot is configured with BAS FLOW LOG. "
        ::= { hwUserlogFlowSlotCfgInfoEntry 1 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.2.6.1.2
    hwUserlogFlowEnable OBJECT-TYPE
        SYNTAX Integer32
        MAX-ACCESS read-write
        STATUS current
        DESCRIPTION
            "The BAS FLOW LOG feature status.
             If 1, BAS FLOW LOG is enabled. 
             If 0, BAS FLOW LOG is disabled.
             The default value 0 means BAS FLOW LOG is disabled."
        ::= { hwUserlogFlowSlotCfgInfoEntry 2 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.2.6.1.3
    hwUserlogFlowAclNumber OBJECT-TYPE
        SYNTAX Integer32
        MAX-ACCESS read-write
        STATUS current
        DESCRIPTION
            "Access-list number. Its range is 2000 ~ 3999. 
             The value 0 means no ACL is specified.
             Only when BAS FLOW LOG is enabled, the ACL be configured.
             Only BAS flow which match the ACL will be logged. "
        ::= { hwUserlogFlowSlotCfgInfoEntry 3 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.2.6.1.4
    hwUserlogFlowHostAddress OBJECT-TYPE
        SYNTAX IpAddress
        MAX-ACCESS read-write
        STATUS current
        DESCRIPTION
            "The IP address of BAS FLOW LOG server. 
            If user log is output in UDP packet mode, user log 
            server must be configured and user log server address 
            must be specified correctly. Otherwise, user log 
            function cannot work normally.
            The address of the destination server must be a valid 
            unicast address rather than a loop address or multicast 
            address. In principle, it should be the address of the 
            user log server that can communicate normally."
        ::= { hwUserlogFlowSlotCfgInfoEntry 4 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.2.6.1.5
    hwUserlogFlowUdpPort OBJECT-TYPE
        SYNTAX Integer32 (0..65535)
        MAX-ACCESS read-write
        STATUS current
        DESCRIPTION
            "The UDP Port Number of BAS FLOW LOG server. Its range is 1 ~ 65535.
             In order to avoid confliction with general UDP port numbers, 
             you are recommended to use the UDP port number above 1024."
        ::= { hwUserlogFlowSlotCfgInfoEntry 5 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.2.7
    hwUserlogFlowSlotRunInfoTable OBJECT-TYPE
        SYNTAX SEQUENCE OF HwUserlogFlowSlotRunInfoEntry
        MAX-ACCESS not-accessible
        STATUS current
        DESCRIPTION
            "A table of BAS FLOW LOG running information for the specified slot."
        ::= { hwUserlogFlowObjects 7 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.2.7.1
    hwUserlogFlowSlotRunInfoEntry OBJECT-TYPE
        SYNTAX HwUserlogFlowSlotRunInfoEntry
        MAX-ACCESS not-accessible
        STATUS current
        DESCRIPTION
            "Running Information Entry for a slot."
        INDEX { hwUserlogFlowRunSlotNumber }
        ::= { hwUserlogFlowSlotRunInfoTable 1 }

    HwUserlogFlowSlotRunInfoEntry ::=
        SEQUENCE { 
            hwUserlogFlowRunSlotNumber
                Integer32,
            hwUserlogFlowTotalEntries
                Counter32,
            hwUserlogFlowTotalPackets
                Counter32,
            hwUserlogFlowFailedEntries
                Counter32,
            hwUserlogFlowFailedPackets
                Counter32,
            hwUserlogFlowClearRunStat
                Integer32
             }

    -- 1.3.6.1.4.1.2011.5.25.18.1.2.7.1.1
    hwUserlogFlowRunSlotNumber OBJECT-TYPE
        SYNTAX Integer32 (0..15)
        MAX-ACCESS read-only
        STATUS current
        DESCRIPTION
            "Slot number. 
            The object specifies on which slot the BAS FLOW LOG statistics are calculated."
        ::= { hwUserlogFlowSlotRunInfoEntry 1 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.2.7.1.2
    hwUserlogFlowTotalEntries OBJECT-TYPE
        SYNTAX Counter32
        MAX-ACCESS read-only
        STATUS current
        DESCRIPTION
            "The total number of BAS FLOW Entries which are logged. "
        ::= { hwUserlogFlowSlotRunInfoEntry 2 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.2.7.1.3
    hwUserlogFlowTotalPackets OBJECT-TYPE
        SYNTAX Counter32
        MAX-ACCESS read-only
        STATUS current
        DESCRIPTION
            "The total number of FLOW LOG UDP packet generated by the device. "
        ::= { hwUserlogFlowSlotRunInfoEntry 3 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.2.7.1.4
    hwUserlogFlowFailedEntries OBJECT-TYPE
        SYNTAX Counter32
        MAX-ACCESS read-only
        STATUS current
        DESCRIPTION
            "The total number of BAS FLOW  entries failed in outputting. "
        ::= { hwUserlogFlowSlotRunInfoEntry 4 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.2.7.1.5
    hwUserlogFlowFailedPackets OBJECT-TYPE
        SYNTAX Counter32
        MAX-ACCESS read-only
        STATUS current
        DESCRIPTION
            "The total number of BAS FLOW LOG UDP packet failed in outputting."
        ::= { hwUserlogFlowSlotRunInfoEntry 5 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.2.7.1.6
    hwUserlogFlowClearRunStat OBJECT-TYPE
        SYNTAX Integer32
        MAX-ACCESS read-write
        STATUS current
        DESCRIPTION
            "Clears the running statistics for FLOW LOG. Its access is write-only.
             If 1, the running statistics for FLOW LOG is resetted.
             Other value is invalid."
        ::= { hwUserlogFlowSlotRunInfoEntry 6 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.3
    hwUserlogAccessObjects OBJECT IDENTIFIER ::= { hwUserlogObjects 3 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.3.1
    hwUserlogAccessVersion OBJECT-TYPE
        SYNTAX Integer32
        MAX-ACCESS read-only
        STATUS current
        DESCRIPTION
            "BAS ACCESS LOG version. Currently only version 1 is developed."
        ::= { hwUserlogAccessObjects 1 }
    
    -- 1.3.6.1.4.1.2011.5.25.18.1.3.2
    hwUserlogAccessSyslog OBJECT-TYPE
        SYNTAX Integer32
        MAX-ACCESS read-write
        STATUS current
        DESCRIPTION
            "BAS ACCESS LOG format. 
             If 1, LOG format is sysLog; 
             If 0, LOG format is UDP packet. 
             UDP packet is the default format, and is recommended. 
             Syslog can be used in the case that log amount is not too large."
        ::= { hwUserlogAccessObjects 2 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.3.3
    hwUserlogAccessSourceIP OBJECT-TYPE
        SYNTAX IpAddress
        MAX-ACCESS read-write
        STATUS current
        DESCRIPTION
            "The Source IP address of BAS ACCESS LOG UDP packet. 
            By default, the source IP address of the UDP packet 
            is the IP address of the interface through which the 
            router outputs the user log packet.
            On the user log server side, the source of log 
            information can be located rapidly through identifying 
            the source IP address of the log. You are recommended 
            to configure a loopback address or router ID to function 
            as the source IP address of the UDP packet."
        ::= { hwUserlogAccessObjects 3 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.3.4
    hwUserlogAccessSlotCfgInfoTable OBJECT-TYPE
        SYNTAX SEQUENCE OF HwUserlogAccessSlotCfgInfoEntry
        MAX-ACCESS not-accessible
        STATUS current
        DESCRIPTION
            "A table of BAS ACCESS LOG configuration information for the specified slot."
        ::= { hwUserlogAccessObjects 4 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.3.4.1
    hwUserlogAccessSlotCfgInfoEntry OBJECT-TYPE
        SYNTAX HwUserlogAccessSlotCfgInfoEntry
        MAX-ACCESS not-accessible
        STATUS current
        DESCRIPTION
            "BAS ACCESS LOG configuration information entry for a slot."
        INDEX { hwUserlogAccessCfgSlotNumber }
        ::= { hwUserlogAccessSlotCfgInfoTable 1 }

    HwUserlogAccessSlotCfgInfoEntry ::=
        SEQUENCE { 
            hwUserlogAccessCfgSlotNumber
                Integer32,
            hwUserlogAccessEnable
                Integer32,
            hwUserlogAccessHostAddress
                IpAddress,
            hwUserlogAccessUdpPort
                Integer32
            }

    -- 1.3.6.1.4.1.2011.5.25.18.1.3.4.1.1
    hwUserlogAccessCfgSlotNumber OBJECT-TYPE
        SYNTAX Integer32 (0..15)
        MAX-ACCESS read-only
        STATUS current
        DESCRIPTION
            "Slot number. 
             The object specifies which slot is configured with BAS ACCESS LOG. "
        ::= { hwUserlogAccessSlotCfgInfoEntry 1 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.3.4.1.2
    hwUserlogAccessEnable OBJECT-TYPE
        SYNTAX Integer32
        MAX-ACCESS read-write
        STATUS current
        DESCRIPTION
            "The BAS ACCESS LOG feature status.
             If 1, BAS ACCESS LOG is enabled. 
             If 0, BAS ACCESS LOG is disabled.
             The default value 0 means BAS ACCESS LOG is disabled."
        ::= { hwUserlogAccessSlotCfgInfoEntry 2 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.3.4.1.3
    hwUserlogAccessHostAddress OBJECT-TYPE
        SYNTAX IpAddress
        MAX-ACCESS read-write
        STATUS current
        DESCRIPTION
            "The IP address of BAS ACCESS LOG server. 
            If user log is output in UDP packet mode, user log 
            server must be configured and user log server address 
            must be specified correctly. Otherwise, user log 
            function cannot work normally.
            The address of the destination server must be a valid 
            unicast address rather than a loop address or multicast 
            address. In principle, it should be the address of the 
            user log server that can communicate normally."
        ::= { hwUserlogAccessSlotCfgInfoEntry 3 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.3.4.1.4
    hwUserlogAccessUdpPort OBJECT-TYPE
        SYNTAX Integer32 (0..65535)
        MAX-ACCESS read-write
        STATUS current
        DESCRIPTION
            "The UDP Port Number of BAS ACCESS LOG server. Its range is 1 ~ 65535.
            In order to avoid confliction with general UDP port numbers, 
            you are recommended to use the UDP port number above 1024."
        ::= { hwUserlogAccessSlotCfgInfoEntry 4 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.3.5
    hwUserlogAccessSlotRunInfoTable OBJECT-TYPE
        SYNTAX SEQUENCE OF HwUserlogAccessSlotRunInfoEntry
        MAX-ACCESS not-accessible
        STATUS current
        DESCRIPTION
            "A table of BAS ACCESS LOG running information 
            for the specified slot."
        ::= { hwUserlogAccessObjects 5 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.3.5.1
    hwUserlogAccessSlotRunInfoEntry OBJECT-TYPE
        SYNTAX HwUserlogAccessSlotRunInfoEntry
        MAX-ACCESS not-accessible
        STATUS current
        DESCRIPTION
            "Running Information Entry for a slot."
        INDEX { hwUserlogAccessRunSlotNumber }
        ::= { hwUserlogAccessSlotRunInfoTable 1 }

    HwUserlogAccessSlotRunInfoEntry ::=
        SEQUENCE { 
            hwUserlogAccessRunSlotNumber
                Integer32,
            hwUserlogAccessTotalEntries
                Counter32,
            hwUserlogAccessTotalPackets
                Counter32,
            hwUserlogAccessFailedEntries
                Counter32,
            hwUserlogAccessFailedPackets
                Counter32,
            hwUserlogAccessClearRunStat
                Integer32
            }

    -- 1.3.6.1.4.1.2011.5.25.18.1.3.5.1.1
    hwUserlogAccessRunSlotNumber OBJECT-TYPE
        SYNTAX Integer32 (0..15)
        MAX-ACCESS read-only
        STATUS current
        DESCRIPTION
            "Slot number. 
             The object specifies on which slot the BAS ACCESS LOG statistics 
             are calculated."
        ::= { hwUserlogAccessSlotRunInfoEntry 1 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.3.5.1.2
    hwUserlogAccessTotalEntries OBJECT-TYPE
        SYNTAX Counter32
        MAX-ACCESS read-only
        STATUS current
        DESCRIPTION
            "The total number of BAS ACCESS records which are logged. "
        ::= { hwUserlogAccessSlotRunInfoEntry 2 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.3.5.1.3
    hwUserlogAccessTotalPackets OBJECT-TYPE
        SYNTAX Counter32
        MAX-ACCESS read-only
        STATUS current
        DESCRIPTION
            "The total number of ACCESS LOG UDP packet generated by the router."
        ::= { hwUserlogAccessSlotRunInfoEntry 3 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.3.5.1.4
    hwUserlogAccessFailedEntries OBJECT-TYPE
        SYNTAX Counter32
        MAX-ACCESS read-only
        STATUS current
        DESCRIPTION
            "The total number of BAS ACCESS entries failed in outputting."
        ::= { hwUserlogAccessSlotRunInfoEntry 4 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.3.5.1.5
    hwUserlogAccessFailedPackets OBJECT-TYPE
        SYNTAX Counter32
        MAX-ACCESS read-only
        STATUS current
        DESCRIPTION
            "The total number of BAS ACCESS LOG UDP packet failed in outputting."
        ::= { hwUserlogAccessSlotRunInfoEntry 5 }

    -- 1.3.6.1.4.1.2011.5.25.18.1.3.5.1.6
    hwUserlogAccessClearRunStat OBJECT-TYPE
        SYNTAX Integer32
        MAX-ACCESS read-write
        STATUS current
        DESCRIPTION
            "Clear the running statistics for ACCESS LOG. Its access is write-only.
             If 1, the running statistics for ACCESS LOG is resetted,
             the other value is invalid."
        ::= { hwUserlogAccessSlotRunInfoEntry 6 }

    -- 1.3.6.1.4.1.2011.5.25.18.2
    hwUserlogNotifications OBJECT IDENTIFIER ::= { hwUserLogMIB 2 }

    -- 1.3.6.1.4.1.2011.5.25.18.3
    hwUserlogConformance OBJECT IDENTIFIER ::= { hwUserLogMIB 3 }

    -- 1.3.6.1.4.1.2011.5.25.18.3.1
    hwUserlogCompliances OBJECT IDENTIFIER ::= { hwUserlogConformance 1 }

    -- 1.3.6.1.4.1.2011.5.25.18.3.1.1
    hwUserlogCompliance MODULE-COMPLIANCE
        STATUS current
        DESCRIPTION 
            "The compliance statement for entities which 
            implement the Huawei Userlog mib."
        MODULE -- this module
        MANDATORY-GROUPS { hwUserlogMandatoryGroup }
        ::= { hwUserlogCompliances 1 }

    -- 1.3.6.1.4.1.2011.5.25.18.3.2
    hwUserlogGroups OBJECT IDENTIFIER ::= { hwUserlogConformance 2 }

    -- 1.3.6.1.4.1.2011.5.25.18.3.2.1
    hwUserlogMandatoryGroup OBJECT-GROUP
        OBJECTS { hwUserlogNatEnable, hwUserlogNatHostAddress, hwUserlogNatUdpPort, hwUserlogFlowEnable, hwUserlogFlowHostAddress, 
            hwUserlogFlowUdpPort, hwUserlogAccessEnable, hwUserlogAccessHostAddress, hwUserlogAccessUdpPort }
        STATUS current
        DESCRIPTION 
            "A collection of objects providing mandatory Userlog information."
        ::= { hwUserlogGroups 1 }

    -- 1.3.6.1.4.1.2011.5.25.18.3.2.2
    hwUserlogConfigGroup OBJECT-GROUP
        OBJECTS { hwUserlogNatVersion, hwUserlogNatSyslog, hwUserlogNatSourceIP, hwUserlogNatFlowBegin, hwUserlogNatActiveTime, 
            hwUserlogNatCfgSlotNumber, hwUserlogNatEnable, hwUserlogNatAclNumber, hwUserlogNatHostAddress, hwUserlogNatUdpPort, 
            hwUserlogFlowVersion, hwUserlogFlowSyslog, hwUserlogFlowSourceIP, hwUserlogFlowFlowBegin, hwUserlogFlowActiveTime, 
            hwUserlogFlowCfgSlotNumber, hwUserlogFlowEnable, hwUserlogFlowAclNumber, hwUserlogFlowHostAddress, hwUserlogFlowUdpPort, 
            hwUserlogAccessVersion, hwUserlogAccessSyslog, hwUserlogAccessSourceIP, hwUserlogAccessCfgSlotNumber, hwUserlogAccessEnable, 
            hwUserlogAccessHostAddress, hwUserlogAccessUdpPort }
        STATUS current
        DESCRIPTION 
            "All configurable parameters of Userlog feature."
        ::= { hwUserlogGroups 2 }

    -- 1.3.6.1.4.1.2011.5.25.18.3.2.3
    hwUserlogInfoGroup OBJECT-GROUP
        OBJECTS { hwUserlogNatTotalEntries, hwUserlogNatTotalPackets, hwUserlogNatFailedEntries, hwUserlogNatFailedPackets, hwUserlogFlowTotalEntries, 
            hwUserlogFlowTotalPackets, hwUserlogFlowFailedEntries, hwUserlogFlowFailedPackets, hwUserlogAccessTotalEntries, hwUserlogAccessTotalPackets, 
            hwUserlogAccessFailedEntries, hwUserlogAccessFailedPackets }
        STATUS current
        DESCRIPTION 
            "All running information of Userlog feature."
        ::= { hwUserlogGroups 3 }

END