summaryrefslogtreecommitdiff
path: root/MIBS/huawei/HUAWEI-MIRROR-MIB
blob: 491253df67324d018832aa0cf05300261274757b (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
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
-- ==================================================================
-- Copyright (C) 2008 by  HUAWEI TECHNOLOGIES. All rights reserved.
-- 
-- Description: HUAWEI Private mirror MIB
-- Reference:
-- Version: 
-- History:
--       
-- ==================================================================
-- ==================================================================
-- 
-- Variables and types be imported
-- 
-- ==================================================================

    HUAWEI-MIRROR-MIB DEFINITIONS ::= BEGIN
 
        IMPORTS
            huaweiMgmt            
                FROM HUAWEI-MIB            
            InterfaceIndex            
                FROM IF-MIB            
            OBJECT-GROUP, MODULE-COMPLIANCE            
                FROM SNMPv2-CONF            
            IpAddress, Integer32, OBJECT-TYPE, MODULE-IDENTITY            
                FROM SNMPv2-SMI
            EnabledStatus           
                FROM P-BRIDGE-MIB     
            RowStatus, TruthValue            
                FROM SNMPv2-TC;

-- 20080101
        
        hwMirrorMIB MODULE-IDENTITY 
            LAST-UPDATED "200801012030Z"                    
            ORGANIZATION 
                "Huawei Technologies co.,Ltd."
            CONTACT-INFO 
                "8090 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 
                "MIB description of mirror."
            ::= { huaweiMgmt 162 }
        
      hwMirrorMIBObjects OBJECT IDENTIFIER ::= { hwMirrorMIB 1 }
      
      hwLocalMirror OBJECT IDENTIFIER ::= { hwMirrorMIBObjects 1 }
      
      
      
-- ******************************************************************
--
--   hwLocalObserveTable
--
-- ******************************************************************

hwLocalObserveTable OBJECT-TYPE
          SYNTAX      SEQUENCE OF HwLocalObserveEntry
          MAX-ACCESS  not-accessible
          STATUS      current
          DESCRIPTION
              " The hwLocalObserveTable lists local mirror characters. "
          ::= { hwLocalMirror 1 }
          

      hwLocalObserveEntry OBJECT-TYPE
          SYNTAX HwLocalObserveEntry
          MAX-ACCESS not-accessible
          STATUS current
          DESCRIPTION
              " The hwLocalObserveEntry lists local mirror characters. " 
          INDEX  { hwLocalObservePort }    
          ::= { hwLocalObserveTable 1 }           

    HwLocalObserveEntry ::=
        SEQUENCE {               
                hwLocalObservePort                      
                    InterfaceIndex,
                hwLocalObserveIndex                
                    Integer32,
                hwLocalObserveWithLinkLayerHeader   
                    Integer32,
                hwLocalObserveRowStatus           
                    RowStatus
   }


hwLocalObservePort OBJECT-TYPE
      SYNTAX InterfaceIndex
      MAX-ACCESS not-accessible
      STATUS current
      DESCRIPTION
      "Ifindex is the index of the observing port and is used to search the name of an observing port."     
      ::= { hwLocalObserveEntry 1 }


    
hwLocalObserveIndex OBJECT-TYPE
      SYNTAX Integer32 (1..128)
      MAX-ACCESS read-create
      STATUS current
      DESCRIPTION
      "
      Index of an observing port that identifies the observing port. 

      Single chassis:
      (The index of a physical port corresponds to the slot number of a board. 
       The observe index ranges from 1 to 32.One board supports 32 logical 
       observing ports.)

      Multi-chassis:
      Supports physical observing ports only. The observe index ranges from 1 to 128.
      "
 
      ::= { hwLocalObserveEntry 2 }
      
   
hwLocalObserveWithLinkLayerHeader OBJECT-TYPE
      SYNTAX Integer32 (0..1)
      MAX-ACCESS read-create
      STATUS current
      DESCRIPTION
      "
       Same interworking attribute. 
       1: different interworking, mirroring packets at and above the IP layer. 
       0: same interworking, mirroring packets at and above Layer 2. 
       Default value: 1. 
      "
      DEFVAL {1}
      ::= { hwLocalObserveEntry 3 }
      

hwLocalObserveRowStatus OBJECT-TYPE
      SYNTAX RowStatus 
      MAX-ACCESS read-create
      STATUS current
      DESCRIPTION
      "
       Row status. The value ranges from 1 to 6 but usually 4 and 6 are used.
       createAndGo[4] - create a row.        
       destroy[6] -delete a row.       
      "
      
      ::= { hwLocalObserveEntry 4 }   
      

-- ******************************************************************
--
--  hwLocalPortMirrorTable 
--
-- ******************************************************************         
hwLocalPortMirrorTable OBJECT-TYPE
          SYNTAX      SEQUENCE OF HwLocalPortMirrorEntry
          MAX-ACCESS  not-accessible
          STATUS      current
          DESCRIPTION
              " The hwLocalPortMirrorTable lists local mirror characters. "
          ::= { hwLocalMirror 2 }
          

      hwLocalPortMirrorEntry OBJECT-TYPE
          SYNTAX HwLocalPortMirrorEntry
          MAX-ACCESS not-accessible
          STATUS current
          DESCRIPTION
              " The hwLocalPortMirrorEntry lists local mirror characters. " 
          INDEX  { hwLocalMirrorPort }    
          ::= { hwLocalPortMirrorTable 1 }           

    HwLocalPortMirrorEntry ::=
        SEQUENCE {
                hwLocalMirrorPort                 
                    InterfaceIndex,
                hwLocalMirrorBearing         
                    INTEGER,
                hwLocalCpuPacketFlag           
                    TruthValue,
                hwLocalPortMirrorCar             
                    Integer32,
                hwLocalPortMirrorRowStatus        
                    RowStatus
   }


hwLocalMirrorPort OBJECT-TYPE
      SYNTAX InterfaceIndex
      MAX-ACCESS not-accessible
      STATUS current
      DESCRIPTION
      "Ifindex of the mirroring port and is used to search the name of a mirroring port."
      
      ::= { hwLocalPortMirrorEntry 1 }
    

hwLocalMirrorBearing OBJECT-TYPE
      SYNTAX INTEGER {
      inbound   (1),
      outbound  (2),
      inout     (3)
      } 
      MAX-ACCESS read-create
      STATUS current
      DESCRIPTION
      "Mirroring direction: inbound, outbound, and in-out.1:inbound 2:outbound 3:in-out."
      
      ::= { hwLocalPortMirrorEntry 2 }
      

hwLocalCpuPacketFlag OBJECT-TYPE
      SYNTAX TruthValue
      MAX-ACCESS read-create
      STATUS current
      DESCRIPTION
      "
        Indicates whether the packets sent to the CPU need to be mirrored. 
        True: CPU packets are forwarded; 
        False: CPU packets are not forwarded. 
        You can configure this object only when the mirroring direction is 1 or 3.
        Default value: false.
      "
      DEFVAL {false}
      ::= { hwLocalPortMirrorEntry 3 }    
    

hwLocalPortMirrorCar OBJECT-TYPE
      SYNTAX Integer32 (0 | 100..2500000)
      UNITS "Kbps"
      MAX-ACCESS read-create
      STATUS current
      DESCRIPTION
      "
       CAR (CIR) of mirrored packets, expressed in thousand bits per second. 
       The default value is 0, which indicates that CAR is not performed.
      "
      DEFVAL {0}
      ::= { hwLocalPortMirrorEntry 4 }
      

hwLocalPortMirrorRowStatus OBJECT-TYPE
      SYNTAX RowStatus
      MAX-ACCESS read-create
      STATUS current
      DESCRIPTION
      " 
       Row status. The value ranges from 1 to 6 but usually 4 and 6 are used.
       createAndGo[4] - create a row.        
       destroy[6] -delete a row. 
      "
           
      ::= { hwLocalPortMirrorEntry 5 }

-- ******************************************************************
--
--  hwLocalFlowMirrorTable
--
-- ******************************************************************         
hwLocalFlowMirrorTable OBJECT-TYPE
          SYNTAX      SEQUENCE OF HwLocalFlowMirrorEntry
          MAX-ACCESS  not-accessible
          STATUS      current
          DESCRIPTION
              " The hwLocalFlowMirrorTable lists local mirror characters. "
          ::= { hwLocalMirror 3 }
          

      hwLocalFlowMirrorEntry OBJECT-TYPE
          SYNTAX HwLocalFlowMirrorEntry
          MAX-ACCESS not-accessible
          STATUS current
          DESCRIPTION
              " The hwLocalFlowMirrorEntry lists local mirror characters. " 
          INDEX  { hwLocalBehaviorName }    
          ::= { hwLocalFlowMirrorTable 1 }           

    HwLocalFlowMirrorEntry ::=
        SEQUENCE {
                hwLocalBehaviorName             
                    OCTET STRING,
                hwLocalFlowMirrorEnable         
                    EnabledStatus,
                hwLocalFlowMirrorCar            
                    Integer32,
                hwLocalFlowMirrorRowStatus      
                    RowStatus                                    
   }

          
hwLocalBehaviorName OBJECT-TYPE
      SYNTAX OCTET STRING (SIZE(1..31)) 
      MAX-ACCESS not-accessible
      STATUS current
      DESCRIPTION
      "Traffic behavior view name."
           
      ::= { hwLocalFlowMirrorEntry 1 }


hwLocalFlowMirrorEnable OBJECT-TYPE
      SYNTAX EnabledStatus 
      MAX-ACCESS read-create
      STATUS current
      DESCRIPTION
      "
        Indicates whether the flow mirroring is enabled. 
        Disable indicates that flow mirroring is disabled; 
        Enable indicates that flow mirroring is enabled. 
        Default value: disable.  
      "
      DEFVAL {2}
      ::= { hwLocalFlowMirrorEntry 2 }


hwLocalFlowMirrorCar OBJECT-TYPE
      SYNTAX Integer32 (0 | 100..2500000) 
      UNITS "Kbps"
      MAX-ACCESS read-create
      STATUS current
      DESCRIPTION
      "
       CAR (CIR) of mirrored packets, expressed in thousand bits per second.
       The default value is 0, which indicates that CAR is not performed.
      "
      DEFVAL {0}   
      ::= { hwLocalFlowMirrorEntry 3 }
      

hwLocalFlowMirrorRowStatus OBJECT-TYPE
      SYNTAX RowStatus
      MAX-ACCESS read-create
      STATUS current
      DESCRIPTION
      "
        Row status. The value ranges from 1 to 6 but usually 4 and 6 are used.
        createAndGo[4] - create a row.        
        destroy[6] -delete a row. 
      "           
      ::= { hwLocalFlowMirrorEntry 4 }                  

-- ******************************************************************
--
--    hwLocalSlotMirrorTable 
--
-- ******************************************************************
hwLocalSlotMirrorTable OBJECT-TYPE
          SYNTAX      SEQUENCE OF HwLocalSlotMirrorEntry
          MAX-ACCESS  not-accessible
          STATUS      current
          DESCRIPTION
              " The hwLocalSlotMirrorTable lists local mirror characters. "
          ::= { hwLocalMirror 4 }
          

      hwLocalSlotMirrorEntry OBJECT-TYPE
          SYNTAX HwLocalSlotMirrorEntry
          MAX-ACCESS not-accessible
          STATUS current
          DESCRIPTION
              " The hwLocalFlowMirrorEntry lists local mirror characters. " 
          INDEX  { hwLocalSlotNo }    
          ::= { hwLocalSlotMirrorTable 1 }           

    HwLocalSlotMirrorEntry ::=
        SEQUENCE {
           hwLocalSlotNo                  
               Integer32,
           hwSlotObserveIndex            
               Integer32,
           hwLocalSlotMirrorRowStatus        
               RowStatus                                    
   }  
   
hwLocalSlotNo OBJECT-TYPE
      SYNTAX Integer32 (1..128)
      MAX-ACCESS not-accessible
      STATUS current
      DESCRIPTION
      "Slot number of a board."
           
      ::= { hwLocalSlotMirrorEntry 1 }


hwSlotObserveIndex OBJECT-TYPE
      SYNTAX Integer32 (1..128)
      MAX-ACCESS read-create
      STATUS current
      DESCRIPTION
      "Indicates the index of the observing port."
           
      ::= { hwLocalSlotMirrorEntry 2 }

hwLocalSlotMirrorRowStatus OBJECT-TYPE
      SYNTAX RowStatus
      MAX-ACCESS read-create
      STATUS current
      DESCRIPTION
      "
        Row status. The value ranges from 1 to 6 but usually 4 and 6 are used.
        createAndGo[4] - create a row.        
        destroy[6] -delete a row.
      "
           
      ::= { hwLocalSlotMirrorEntry 3 }
                        
-- ******************************************************************
--
-- hwPortMirrorInfoTable
--
-- ******************************************************************

hwPortMirrorInfoTable OBJECT-TYPE
          SYNTAX      SEQUENCE OF HwPortMirrorInfoEntry
          MAX-ACCESS  not-accessible
          STATUS      current
          DESCRIPTION
              " The hwPortMirrorInfoTable lists local and remote mirror characters. "
          ::= { hwLocalMirror 5 }
          

      hwPortMirrorInfoEntry OBJECT-TYPE
          SYNTAX HwPortMirrorInfoEntry
          MAX-ACCESS not-accessible
          STATUS current
          DESCRIPTION
              " The hwPortMirrorInfoEntry lists local and remote mirror characters. " 
          INDEX  { hwMirrorPortIndex }    
          ::= { hwPortMirrorInfoTable 1 }           

    HwPortMirrorInfoEntry ::=
        SEQUENCE {
            hwMirrorPortIndex                   
                InterfaceIndex,
            hwMirrorType                       
                INTEGER,
            hwMirrorCar                          
                Integer32,
            hwMirrorClass                        
                INTEGER,
            hwMirrorBearing                      
                INTEGER,
            hwMirrorCpuPacketFlag                
                TruthValue,
            hwMirrorWithLinkLayerHeader          
                Integer32,
            hwRemoteMirrorInstanceName             
                OCTET STRING            
   } 

    
hwMirrorPortIndex OBJECT-TYPE
      SYNTAX InterfaceIndex 
      MAX-ACCESS not-accessible
      STATUS current
      DESCRIPTION
      "Port index of the mirroring port."
           
      ::= { hwPortMirrorInfoEntry 1 }


hwMirrorType OBJECT-TYPE
      SYNTAX INTEGER {
      local    (1),
      remote   (2)
      }
      MAX-ACCESS read-only
      STATUS current
      DESCRIPTION
      "Mirroring type: local or remote1: local 2: remote."
           
      ::= { hwPortMirrorInfoEntry 2 }
      



hwMirrorCar OBJECT-TYPE
      SYNTAX Integer32 (0 | 100..2500000)  
      UNITS "Kbps"
      MAX-ACCESS read-only
      STATUS current
      DESCRIPTION
      "CAR (CIR) of mirrored packets, expressed in thousand bits per second "
      DEFVAL {0}     
      ::= { hwPortMirrorInfoEntry 3 }
      

hwMirrorClass OBJECT-TYPE
      SYNTAX INTEGER {
      port    (1),
      policy  (2)
      }
      MAX-ACCESS read-only
      STATUS current
      DESCRIPTION
      "Type: port/policy1: port 2: policy."
           
      ::= { hwPortMirrorInfoEntry 4 }


hwMirrorBearing OBJECT-TYPE
      SYNTAX INTEGER {
      inbound   (1),
      outbound  (2),
      inout   (3)
      }
      MAX-ACCESS read-only
      STATUS current
      DESCRIPTION
      "
       Mirroring direction: inbound(1), outbound(2), and in-out(3).
       When the direction is in-out, commands for both inbound and outbound configurations are required.
      "
           
      ::= { hwPortMirrorInfoEntry 5 }
      

hwMirrorCpuPacketFlag OBJECT-TYPE
      SYNTAX TruthValue
      MAX-ACCESS read-only
      STATUS current
      DESCRIPTION
      "
       Indicates whether the packets sent to the CPU need to be mirrored.
       True: CPU packets are forwarded; 
       False: CPU packets are not forwarded.
      "
      DEFVAL {false}     
      ::= { hwPortMirrorInfoEntry 6 }


hwMirrorWithLinkLayerHeader OBJECT-TYPE
      SYNTAX Integer32 (0..1)
      MAX-ACCESS read-only
      STATUS current
      DESCRIPTION
      "
        Same interworking attribute.
        1: different interworking, mirroring packets at and above the IP layer. 
        0: same interworking, mirroring packets at and above Layer 2. 
        Default value: 1.
      "
      DEFVAL {1}     
      ::= { hwPortMirrorInfoEntry 7 }
      

hwRemoteMirrorInstanceName OBJECT-TYPE
      SYNTAX   OCTET STRING (SIZE(1..31))
      MAX-ACCESS read-only
      STATUS current
      DESCRIPTION
      "mirror instance name. Max 31 characters."
           
      ::= { hwPortMirrorInfoEntry 8 }
   
   
-- ******************************************************************
--   hwRemoteMirror
-- ******************************************************************
hwRemoteMirror OBJECT IDENTIFIER ::= { hwMirrorMIBObjects 2 }

-- ******************************************************************

--   hwRemoteObserveTable
 
-- ******************************************************************

hwRemoteObserveTable OBJECT-TYPE
          SYNTAX      SEQUENCE OF HwRemoteObserveEntry
          MAX-ACCESS  not-accessible
          STATUS      current
          DESCRIPTION
              " The hwRemoteObserveTable lists remote mirror characters. "
          ::= { hwRemoteMirror 1 }
          

      hwRemoteObserveEntry OBJECT-TYPE
          SYNTAX HwRemoteObserveEntry
          MAX-ACCESS not-accessible
          STATUS current
          DESCRIPTION
              " The hwLocalPortMirrorInfoEntry lists local mirror characters. " 
          INDEX  { hwRemoteObservePort }    
          ::= { hwRemoteObserveTable 1 }           

    HwRemoteObserveEntry ::=
        SEQUENCE { 
           hwRemoteObservePort                 
               InterfaceIndex,
           hwRemoteIdentifier                
               Integer32,
           hwRemoteDescription
               OCTET STRING,
           hwRemoteObserveWithLinkLayerHeader  
               Integer32,
           hwRemoteObserveRowStatus           
               RowStatus
   } 

hwRemoteObservePort  OBJECT-TYPE
      SYNTAX InterfaceIndex 
      MAX-ACCESS not-accessible
      STATUS current
      DESCRIPTION
      " Port ifindex of the observing port. "
      
      ::= { hwRemoteObserveEntry   1 }


hwRemoteIdentifier  OBJECT-TYPE
      SYNTAX Integer32  (1..64)
      MAX-ACCESS read-create
      STATUS current
      DESCRIPTION
      " Mirror Identifier. "
      ::= { hwRemoteObserveEntry   2 }



hwRemoteDescription  OBJECT-TYPE
      SYNTAX OCTET STRING (SIZE(1..31))
      MAX-ACCESS read-create
      STATUS current
      DESCRIPTION
      " Description of the observing port. "
      
      ::= { hwRemoteObserveEntry   3 }

hwRemoteObserveWithLinkLayerHeader  OBJECT-TYPE
      SYNTAX Integer32 (0..1) 
      MAX-ACCESS read-create
      STATUS current
      DESCRIPTION
      " 
       Same interworking attribute. 
       1: different interworking, mirroring packets at and above the IP layer.
       0: same interworking, mirroring packets at and above Layer 2.
       Default value: 1.      
      "
      DEFVAL {1}
      ::= { hwRemoteObserveEntry   4 }


hwRemoteObserveRowStatus  OBJECT-TYPE
      SYNTAX RowStatus
      MAX-ACCESS read-create
      STATUS current
      DESCRIPTION
      " 
        Row status. The value ranges from 1 to 6 but usually 4 and 6 are used.
        createAndGo[4] - create a row.
        destroy[6] -delete a row.
        
      "

      ::= { hwRemoteObserveEntry   5 }

-- ******************************************************************

--  hwRemotePortMirrorTable 

-- ******************************************************************
hwRemotePortMirrorTable OBJECT-TYPE
          SYNTAX      SEQUENCE OF HwRemotePortMirrorEntry
          MAX-ACCESS  not-accessible
          STATUS      current
          DESCRIPTION
              " The hwRemotePortMirrorTable lists remote mirror characters. "
          ::= { hwRemoteMirror 2 }
          

      hwRemotePortMirrorEntry OBJECT-TYPE
          SYNTAX HwRemotePortMirrorEntry
          MAX-ACCESS not-accessible
          STATUS current
          DESCRIPTION
              " The hwRemotePortMirrorTable lists local mirror characters. " 
          INDEX  { hwRemoteMirrorPort }    
          ::= { hwRemotePortMirrorTable 1 }           

    HwRemotePortMirrorEntry ::=
        SEQUENCE {
           hwRemoteMirrorPort         
               InterfaceIndex,
           hwRemoteMirrorBearing      
               INTEGER,
           hwRemoteCpuPacketFlag    
               TruthValue,
           hwPortMirrorInstanceName   
               OCTET STRING,
           hwRemotePortMirrorCar      
               Integer32,
           hwRemotePortMirrorRowStatus 
               RowStatus           
   } 


hwRemoteMirrorPort  OBJECT-TYPE
      SYNTAX InterfaceIndex 
      MAX-ACCESS not-accessible
      STATUS current
      DESCRIPTION
      " Port index of the mirroring port. "

      ::= { hwRemotePortMirrorEntry   1 }

hwRemoteMirrorBearing  OBJECT-TYPE
      SYNTAX INTEGER {
       inbound       (1), 
       outbound      (2), 
       inout       (3)
       }
      MAX-ACCESS read-create
      STATUS current
      DESCRIPTION
      " 
       Mirroring direction: inbound(1), outbound(2), and in-out(3).
       When the direction is in-out, commands for both inbound and outbound configurations are required.     
      "

      ::= { hwRemotePortMirrorEntry   2 }


hwRemoteCpuPacketFlag  OBJECT-TYPE
      SYNTAX TruthValue 
      MAX-ACCESS read-create
      STATUS current
      DESCRIPTION
      " 
        Indicates whether the packets sent to the CPU need to be mirrored. 
        True: CPU packets are forwarded; 
        False: CPU packets are not forwarded.      
      "
      DEFVAL {false}
      ::= { hwRemotePortMirrorEntry   3 }


hwPortMirrorInstanceName  OBJECT-TYPE
      SYNTAX   OCTET STRING (SIZE(1..31))
      MAX-ACCESS read-create
      STATUS current
      DESCRIPTION
      " 
       Name of the mirroring instance. It must already exist in the MIB table.             
      "

      ::= { hwRemotePortMirrorEntry   4 }


hwRemotePortMirrorCar  OBJECT-TYPE
      SYNTAX Integer32 (0 | 100..2500000)
      UNITS "Kbps"
      MAX-ACCESS read-create      
      STATUS current
      DESCRIPTION
      " 
      CAR (CIR) of mirrored packets, expressed in thousand bits per second by default, 
      CAR is not performed for mirrored packets. 
      "
      DEFVAL {0}
      ::= { hwRemotePortMirrorEntry   5 }



hwRemotePortMirrorRowStatus  OBJECT-TYPE
      SYNTAX RowStatus
      MAX-ACCESS read-create      
      STATUS current
      DESCRIPTION
      " 
       Row status. The value ranges from 1 to 6 but usually 4 and 6 are used.
       createAndGo[4] - create a row.        
       destroy[6] -delete a row.
      "

      ::= { hwRemotePortMirrorEntry   6 }   

   

-- ******************************************************************
  
--  hwRemoteFlowMirrorTable 

-- ******************************************************************
hwRemoteFlowMirrorTable OBJECT-TYPE
          SYNTAX      SEQUENCE OF HwRemoteFlowMirrorEntry
          MAX-ACCESS  not-accessible
          STATUS      current
          DESCRIPTION
              " The hwRemoteFlowMirrorTable lists remote mirror characters. "
          ::= { hwRemoteMirror 3 }
          

      hwRemoteFlowMirrorEntry OBJECT-TYPE
          SYNTAX HwRemoteFlowMirrorEntry
          MAX-ACCESS not-accessible
          STATUS current
          DESCRIPTION
              " The hwRemoteFlowMirrorEntry lists local mirror characters. " 
          INDEX  { hwRemoteBehaviorName }    
          ::= { hwRemoteFlowMirrorTable 1 }           

    HwRemoteFlowMirrorEntry ::=
        SEQUENCE {
            hwRemoteBehaviorName         
                OCTET STRING ,
            hwFlowMirrorInstanceName        
                OCTET STRING ,
            hwRemoteFlowMirrorCar           
                Integer32,
            hwRemoteFlowMirrorRowStatus    
                RowStatus           
   } 


hwRemoteBehaviorName OBJECT-TYPE
      SYNTAX OCTET STRING (SIZE(1..31))  
      MAX-ACCESS not-accessible
      STATUS current
      DESCRIPTION
      " Name of the traffic behavior. "

      ::= { hwRemoteFlowMirrorEntry   1 }


hwFlowMirrorInstanceName OBJECT-TYPE
       SYNTAX   OCTET STRING (SIZE(1..31)) 
      MAX-ACCESS read-create
      STATUS current
      DESCRIPTION
      " Name of the mirroring instance. "

      ::= { hwRemoteFlowMirrorEntry   2 }



hwRemoteFlowMirrorCar OBJECT-TYPE
      SYNTAX Integer32 (0 | 100..2500000)
      UNITS "Kbps"
      MAX-ACCESS read-create
      STATUS current
      DESCRIPTION
      " CAR (Committed Access Rate) setting of the mirror flow. The value indicates the CIR(Committed information rate) measured in kbps. "
      DEFVAL {0}
      ::= { hwRemoteFlowMirrorEntry   3 }    
      


hwRemoteFlowMirrorRowStatus OBJECT-TYPE
      SYNTAX RowStatus 
      MAX-ACCESS read-create
      STATUS current
      DESCRIPTION
      " 
       Row status. The value ranges from 1 to 6 but usually 4 and 6 are used.
       createAndGo[4] - create a row.       
       destroy[6] -delete a row.     
      "

      ::= { hwRemoteFlowMirrorEntry   4 }  
      
      
-- ******************************************************************
      
--   hwRemoteMirrorInstanceTable   
 
-- ******************************************************************
hwRemoteMirrorInstanceTable OBJECT-TYPE
          SYNTAX      SEQUENCE OF HwRemoteMirrorInstanceEntry
          MAX-ACCESS  not-accessible
          STATUS      current
          DESCRIPTION
              " The hwRemoteMirrorInstanceTable lists remote mirror characters. "
          ::= { hwRemoteMirror 4 }
          

      hwRemoteMirrorInstanceEntry OBJECT-TYPE
          SYNTAX HwRemoteMirrorInstanceEntry
          MAX-ACCESS not-accessible
          STATUS current
          DESCRIPTION
              " The hwRemoteMirrorInstanceEntry lists  mirror instance characters. " 
          INDEX  { hwMirrorInstanceName }    
          ::= { hwRemoteMirrorInstanceTable 1 }           

    HwRemoteMirrorInstanceEntry ::=
        SEQUENCE {
            hwMirrorInstanceName     
                OCTET STRING,
            hwRemoteObservePortIp   
                IpAddress,
            hwRemoteMirrorIdentifier       
                Integer32,
            hwRemoteMirrorWithLinkLayerHeader
                Integer32,
            hwMirrorFlowClass         
                INTEGER,
            hwMirrorSliceSize         
                Integer32,
            hwMirrorTunnelIndex      
                Integer32, 
            hwMirrorTunnelType       
                INTEGER,
            hwMirrorTunnelStatus      
                Integer32,   
            hwMirrorTunnelPolicy      
                OCTET STRING, 
            hwMirrorInstanceRowStatus 
                RowStatus         
   } 

hwMirrorInstanceName OBJECT-TYPE
      SYNTAX   OCTET STRING (SIZE(1..31))
      MAX-ACCESS not-accessible
      STATUS current
      DESCRIPTION
      " Mirroring instance name. Max 31 characters "

      ::= { hwRemoteMirrorInstanceEntry  1 }
   

hwRemoteObservePortIp OBJECT-TYPE
      SYNTAX IpAddress 
      MAX-ACCESS read-create
      STATUS current
      DESCRIPTION
      " Remote mirror destination."

      ::= { hwRemoteMirrorInstanceEntry  2 }   
      

hwRemoteMirrorIdentifier OBJECT-TYPE
      SYNTAX Integer32 (0 | 1..64)
      MAX-ACCESS read-create
      STATUS current
      DESCRIPTION
      " Mirror identifier. "
     
      DEFVAL {0}
      ::= { hwRemoteMirrorInstanceEntry  3 }   
      

hwRemoteMirrorWithLinkLayerHeader OBJECT-TYPE
      SYNTAX Integer32 (0..1) 
      MAX-ACCESS read-create
      STATUS current
      DESCRIPTION
      "
     Same interworking attribute.
     1: different interworking, mirroring packets at and above the IP layer. 
     0: same interworking, mirroring packets at and above Layer 2.      
     Default value: 1.
     "
      DEFVAL {1}
      ::= { hwRemoteMirrorInstanceEntry  4 } 
      

hwMirrorFlowClass OBJECT-TYPE
      SYNTAX INTEGER { 
        be           (0),
        af1          (1),
        af2          (2),
        af3          (3),
        af4          (4),
        ef           (5),
        cs6          (6),
        cs7          (7)
                       
      }
 
      MAX-ACCESS read-create
      STATUS current
      DESCRIPTION
      " Type of mirrored flows. The value of 0 to 7 corresponds to <be,af1,af2,af3,af4,ef,cs6,cs7> respectively. 
        be           (0),
        af1          (1),
        af2          (2),
        af3          (3),
        af4          (4),
        ef           (5),
        cs6          (6),
        cs7          (7)
      "
      DEFVAL {0}
      ::= { hwRemoteMirrorInstanceEntry  5 }   
                                            

hwMirrorSliceSize OBJECT-TYPE
      SYNTAX Integer32 (0 | 64..9600)
      UNITS "Byte"
      MAX-ACCESS read-create
      STATUS current
      DESCRIPTION
      "
       Number of bytes of intercepted packets, expressed in bytes.
       The value of size ranges from 64 to 9600.      
      "
      DEFVAL {0}
      ::= { hwRemoteMirrorInstanceEntry  6 }   
      

hwMirrorTunnelIndex OBJECT-TYPE
      SYNTAX Integer32 
      MAX-ACCESS read-only
      STATUS current
      DESCRIPTION
      " Index of the tunnel that uniquely identifies the tunnel. "

      ::= { hwRemoteMirrorInstanceEntry  7 }  
      

hwMirrorTunnelType OBJECT-TYPE
      SYNTAX INTEGER { 
        lspTunnel  (1), 
        teTunnel   (2),
        greTunnel  (3)                        
      }
      MAX-ACCESS read-only
      STATUS current
      DESCRIPTION
      "
       Type of the tunnel:
       1: LSP tunnel
       2: TE  tunnel
       3: GRE tunnel     
      "

      ::= { hwRemoteMirrorInstanceEntry  8 }  
      
      
hwMirrorTunnelStatus OBJECT-TYPE
      SYNTAX  Integer32 (0..1)
      MAX-ACCESS read-only
      STATUS current
      DESCRIPTION
      "
       status of tunnel       
       0:DOWN
       1:UP       
      "

      ::= { hwRemoteMirrorInstanceEntry  9 } 


hwMirrorTunnelPolicy OBJECT-TYPE
      SYNTAX   OCTET STRING (SIZE(1..19))
      MAX-ACCESS read-create
      STATUS current
      DESCRIPTION
      " Tunnel policy name. Max 19 characters "

      ::= { hwRemoteMirrorInstanceEntry  10 }

      

hwMirrorInstanceRowStatus OBJECT-TYPE
      SYNTAX RowStatus 
      MAX-ACCESS read-create
      STATUS current
      DESCRIPTION
      "
       Row status. The value ranges from 1 to 6 but usually 4 and 6 are used.
       createAndGo[4] - create a row.        
       destroy[6] -delete a row.
      "

      ::= { hwRemoteMirrorInstanceEntry  11 }
--
       hwMirrorConformance OBJECT IDENTIFIER ::= { hwMirrorMIB 11 }
    
      hwMirrorCompliances OBJECT IDENTIFIER ::= { hwMirrorConformance 1 }
        
      hwMirrorCompliance MODULE-COMPLIANCE
          STATUS current
          DESCRIPTION 
              "The compliance statement for systems supporting 
              the HUAWEI-SECURITY-MIB."
          MODULE 
              MANDATORY-GROUPS { hwLocalObserveGroup, hwLocalPortMirrorGroup, hwLocalFlowMirrorGroup,
                                   hwLocalSlotMirrorGroup, hwLocalPortMirrorInfoGroup, hwRemoteObserveGroup,
                                   hwRemotePortMirrorGroup, hwRemoteFlowMirrorGroup, hwRemoteMirrorInstanceGroup}
          ::= { hwMirrorCompliances 1 }

      hwBaseMirrorGroup OBJECT IDENTIFIER ::= { hwMirrorConformance 2 }

      hwLocalObserveGroup OBJECT-GROUP
          OBJECTS{
--                hwLocalObservePort          ,
                hwLocalObserveIndex         ,
                hwLocalObserveWithLinkLayerHeader  ,
                hwLocalObserveRowStatus     
                 }
          STATUS current       
          DESCRIPTION 
              "The group specifies local observing port."
          ::= { hwBaseMirrorGroup 1 }
          
      hwLocalPortMirrorGroup OBJECT-GROUP
          OBJECTS{    
--              hwLocalMirrorPort          ,
                hwLocalMirrorBearing       ,
                hwLocalCpuPacketFlag     ,
                hwLocalPortMirrorCar       ,
                hwLocalPortMirrorRowStatus
                 }
          STATUS current       
          DESCRIPTION 
              "The group specifies local mirroring port."
          ::= { hwBaseMirrorGroup 2 } 
          
      hwLocalFlowMirrorGroup OBJECT-GROUP
          OBJECTS{
--                hwLocalBehaviorName  ,   
                hwLocalFlowMirrorEnable,   
                hwLocalFlowMirrorCar    , 
                hwLocalFlowMirrorRowStatus
                 }
          STATUS current       
          DESCRIPTION 
              "The group specifies traffic behavior for local mirroring."
          ::= { hwBaseMirrorGroup 3 }
          
      hwLocalSlotMirrorGroup OBJECT-GROUP
          OBJECTS{
--                hwLocalSlotNo           ,
                hwSlotObserveIndex      ,
                hwLocalSlotMirrorRowStatus
                 }
          STATUS current       
          DESCRIPTION 
              "The group specifies local observing port for slot."
          ::= { hwBaseMirrorGroup 4 }
          
      hwLocalPortMirrorInfoGroup OBJECT-GROUP
          OBJECTS{
--                hwMirrorPortIndex         ,
                hwMirrorType              ,
                hwMirrorCar               ,
                hwMirrorClass             ,
                hwMirrorBearing           ,
                hwMirrorCpuPacketFlag     ,
                hwMirrorWithLinkLayerHeader ,    
                hwRemoteMirrorInstanceName   
             }
          STATUS current       
          DESCRIPTION 
              "The group querys configuration of port-mirroring interfaces."
          ::= { hwBaseMirrorGroup 5 }
          
      hwRemoteObserveGroup OBJECT-GROUP
          OBJECTS{
--                hwRemoteObservePort         ,
                hwRemoteIdentifier        ,
                hwRemoteDescription         ,
                hwRemoteObserveWithLinkLayerHeader , 
                hwRemoteObserveRowStatus   
                 }
          STATUS current       
          DESCRIPTION 
              "The group specifies remote observing port."
          ::= { hwBaseMirrorGroup 6 }

      hwRemotePortMirrorGroup OBJECT-GROUP
          OBJECTS{
--                hwRemoteMirrorPort         ,
                hwRemoteMirrorBearing      ,
                hwRemoteCpuPacketFlag    ,
                hwPortMirrorInstanceName   ,
                hwRemotePortMirrorCar      ,
                hwRemotePortMirrorRowStatus                                              
                 }
          STATUS current       
          DESCRIPTION 
              "The group specifies remote mirroring port."
          ::= { hwBaseMirrorGroup 7 }

      hwRemoteFlowMirrorGroup OBJECT-GROUP
          OBJECTS{
--                hwRemoteBehaviorName     ,
                hwFlowMirrorInstanceName   ,
                hwRemoteFlowMirrorCar      ,
                hwRemoteFlowMirrorRowStatus                                              
                 }
          STATUS current       
          DESCRIPTION 
              "The group specifies traffic behavior for remote mirroring."
          ::= { hwBaseMirrorGroup 8 }

      hwRemoteMirrorInstanceGroup OBJECT-GROUP
          OBJECTS{
--                hwMirrorInstanceName        ,
                hwRemoteObservePortIp     ,
                hwRemoteMirrorIdentifier         ,
                hwRemoteMirrorWithLinkLayerHeader  ,
                hwMirrorFlowClass           ,
                hwMirrorSliceSize           ,
                hwMirrorTunnelIndex         ,
                hwMirrorTunnelType          ,
                hwMirrorTunnelStatus        ,
                hwMirrorInstanceRowStatus 
                 }
          STATUS current       
          DESCRIPTION 
              "The group specifies mirror instance."
          ::= { hwBaseMirrorGroup 9 }

END