summaryrefslogtreecommitdiff
path: root/MIBS/enterasys/CTRON-SSR-POLICY-MIB
blob: 03b6cc68ffb955b08f2b4483f7bc7b2df2ed432e (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
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
CTRON-SSR-POLICY-MIB DEFINITIONS ::= BEGIN
 
--  This module provides authoritative definitions for Enterasys
--  Networks' enterprise-specific Smart Switch Router specific MIB
--  branches.
--
--  This module will be extended, as required.
 
--  Enterasys Networks reserves the right to make changes in
--  specification and other information contained in this document
--  without prior notice.  The reader should consult Enterasys Networks
--  to determine whether any such changes have been made.
--
--  In no event shall Enterasys Networks be liable for any incidental,
--  indirect, special, or consequential damages whatsoever (including
--  but not limited to lost profits) arising out of or related to this
--  document or the information contained in it, even if Enterasys
--  Networks has been advised of, known, or should have known, the
--  possibility of such damages.
--
--  Enterasys Networks grants vendors, end-users, and other interested parties
--  a non-exclusive license to use this Specification in connection
--  with the management of Enterasys products.
 
--  Copyright 1998-2003 Enterasys Networks, Inc.
 

IMPORTS
   MODULE-IDENTITY, OBJECT-TYPE, TimeTicks, IpAddress, Counter32, Gauge32,
   Integer32
   FROM SNMPv2-SMI
   TEXTUAL-CONVENTION, DisplayString, RowStatus, TruthValue, MacAddress
   FROM SNMPv2-TC
   MODULE-COMPLIANCE, OBJECT-GROUP
   FROM SNMPv2-CONF
   dot1qVlanStaticEntry 
   FROM Q-BRIDGE-MIB
   ssrMibs 
   FROM CTRON-SSR-SMI-MIB;

policyMIB MODULE-IDENTITY
    LAST-UPDATED "200312191712Z"  -- Fri Dec 19 17:12 GMT 2003
    ORGANIZATION "Enterasys Networks, Inc"
    CONTACT-INFO
        "Postal:  Enterasys Networks
                  50 Minuteman Rd.
                  Andover, MA 01810-1008
                  USA
         Phone:   +1 978 684 1000
         E-mail:  support@enterasys.com
         WWW:     http://www.enterasys.com"

    DESCRIPTION
     "This module defines a schema to control filters on a device capable
      of Layer 3 filters also called Access Control Lists (ACLs) and at
      layer 2. It may also be used to configure static IP routes that use
      other IP header fields in addition to destination IP address."

    REVISION     "200312191712Z"  -- Fri Dec 19 17:12 GMT 2003
    DESCRIPTION
         "Defined bit 0 of polL2Dot1qVlanStaticProtocols as reserved."

    REVISION     "200307211501Z"  -- Mon Jul 21 15:01 GMT 2003
    DESCRIPTION
         "Revision #5. Add static VLAN protocol filtering to the polL2Group.
          Update contact information."

    REVISION     "200007150000Z"
    DESCRIPTION
         "Revision #4. Update contact information."

    REVISION     "9908110000Z"
    DESCRIPTION
         "Revision #3. Define Policy Based Routing in polL4Group."

    REVISION     "9907210000Z"
    DESCRIPTION
         "Revision #2. Define Layer 2 flow security objects in polL2Group."

    REVISION     "9808040000Z"
    DESCRIPTION
         "Revision #1. Define Layer 3 flow objects in polL3Group."
        ::= { ssrMibs 210 }   


-- ### Textual conventions

   -- InterfaceIndex contains the semantics of ifIndex and
   -- should be used for any objects defined on other MIB
   -- modules that need these semantics.

   InterfaceIndex ::= TEXTUAL-CONVENTION
       DISPLAY-HINT "d"
       STATUS       current
       DESCRIPTION
               "A unique value, greater than zero, for each interface
               or interface sub-layer in the managed system.  It is
               recommended that values are assigned contiguously
               starting from 1.  The value for each interface sub-
               layer must remain constant at least from one re-
               initialization of the entity's network management
               system to the next re-initialization."
       SYNTAX       Integer32 (1..2147483647)

   InterfaceIndexOrZero ::= TEXTUAL-CONVENTION
       DISPLAY-HINT "d"
       STATUS       current
       DESCRIPTION
               "This textual convention is an extension of the
               InterfaceIndex convention.  The latter defines a
               greater than zero value used to identify an interface
               or interface sub-layer in the managed system.  This
               extension permits the additional value of zero.  the
               value zero is object-specific and must therefore be
               defined as part of the description of any object which
               uses this syntax.  Examples of the usage of zero might
               include situations where interface was unknown, or
               when none or all interfaces need to be referenced."
       SYNTAX       Integer32 (0..2147483647)


   SSRPortComparator ::= TEXTUAL-CONVENTION
       STATUS       current
       DESCRIPTION
	"Comparison operator used by ACL's to permit src/dst port addresses."
       SYNTAX     INTEGER {
            notused(1), -- no port comparison to be made	
            eq(2),   -- equals
            neq(3),  -- not equals
            lt(4),   -- less than
            gt(5),   -- greater than
          range(6)   -- contains X-Y inclusive
       }

   SSRProtocol ::= TEXTUAL-CONVENTION
       STATUS       current
       DESCRIPTION
	"Protocols supported by L3 ACLs."
       SYNTAX     INTEGER {
            ip(1),      -- Internet Protocol Version 4
            tcp(2),     -- Transmission Control Protocol
            udp(3),     -- User Datagram Protocol
            icmp(4),    -- Internet Control Management Protocol
            igmp(5),    -- Internet Group Management Protocol (Multicast)
            ipx(6),     -- Novell IPX protocol
            ipxsap(7),  -- Novell IPX SAP protocol
            ipxrip(8)   -- Novell IPX RIP protocol
       }

   SSRsocketId ::= TEXTUAL-CONVENTION
       STATUS       current
       DESCRIPTION
	"A TCP or UDP port or socket end point."
       SYNTAX INTEGER (0..65535)


   SSRVlanIndex  ::= TEXTUAL-CONVENTION
       STATUS       current
       DESCRIPTION
	"An 802.1Q VLAN Identifier with same semantics as Q-BRIDGE-MIB VlanId.
         SSR uses Vid 1 for the default VLAN. All ports by default belong to this VLAN
         unless assigned to one or more user defined VLANs. A value of 4100 is used to match
         all VLANs. 4094 to 4099 are reserved local VLAN ids on the SSR."
       SYNTAX INTEGER (1..4100)

   SSRPortList ::= TEXTUAL-CONVENTION
       STATUS       current
       DESCRIPTION 
         "List of ifIndexes that make up the ports to apply a layer 2 filter to.
          The ifIndexes are numbered sparsely starting from 1. An example string
          might be: 
                1,2,32 
                1,6,9,
          Each ifIndex must represent a physical port or link aggregation aka Smart 
          Trunk ifType of propMultiplexor(54). Note ifIndexes may change across 
          system resets per RFC 2233."
      SYNTAX    OCTET STRING (SIZE (0..255))

SSRFlowPolicyType ::= TEXTUAL-CONVENTION
    STATUS      current
    DESCRIPTION
        "Type of Flow Policy. permitFlow allows matching traffic to be forwarded. denyFlow
         causes matching traffic to be discarded."
    SYNTAX      INTEGER { permitFlow(1), denyFlow(2) }

SSRFlowPolicyAction ::= TEXTUAL-CONVENTION
    STATUS      current
    DESCRIPTION
        "When deciding when to apply policy there are three potential methods. 
         policyBeforeRouteLookup provides a way to special case normal traffic patterns 
         so that certain traffic can be routed according to policy. 
         policyAfterRouteLookup is useful when a default route does not exist and the traffic
         to route does not match existing route tables. 
         useOnlyPolicyLookup bypasses normal route lookup altogether."
    SYNTAX  INTEGER { policyBeforeRouteLookup(1), policyAfterRouteLookup(2), useOnlyPolicyLookup(3) }

SSRFlowPolicyAclList ::= TEXTUAL-CONVENTION
    STATUS      current
    DESCRIPTION
        "A blank separated list of ACL names used to match flows against from the polAclTable.
         The keyword, everything, may be used to match all traffic. ASCII printable characters only"
    SYNTAX      OCTET STRING (SIZE(1..4096))

SSRFlowNextHopList  ::= TEXTUAL-CONVENTION
    STATUS      current
    DESCRIPTION
        "A blank separated list of from one to four l4fNextHopRouter ipaddresses or
         the keyword null. Null represents the null interface"
    SYNTAX      OCTET STRING (SIZE(1..4096))

SSRFlowLoadPolicy  ::= TEXTUAL-CONVENTION
    STATUS      current
    DESCRIPTION
         "round robin evenly distributes flows among the next hops. firstAvailable 
          will make flows go to the first available next hop in the ordered list."
    SYNTAX  INTEGER { firstAvailable(2), roundRobin(3) }

-- ### groups ###

-- Layer 3 Policy Group

polL3Group  OBJECT IDENTIFIER   ::= { ssrMibs 12 }

   polAclServer  OBJECT-TYPE
       SYNTAX      TruthValue
       MAX-ACCESS  read-write
       STATUS      current
       DESCRIPTION
	"This is true when Access Control Lists (ACLs) are defined by a 
         Policy Server else false.
	 At boot, this value is false. After the first valid set of any 
         policy object, the value changes to true."
       ::= { polL3Group 1 }

   polAclNumber  OBJECT-TYPE
       SYNTAX      INTEGER (0..2147483647) 
       MAX-ACCESS  read-only
       STATUS      current
       DESCRIPTION
	"The number of Layer 3 Access Control Lists defined in the SSR."
       ::= { polL3Group 2 }

   polAclLastChanged  OBJECT-TYPE
       SYNTAX      TimeTicks
       MAX-ACCESS  read-only
       STATUS      current
       DESCRIPTION
	"The time the Access Control List were last changed."
       ::= { polL3Group 3 }

   -- The Layer 3 Access Control List Configuration Table

   polAclTable OBJECT-TYPE
       SYNTAX      SEQUENCE OF PolAclEntry
       MAX-ACCESS  not-accessible
       STATUS      current
       DESCRIPTION
	"A list of Access Control List entries."
       ::= { polL3Group 4 }

   polAclEntry OBJECT-TYPE
       SYNTAX      PolAclEntry
       MAX-ACCESS  not-accessible
       STATUS      current
       DESCRIPTION
	"A record containing a Access Control List."
       INDEX   { polAclName, polAclItem }
       ::= { polAclTable 1 }

   PolAclEntry ::=
       SEQUENCE {
           polAclName		DisplayString,
           polAclItem           INTEGER,
           polAclRestriction	INTEGER,
           polAclProtocol	SSRProtocol,
           polAclSrcIp		IpAddress,
           polAclSrcMask	IpAddress,
           polAclDstIp		IpAddress,
           polAclDstMask	IpAddress,
           polAclTOS     	INTEGER,
           polAclSrcPort	SSRsocketId,
           polAclDstPort	SSRsocketId,
           polAclSrcOperator	SSRPortComparator,
           polAclDstOperator	SSRPortComparator,
           polAclSrcHighRange	INTEGER,
           polAclDstHighRange	INTEGER,
           polAclAuditTrail     TruthValue, 
           polAclCheckpoint     INTEGER,
           polAclRowStatus      RowStatus
       }

   polAclName OBJECT-TYPE
       SYNTAX      DisplayString
       MAX-ACCESS  read-only
       STATUS      current
       DESCRIPTION
               "The administratively assigned name to this static route entry."
       ::= { polAclEntry 1 }

   polAclItem OBJECT-TYPE
       SYNTAX INTEGER (0..256)
       MAX-ACCESS  read-only
       STATUS      current
       DESCRIPTION
               "This row's unique identifier within a given ACL set. Member of the ACL set 
                are numbered from 1 to 256. If Item is set to 0, and rowStatus is destroy, 
                all rows for this set are destroyed."
       ::= { polAclEntry 2 }

   polAclRestriction OBJECT-TYPE
       SYNTAX      INTEGER {
           permit(1),
           deny(2)
       }
       MAX-ACCESS  read-write
       STATUS      current
       DESCRIPTION
               "The permissions/restrictions given to this static route entry."
       ::= { polAclEntry 3 }

   polAclProtocol OBJECT-TYPE
       SYNTAX      SSRProtocol
       MAX-ACCESS  read-write
       STATUS      current
       DESCRIPTION
               "The IETF protocol this ACL applies to."
       ::= { polAclEntry 4 }

   polAclSrcIp OBJECT-TYPE
       SYNTAX     IpAddress
       MAX-ACCESS  read-write
       STATUS      current
       DESCRIPTION
               "The source L3 IP Address this ACL applies to."
       ::= { polAclEntry 5 }

   polAclSrcMask OBJECT-TYPE
       SYNTAX     IpAddress
       MAX-ACCESS  read-write
       STATUS      current
       DESCRIPTION
               "The source L3 IP Mask this ACL Applies to."
       ::= { polAclEntry 6 }

   polAclDstIp OBJECT-TYPE
       SYNTAX     IpAddress
       MAX-ACCESS  read-write
       STATUS      current
       DESCRIPTION
               "The source L3 IP Address this ACL applies to."
       ::= { polAclEntry 7 }

   polAclDstMask OBJECT-TYPE
       SYNTAX     IpAddress
       MAX-ACCESS  read-write
       STATUS      current
       DESCRIPTION
               "The source L3 IP Mask this ACL Applies to."
       ::= { polAclEntry 8 }

   polAclTOS OBJECT-TYPE
       SYNTAX     INTEGER (0..15)
       MAX-ACCESS  read-write
       STATUS      current
       DESCRIPTION
               "The source L3 IP Type of Service field."
       ::= { polAclEntry 9 }

   polAclSrcPort OBJECT-TYPE
       SYNTAX    SSRsocketId
       MAX-ACCESS  read-write
       STATUS      current
       DESCRIPTION
               "The source L3 IP source port/socket ACL applies to."
       ::= { polAclEntry 10 }

   polAclDstPort OBJECT-TYPE
       SYNTAX    SSRsocketId
       MAX-ACCESS  read-write
       STATUS      current
       DESCRIPTION
               "The source L3 IP destination port/socket ACL applies to."
       ::= { polAclEntry 11 }

   polAclSrcOperator OBJECT-TYPE
       SYNTAX     SSRPortComparator
       MAX-ACCESS  read-write
       STATUS      current
       DESCRIPTION
               "polAclSrcPort is compared using this operator."
       DEFVAL { eq }
       ::= { polAclEntry 12 }

   polAclDstOperator OBJECT-TYPE
       SYNTAX     SSRPortComparator
       MAX-ACCESS  read-write
       STATUS      current
       DESCRIPTION
               "polAclDstPort is compared using this operator."
       DEFVAL { eq }
       ::= { polAclEntry 13 }

       
   polAclSrcHighRange OBJECT-TYPE
       SYNTAX     INTEGER (-1..65535)
       MAX-ACCESS  read-write
       STATUS      current
       DESCRIPTION
               "The high range source L3 IP port. Used
                only when SrcOperator == range. polAclSrcPort is
                used as the lower bounds of the range."
       DEFVAL { -1 }
       ::= { polAclEntry 14 }

   polAclDstHighRange OBJECT-TYPE
       SYNTAX     INTEGER (-1..65535)
       MAX-ACCESS  read-write
       STATUS      current
       DESCRIPTION
               "The high range destination L3 IP port. Used
                only when SrcOperator == range. polAclDstPort is 
                used as the lower bounds of the range."
       DEFVAL { -1 }
       ::= { polAclEntry 15 }

   polAclAuditTrail  OBJECT-TYPE
       SYNTAX      TruthValue
       MAX-ACCESS  read-write
       STATUS      current
       DESCRIPTION
	"Flows matching this ACL are logged for Accounting when true."
       ::= { polAclEntry 16 }

   polAclCheckpoint  OBJECT-TYPE
       SYNTAX      INTEGER  {
                      hourly(1), 
                      daily(2), 
                      weekly(3), 
                      monthly(4),
                      endofcall(5)  
       } 
       MAX-ACCESS  read-write
       STATUS      current
       DESCRIPTION
	"How long to keep flow at which point a checkpoint should be done.
         A checkpoint may trigger earlier than this time should the maximum
         batch size be reached."
       ::= { polAclEntry 17 }

   polAclRowStatus OBJECT-TYPE
       SYNTAX      RowStatus
       MAX-ACCESS  read-write
       STATUS      current
       DESCRIPTION
	"SNMP V2 RowStatus control for this table."
       ::= { polAclEntry 18 }


-- ACL's created must be applied to either an Interface or service

   polAclServiceNumber  OBJECT-TYPE
       SYNTAX      INTEGER (0..2147483647)
       MAX-ACCESS  read-only
       STATUS      current
       DESCRIPTION
	"The number of Layer 3 Access Control Lists in service in the SSR."
       ::= { polL3Group 5 }

   polAclServiceLastChanged  OBJECT-TYPE
       SYNTAX      TimeTicks
       MAX-ACCESS  read-only
       STATUS      current
       DESCRIPTION
	"The time the ACLs in service were last changed."
       ::= { polL3Group 6 }

   -- The Layer 3 Access Control List Configuration Table

   polAclServiceTable OBJECT-TYPE
       SYNTAX      SEQUENCE OF PolAclServiceEntry
       MAX-ACCESS  not-accessible
       STATUS      current
       DESCRIPTION
	"A list of ACL's currently in service."
       ::= { polL3Group 7 }

   polAclServiceEntry OBJECT-TYPE
       SYNTAX      PolAclServiceEntry
       MAX-ACCESS  not-accessible
       STATUS      current
       DESCRIPTION
	"A record containing a Access Control Lists applied to Interfaces."
       INDEX   { polAclServiceIfIndex, polAclName2 }
       ::= { polAclServiceTable 1 }

   PolAclServiceEntry ::=
       SEQUENCE {
           polAclServiceIfIndex         InterfaceIndex,
           polAclName2			DisplayString,
           polAclServiceDirection     	INTEGER,
           polAclServiceRowStatus	RowStatus
       }

   polAclServiceIfIndex  OBJECT-TYPE
       SYNTAX     InterfaceIndex  
       MAX-ACCESS  read-only
       STATUS      current
       DESCRIPTION
	"The ifIndex of the IP Interface the ACL is applied to. 
         An SSR IP Interface has ifType 142"
       ::= { polAclServiceEntry 1 }

   polAclName2  OBJECT-TYPE
       SYNTAX      DisplayString
       MAX-ACCESS  read-only
       STATUS      current
       DESCRIPTION
	"The name of the ACL applied to the particular port."
       ::= { polAclServiceEntry 2 }

   polAclServiceDirection  OBJECT-TYPE
       SYNTAX      INTEGER {
            ingress(1),
            egress(2),
            both(3)
       }
       MAX-ACCESS  read-write
       STATUS      current
       DESCRIPTION
	"The direction the ACL is applied to the particular port."
       ::= { polAclServiceEntry 3 }

   polAclServiceRowStatus OBJECT-TYPE
       SYNTAX      RowStatus
       MAX-ACCESS  read-write
       STATUS      current
       DESCRIPTION
	"SNMP V2 RowStatus control for this table."
       ::= { polAclServiceEntry 6 }

-- List of IP Interfaces and their policy status 

   polAclRemoteAllowed  OBJECT-TYPE
       SYNTAX      TruthValue
       MAX-ACCESS  read-only
       STATUS      current
       DESCRIPTION
	"Remote Policy Configuration is allowed when true only 
         local (to SSR) policy may be applied."
       ::= { polL3Group 9 }

   polAclInterfaceNumber  OBJECT-TYPE
       SYNTAX      INTEGER (0..2147483647)
       MAX-ACCESS  read-only
       STATUS      current
       DESCRIPTION
	"The number of Layer 3 Interfaces in service in the SSR."
       ::= { polL3Group 10 }

   polAclInterfaceLastChanged  OBJECT-TYPE
       SYNTAX      TimeTicks
       MAX-ACCESS  read-only
       STATUS      current
       DESCRIPTION
	"The time the Interfaces in service were last changed with regard to policy."
       ::= { polL3Group 11 }

   polAclInterfaceTable OBJECT-TYPE
       SYNTAX      SEQUENCE OF PolAclInterfaceEntry
       MAX-ACCESS  not-accessible
       STATUS      current
       DESCRIPTION
	"A list of IP Interfaces in service and their policy status. Each IP Interface can be
         defined to use local static policy or remote dynamic policy in the config."
       ::= { polL3Group 12 }

   polAclInterfaceEntry OBJECT-TYPE
       SYNTAX      PolAclInterfaceEntry
       MAX-ACCESS  not-accessible
       STATUS      current
       DESCRIPTION
	"A record containing a Access Control Lists applied to Interfaces."
       INDEX   { polAclInterfaceIfIndex, polAclInterfaceDirection }
       ::= { polAclInterfaceTable 1 }

   PolAclInterfaceEntry ::=
       SEQUENCE {
           polAclInterfaceIfIndex         InterfaceIndex,
           polAclInterfaceDirection       INTEGER,
           polAclPolicyStatus             INTEGER
       }

   polAclInterfaceIfIndex  OBJECT-TYPE
       SYNTAX     InterfaceIndex  
       MAX-ACCESS  read-only
       STATUS      current
       DESCRIPTION
	"The ifIndex of the IP Interface the ACL is applied to."
       ::= { polAclInterfaceEntry 1 }

   polAclInterfaceDirection  OBJECT-TYPE
       SYNTAX      INTEGER {  -- TBD: Make into TC
            ingress(1),
            egress(2),
            both(3)
       }
       MAX-ACCESS  read-only
       STATUS      current
       DESCRIPTION
	"The direction the ACL is applied to the particular port."
       ::= { polAclInterfaceEntry 2 }

   polAclPolicyStatus  OBJECT-TYPE
       SYNTAX      INTEGER {
           local(1),  -- ACLs can be applied via local mgmt only
           remote(2)  -- ACLs can be applied via local or remote
       }
       MAX-ACCESS  read-only
       STATUS      current
       DESCRIPTION
	"Rules for what type of management can apply ACLs to a particular interface. If set to remote,
         then a Policy Manager via SNMP may change dynamically the ACLs applied to an interface. Note,
         ACLs applied dynamically are not maintained across system reboot. Use local ACLs to setup the basic
         rules then apply dynamic rules as necessary."
       ::= { polAclInterfaceEntry 3 }

--
--    L2 Policy Policy Group
--

polL2Group  OBJECT IDENTIFIER   ::= { ssrMibs 16 }

   polL2FilterNumber  OBJECT-TYPE
       SYNTAX      INTEGER (0..2147483647) 
       MAX-ACCESS  read-only
       STATUS      current
       DESCRIPTION
	"The number of Layer 3 Access Control Lists defined in the SSR."
       ::= { polL2Group 1 }

   polL2FilterLastChanged  OBJECT-TYPE
       SYNTAX      TimeTicks
       MAX-ACCESS  read-only
       STATUS      current
       DESCRIPTION
	"The time the Access Control List were last changed."
       ::= { polL2Group 2 }

   polL2FilterTable OBJECT-TYPE
       SYNTAX      SEQUENCE OF PolL2FilterEntry
       MAX-ACCESS  not-accessible
       STATUS      current
       DESCRIPTION
               "A list of Layer 2 filters."
       ::= { polL2Group 3 }

   polL2FilterEntry OBJECT-TYPE
       SYNTAX      PolL2FilterEntry
       MAX-ACCESS  not-accessible
       STATUS      current
       DESCRIPTION
               "An entry containing a layer 2 filter."
       INDEX   { polL2FilterIndex }
       ::= { polL2FilterTable 1 }

   PolL2FilterEntry ::=
       SEQUENCE {
           polL2FilterIndex         INTEGER,
           polL2FilterDesc          DisplayString,
           polL2FilterType          INTEGER,
           polL2FilterRestrictions  INTEGER,
           polL2FilterDstMacAddr    MacAddress,
           polL2FilterSrcMacAddr    MacAddress,
           polL2FilterVlanId        SSRVlanIndex,
           polL2FilterInPorts       SSRPortList,
           polL2FilterOutPorts      SSRPortList,
           polL2FilterCreationTime  TimeTicks,
           polL2FilterStatus        RowStatus
       }

   polL2FilterIndex  OBJECT-TYPE
       SYNTAX      INTEGER (1..65535)
       MAX-ACCESS  not-accessible
       STATUS      current
       DESCRIPTION
	"A unique index into the table representing a single filter entry. This value 
          will remain unique and the relationship between the index and the underlying filter
          is valid until the next reboot."
       ::= { polL2FilterEntry 1 }

   polL2FilterDesc  OBJECT-TYPE
       SYNTAX       DisplayString (SIZE (0..25))
       MAX-ACCESS   read-create	
       STATUS      current
       DESCRIPTION
         "A string used to describe the filter. It should contain
          the creator IP address, and other descriptive information about the filter.
          It is recommended that names be unique within a given filter type.
          This object may not be modified if the associated.
          polL2FilterStatus object is equal to active(1)."
       ::= { polL2FilterEntry 2 }

   polL2FilterType  OBJECT-TYPE
       SYNTAX      INTEGER {
                   staticEntry(1),
                   addressFilter(2),
                   portAddressLock(3),
                   securePort(4)
                   }
       MAX-ACCESS  read-create
       STATUS      current
       DESCRIPTION
          "The types of filters, as explained below.

           static-entry
 
               Based on the restrictions and the presence of
               source, destination MAC address they can be of 
               three types :

               source-static-entry - All frames with a source
               address equal to srcMAC, coming through any of 
               the inPorts will be allowed/disallowed to go 
               to any port that is a member of the outPorts
               list.

               destination-static-entry - All frames with a 
               destination address equal to dstMAC, coming 
               through any of the inPorts  will be allowed/
               disallowed/forced to go to any port that is a 
               member of the outPorts list.

               flow-static-entry - All frames with a source
               address equal to srcMAC and a destination address
               equal to dstMAC, coming through any of the inPorts 
               list will be allowed/disallowed to go to any port 
               that is a member of the outPorts list. Ports
               must be in flow-bridging mode in order to use
               filters with both src and dst mac specified.               

           address-filter
 
               Based on the restrictions and the presence of
               source, destination MAC address they can be of 
               three types :

               source-address-filter - All frames with a source
               address equal to srcMAC, coming through any of 
               the inPorts will be filtered out.

               destination-address-filter - All frames with a 
               destination address equal to dstMAC, coming through 
               any of the inPorts will be filtered out.

               flow-filter - All frames with a source address equal 
               to srcMAC and a destination address equal to dstMAC, 
               coming through any of the inPorts list will be 
               filtered out. Ports must be in flow mode in order
               to set a filter using both source and destination 
               address.

           port-address-lock

               This locks a source address to a port. It allows 
               learning of srcMAC addresses only on any of the ports
               in inPorts. The following objects are mandatory
               and must be set by mgmt station to activate a row:
               polL2FilterDesc, polL2FilterSrcMacAddr, polL2FilterInPorts

           secure-port

               This blocks all traffic in a given direction to a port.
               Used with static entries, it is effective in allowing only
               certain well defined source/destination mac addresses.
               The following objects must be set by mgmt station to
               activate an entry:
               polL2FilterDesc, r, polL2FilterInPorts

          This object may not be modified if the associated.
          polL2FilterStatus object is equal to active(1)."
        DEFVAL { staticEntry }
       ::= { polL2FilterEntry 3 }

   polL2FilterRestrictions  OBJECT-TYPE
       SYNTAX      INTEGER {
                   allow(1),
                   disallow(2),
                   force(3),
                   none(4),
                   blockIngress(5),
                   blockEgress(6)
                   }
       MAX-ACCESS  read-create
       STATUS      current
       DESCRIPTION
          "The first 3 restrictions, allow, disallow, force apply when the filterType 
          is static-entry. When polL2FilterType is addressFilter or portAddressLock,
          this object does not apply. For securePort, the blockIngress, blockEgress
          values apply.
          This object may not be modified if the associated.
          polL2FilterStatus object is equal to active(1)."

       DEFVAL { none }
       ::= { polL2FilterEntry 4 }

   polL2FilterSrcMacAddr  OBJECT-TYPE
       SYNTAX      MacAddress
       MAX-ACCESS  read-create
       STATUS      current
       DESCRIPTION
               "The source MAC address, which is present in case
                of a Flow, that has been learned by the switch."
       ::= { polL2FilterEntry 5 }

   polL2FilterDstMacAddr  OBJECT-TYPE
       SYNTAX      MacAddress
       MAX-ACCESS  read-create
       STATUS      current
       DESCRIPTION
          "The destination MAC address which has been learned.

          This object may not be modified if the associated.
          polL2FilterStatus object is equal to active(1)."
       ::= { polL2FilterEntry 6 }

   polL2FilterVlanId  OBJECT-TYPE
       SYNTAX      SSRVlanIndex
       MAX-ACCESS  read-create
       STATUS      current
       DESCRIPTION
       "The VLAN the destination MAC address belongs to. The default VLAN 
        is id 1 on SSR.

        This object may not be modified if the associated.
        polL2FilterStatus object is equal to active(1)."
       DEFVAL {1}
       ::= { polL2FilterEntry 7 }

   polL2FilterInPorts  OBJECT-TYPE
       SYNTAX      SSRPortList
       MAX-ACCESS  read-create
       STATUS      current
       DESCRIPTION
         "The set of Ports to which this filter applies on input.

        This object may not be modified if the associated.
        polL2FilterStatus object is equal to active(1)."
       ::= { polL2FilterEntry 8 }

   polL2FilterOutPorts  OBJECT-TYPE
       SYNTAX      SSRPortList
       MAX-ACCESS  read-create
       STATUS      current
       DESCRIPTION
       "The set of ports to which this filter applies on output.

        This object may not be modified if the associated.
        polL2FilterStatus object is equal to active(1)."
       ::= { polL2FilterEntry 9 }

   polL2FilterCreationTime  OBJECT-TYPE
       SYNTAX      TimeTicks
       MAX-ACCESS  read-only
       STATUS      current
       DESCRIPTION
	"The value of sysUpTime when this filter was made active(1)."
       ::= { polL2FilterEntry 10 }

   polL2FilterStatus OBJECT-TYPE
       SYNTAX      RowStatus
       MAX-ACCESS  read-create
       STATUS      current
       DESCRIPTION
	"SMIv2 RowStatus control for this table. Use createAndWait or createAndGo
         to create a filter, use destroy to remove an entry or notInService to 
         disengage a filter without destroying it. A row in the notReady state has
         not had all the mandatory objects set."
       ::= { polL2FilterEntry 11 }


-- VLAN Protocol Filtering

    polL2Dot1qVlanStaticTable OBJECT-TYPE
       SYNTAX      SEQUENCE OF PolL2Dot1qVlanStaticEntry
       MAX-ACCESS  not-accessible
       STATUS      current
       DESCRIPTION
        "A table containing hardware specific VLAN behavior configuration
        information for VLANs created with the dot1qVlanStaticTable.
        Configuration information for each VLAN configured into the device by (local or
        network) management."
       ::= { polL2Group 4 }

   polL2Dot1qVlanStaticEntry OBJECT-TYPE
       SYNTAX      PolL2Dot1qVlanStaticEntry
       MAX-ACCESS  not-accessible
       STATUS      current
       DESCRIPTION
        "An entry containing additional hardware
        specific objects for a dot1qVlanStaticEntry."
       AUGMENTS   { dot1qVlanStaticEntry }
       ::= { polL2Dot1qVlanStaticTable 1 }

   PolL2Dot1qVlanStaticEntry ::=
       SEQUENCE {
           polL2Dot1qVlanStaticProtocols    BITS,
           polL2Dot1qVlanStaticL4Bridging   TruthValue
       }

   polL2Dot1qVlanStaticProtocols  OBJECT-TYPE
       SYNTAX      BITS {
                   reserved (0),
                   bridged-protocols (1),
                   ip(2),
                   ipx(3),
                   appletalk(4),
                   dec(5),
                   sna(6),
                   ipv6(7)
                   }
       MAX-ACCESS  read-create
       STATUS      current
       DESCRIPTION
        "Specifies the types of traffic that will be forwarded on this VLAN.  
         Protocols not set in this definition will be filtered. The types of protocols
         supported on this VLAN corresponds to the type option in the CLI command 
         vlan create <vlan name> <type>. If no protocols are specified, all
         protocols are forwarded. This corresponds to the port-based CLI
         option.
           reserved(0) - this bit is reserved and has no defined behavior.
           bridged-protocols(1) - this VLAN supports all bridged protocols
           excluding IP and IPX. Includes appletalk(4), dec(5), sna(6), and
           ipv6(7) if none of these protocols are set. If any are set, only
           those that are set are included.
           ip(2) - this VLAN supports IP protocol.
           ipx(3) - this VLAN supports IPX protocol.
           appletalk(4) - this VLAN supports Appletalk protocol.
           dec(5) - this VLAN supports DEC protocol.
           sna(6) - this VLAN supports SNA protocol.
           ipv6(7) - this VLAN supports IPv6 protocol."
       DEFVAL { { ip } }
       ::= { polL2Dot1qVlanStaticEntry 1 }

polL2Dot1qVlanStaticL4Bridging  OBJECT-TYPE
       SYNTAX      TruthValue
       MAX-ACCESS  read-create
       STATUS      current
       DESCRIPTION
        "If this object has a value of false(2), the L4 Bridging feature is not
         enabled on this VLAN. If this object has a value of true(1), the L4 Bridging 
         feature is enabled for this VLAN. This corresponds to the CLI command
         vlan enable l4-bridging." 
       DEFVAL { true }
       ::= { polL2Dot1qVlanStaticEntry 2 }

--
-- Layer 4 Flow Management
--
polL4Group  OBJECT IDENTIFIER   ::= { ssrMibs 15 }

   polL4PolicyBasedRoutingEnabled  OBJECT-TYPE
       SYNTAX      TruthValue
       MAX-ACCESS  read-only
       STATUS      current
       DESCRIPTION
	"The state of Policy Based Routing on this network element."
       ::= { polL4Group 1 }

   polL4NumRouters  OBJECT-TYPE
       SYNTAX      INTEGER (0..10)
       MAX-ACCESS  read-only
       STATUS      current
       DESCRIPTION
	"The number of next hop routers currently available."
       ::= { polL4Group 5 }

   polL4NextHopTableLastChange  OBJECT-TYPE
       SYNTAX      TimeTicks
       MAX-ACCESS  read-only
       STATUS      current
       DESCRIPTION
	"The value of sysUpTime when a row was last added 
         or deleted from polL4NextHopTable."
       ::= { polL4Group 10 }
  

   --
   -- the Next Hop Control Table
   --
   -- The Next Hop Control table contains information on 
   -- what next hop routers can be used to redirect existing L4 IP Flows

   polL4NextHopTable OBJECT-TYPE
       SYNTAX      SEQUENCE OF PolL4NextHopEntry
       MAX-ACCESS  not-accessible
       STATUS      current
       DESCRIPTION
	"A list of next hop IP routers."
       ::= { polL4Group 20 }

   polL4NextHopEntry OBJECT-TYPE
       SYNTAX      PolL4NextHopEntry
       MAX-ACCESS  not-accessible
       STATUS      current
       DESCRIPTION
	"An entry contains the status of a next hop router."
       INDEX   { polL4NextHopRouter }
       ::= { polL4NextHopTable 1 }

   PolL4NextHopEntry ::=
       SEQUENCE {
           polL4NextHopRouter            IpAddress,
           polL4NextHopState             INTEGER,          
           polL4NextHopPortOfExit        InterfaceIndexOrZero,
           polL4NextHopMacAddress        MacAddress,
           polL4NextHopLastChange        TimeTicks
       }

   polL4NextHopRouter OBJECT-TYPE
       SYNTAX      IpAddress
       MAX-ACCESS  read-only
       STATUS      current
       DESCRIPTION
	"The IP Address of the next hop router flow will be sent to."
       ::= { polL4NextHopEntry 1 }

   polL4NextHopState OBJECT-TYPE
       SYNTAX      INTEGER {
          unknown(1),
          waitingForArp(2),
          macAcquired(3),
          noArpReply(4)

       }
       MAX-ACCESS  read-only
       STATUS      current
       DESCRIPTION
         "The current status of the polL4NextHopRouter. 
          If no entry found when a policy route is activated, 
          then arp for the request the state will be waitingForArp(2). 
          If a reply is found the state will go to macAcquired(3) 
          else noArpReply(4). If NextHop is not local, mac is actual
          nexthop router."
       ::= { polL4NextHopEntry 2 }

    polL4NextHopPortOfExit OBJECT-TYPE
       SYNTAX      InterfaceIndexOrZero
       MAX-ACCESS  read-only
       STATUS      current
       DESCRIPTION
	"IfIndex of port we learned this router on or else zero if not known."
       ::= { polL4NextHopEntry 3 }

    polL4NextHopMacAddress OBJECT-TYPE
       SYNTAX      MacAddress
       MAX-ACCESS  read-only
       STATUS      current
       DESCRIPTION
	"MAC Address of next hop router learned from ARP."
       ::= { polL4NextHopEntry 4 }

    polL4NextHopLastChange  OBJECT-TYPE
       SYNTAX      TimeTicks
       MAX-ACCESS  read-only
       STATUS      current
       DESCRIPTION
	"The value of sysUpTime when this polL4NextHopState changed."
       ::= { polL4NextHopEntry 5 }


--
-- Layer 4 Flow Control Table
--
-- This table provides a means to redirect a given flow next hop router from the next hop Router Table
-- 

   polL4lowControlTableLastChange  OBJECT-TYPE
       SYNTAX      TimeTicks
       MAX-ACCESS  read-only
       STATUS      current
       DESCRIPTION
	"The value of sysUpTime when a row was last added or deleted from polL4lowControlTable."
       ::= { polL4Group 25 }

   polL4NumPolicies  OBJECT-TYPE
       SYNTAX      INTEGER (0..100000)
       MAX-ACCESS  read-only
       STATUS      current
       DESCRIPTION
	"The number of policies currently available."
       ::= { polL4Group 26 }

   polL4lowControlTable OBJECT-TYPE
       SYNTAX      SEQUENCE OF PolL4lowControlEntry
       MAX-ACCESS  not-accessible
       STATUS      current
       DESCRIPTION
               "Contains Control rows that indicate which flows have been redirected. As flows
                are aged out and recreated, these rules will enforce flow redirection policy."
       ::= { polL4Group 30 }

   polL4lowControlEntry OBJECT-TYPE
       SYNTAX      PolL4lowControlEntry
       MAX-ACCESS  not-accessible
       STATUS      current
       DESCRIPTION
               "This table is an ordered collection of route policies. For SSR, this maps
                to the command: ip-policy Name [permit|deny] acl acl-list"
       INDEX {  
          polL4PolicyName,
          polL4PolicySequence,
          polL4PolicyInstance
       }
       ::= { polL4lowControlTable 1 }

   PolL4lowControlEntry ::=
       SEQUENCE {
           polL4PolicyName       DisplayString,
           polL4PolicySequence   Integer32,
           polL4PolicyInstance   Integer32,

           polL4PolicyType       SSRFlowPolicyType,
           polL4PolicyAction     SSRFlowPolicyAction,
           polL4PolicyMatch      SSRFlowPolicyAclList,   
          
           polL4PolicyNextHops   SSRFlowNextHopList,
           polL4PolicyLoading    SSRFlowLoadPolicy,
           polL4PolicyWatch      TruthValue,

           polL4lowCreationTime  TimeTicks,  -- read only
           polL4lowActiveGates   Gauge32,    -- read only
           polL4lowAppliedTimes  Counter32,  -- read only

           polL4lowControlStatus RowStatus
       }

   polL4PolicyName   OBJECT-TYPE
       SYNTAX      DisplayString
       MAX-ACCESS  not-accessible
       STATUS      current
       DESCRIPTION
	"A unique name for this flow policy."
       ::= { polL4lowControlEntry 1 }

   polL4PolicySequence OBJECT-TYPE
   	   SYNTAX  Integer32 (1..65535)
	   MAX-ACCESS  not-accessible
	   STATUS  current
	   DESCRIPTION
           "The evaluation order of this object. When two objects have the same value,
            the value of the instance value decides which is evaluated first.
            than higher numbers."
       ::= { polL4lowControlEntry 2 }

   polL4PolicyInstance OBJECT-TYPE
   	   SYNTAX  Integer32 (1..65535)
	   MAX-ACCESS  not-accessible
	   STATUS  current
	   DESCRIPTION
           "The sequence of this policy based route. Lower numbers have higher precedence 
            than higher numbers."
       ::= { polL4lowControlEntry 3 }

   polL4PolicyType   OBJECT-TYPE
       SYNTAX      SSRFlowPolicyType
       MAX-ACCESS  read-create
       STATUS      current
       DESCRIPTION
	"Controls if packets are forwarded or not for this policy."
       DEFVAL { permitFlow }
       ::= { polL4lowControlEntry 4 }

   polL4PolicyAction   OBJECT-TYPE
       SYNTAX      SSRFlowPolicyAction
       MAX-ACCESS  read-create
       STATUS      current
       DESCRIPTION
	"Define when this policy should be used during normal packet forwarding process."
       DEFVAL { policyBeforeRouteLookup }
       ::= { polL4lowControlEntry 5 }

   polL4PolicyMatch OBJECT-TYPE
   	   SYNTAX  SSRFlowPolicyAclList
	   MAX-ACCESS  read-create
	   STATUS  current
	   DESCRIPTION
	  "Up to twenty (20) separate ACLs may be defined to match for this policy.
           This object is mandatory. Use active row from polAclTable."
       ::= { polL4lowControlEntry 6 }
 
   polL4PolicyNextHops OBJECT-TYPE
   	   SYNTAX  SSRFlowNextHopList
	   MAX-ACCESS  read-create
	   STATUS  current
	   DESCRIPTION
	  "Up to for IpAddresses may be specified to route data to next. Load balancing
           If more than one next hop ip address is specified, the default load balancing
           scheme is round robin. This object is mandatory. Use objects from polL4NextHopTable."
       ::= { polL4lowControlEntry 7 }
 
   polL4PolicyLoading OBJECT-TYPE
   	   SYNTAX  SSRFlowLoadPolicy
	   MAX-ACCESS  read-create
	   STATUS  current
	   DESCRIPTION
	  "When more than one next hop is defined and available, set loading policy here."
          DEFVAL { firstAvailable }
       ::= { polL4lowControlEntry 8 }
   
   polL4PolicyWatch OBJECT-TYPE
   	   SYNTAX  TruthValue
	   MAX-ACCESS  read-create
	   STATUS  current
	   DESCRIPTION
	  "When True, use icmp echo to actively maintain status of next hop. This 
           is useful to prevent data sinks with static routes."
           DEFVAL { false }
       ::= { polL4lowControlEntry 9 }

   polL4lowCreationTime OBJECT-TYPE
   	   SYNTAX  TimeTicks
	   MAX-ACCESS  read-only
	   STATUS  current
	   DESCRIPTION
	  "The value of sysUpTime when policy went was created then activated."
       ::= { polL4lowControlEntry 10 }

   polL4lowActiveGates OBJECT-TYPE
   	   SYNTAX  Gauge32
	   MAX-ACCESS  read-only
	   STATUS  current
	   DESCRIPTION
	  "The number of currently active nexthop gateways."
       ::= { polL4lowControlEntry 11 }

   polL4lowAppliedTimes OBJECT-TYPE
   	   SYNTAX  Counter32
	   MAX-ACCESS  read-only
	   STATUS  current
	   DESCRIPTION
           "The number of times this policy was used."
       ::= { polL4lowControlEntry 12 }

   polL4lowControlStatus OBJECT-TYPE
       SYNTAX      RowStatus
       MAX-ACCESS  read-create
       STATUS      current
       DESCRIPTION
	"Entries in active state cause a flow to remain programmed with the next hop router specified.
	 If the next hop router goes down, the rowStatus will become inactive. New flows that match this
         specification will assume this next hop router over any other route directive. 
         This assumes polL4PolicyBasedRouteState value is true."
       ::= { polL4lowControlEntry 13 }

--
-- Summary Statistics for Flow Control SNMP API
--
polL4GroupStats  OBJECT IDENTIFIER   ::= { polL4Group 35 }

	polL4lowLostRouters OBJECT-TYPE
   	   SYNTAX  Counter32 
	   MAX-ACCESS  read-only
	   STATUS  current
	   DESCRIPTION
	  "The count of times routers were disabled from NextHopTable due to lost contact."
       ::= { polL4GroupStats 1 }

	polL4lowControlTableActivates OBJECT-TYPE
   	   SYNTAX  Counter32 
	   MAX-ACCESS  read-only
	   STATUS  current
	   DESCRIPTION
	  "The count of successful activations of flow control policies made."
       ::= { polL4GroupStats 2 }

	polL4lowControlTableActivateFails OBJECT-TYPE
   	   SYNTAX  Counter32 
	   MAX-ACCESS  read-only
	   STATUS  current
	   DESCRIPTION
	  "The count of unsuccessful flow control policies made."
       ::= { polL4GroupStats 3 }

       polL4lowArpMappingChanges OBJECT-TYPE
   	   SYNTAX  Counter32 
	   MAX-ACCESS  read-only
	   STATUS  current
	   DESCRIPTION
	  "The count of mac to next hop IP address mapping changes
           affecting policy based route tables."
       ::= { polL4GroupStats 4 }

       polL4lowIcmpRedirects OBJECT-TYPE
   	   SYNTAX  Counter32 
	   MAX-ACCESS  read-only
	   STATUS  current
	   DESCRIPTION
	  "The count of next hop route redirects received that
            match a policy in the polL4lowControlTable.
           This can help to determine if bad route policies are in effect."
       ::= { polL4GroupStats 16 }

       polL4lowMatchAttempts OBJECT-TYPE
   	   SYNTAX  Counter32 
	   MAX-ACCESS  read-only
	   STATUS  current
	   DESCRIPTION
	  "The count of total number of policy based flow lookups
           made against policy based route table. "
       ::= { polL4GroupStats 17 }



-- Compliance Statements 

polConformance OBJECT IDENTIFIER ::= { policyMIB 2 }
polCompliances OBJECT IDENTIFIER ::= { polConformance 1 }
polGroups OBJECT IDENTIFIER ::= { polConformance 2 }
 
polComplianceV10 MODULE-COMPLIANCE
    STATUS deprecated
    DESCRIPTION
            "The compliance statement for the policyMIB."
    MODULE  -- this module
        MANDATORY-GROUPS { polGroupV10 }
    ::= { polCompliances 1 }


polComplianceV11 MODULE-COMPLIANCE
    STATUS deprecated
    DESCRIPTION
            "The compliance statement for the policyMIB for version 1.1."
    MODULE  -- this module
        MANDATORY-GROUPS { polGroupV11 }
    ::= { polCompliances 2 }

polComplianceV12 MODULE-COMPLIANCE
    STATUS current
    DESCRIPTION
            "The compliance statement for the policyMIB for version 1.2."
    MODULE  -- this module
        MANDATORY-GROUPS { polGroupV12 }
    ::= { polCompliances 3 }
 
polComplianceV13 MODULE-COMPLIANCE
    STATUS current
    DESCRIPTION
            "The compliance statement for the policyMIB for version 1.3."
    MODULE  -- this module
        MANDATORY-GROUPS { polGroupV13 }
    ::= { polCompliances 4 }
 
polGroupV10  OBJECT-GROUP
   OBJECTS {
   polAclServer,
   polAclNumber,
   polAclLastChanged,
   polAclName,
   polAclItem,
   polAclRestriction,
   polAclProtocol,
   polAclSrcIp,
   polAclSrcMask,
   polAclDstIp,
   polAclDstMask,
   polAclTOS,
   polAclSrcPort,
   polAclDstPort,
   polAclSrcOperator,
   polAclDstOperator,
   polAclSrcHighRange,
   polAclDstHighRange,
   polAclAuditTrail,
   polAclCheckpoint,
   polAclRowStatus,

   polAclServiceNumber,
   polAclServiceLastChanged,
   polAclServiceIfIndex,
   polAclName2,	
   polAclServiceDirection,
   polAclServiceRowStatus,

   polAclRemoteAllowed,
   polAclInterfaceNumber,
   polAclInterfaceLastChanged,
   polAclInterfaceIfIndex,
   polAclInterfaceDirection,
   polAclPolicyStatus
}
STATUS deprecated
DESCRIPTION
  "A set of managed objects that make up version 1.0 of the SSR Flow Policy MIB."
   ::= { polGroups 1 }

polGroupV11  OBJECT-GROUP
   OBJECTS {
   polAclServer,
   polAclNumber,
   polAclLastChanged,
   polAclName,
   polAclItem,
   polAclRestriction,
   polAclProtocol,
   polAclSrcIp,
   polAclSrcMask,
   polAclDstIp,
   polAclDstMask,
   polAclTOS,
   polAclSrcPort,
   polAclDstPort,
   polAclSrcOperator,
   polAclDstOperator,
   polAclSrcHighRange,
   polAclDstHighRange,
   polAclAuditTrail,
   polAclCheckpoint,
   polAclRowStatus,

   polAclServiceNumber,
   polAclServiceLastChanged,
   polAclServiceIfIndex,
   polAclName2,	
   polAclServiceDirection,
   polAclServiceRowStatus,

   polAclRemoteAllowed,
   polAclInterfaceNumber,
   polAclInterfaceLastChanged,
   polAclInterfaceIfIndex,
   polAclInterfaceDirection,
   polAclPolicyStatus,

   polL2FilterLastChanged,
   polL2FilterNumber,
   polL2FilterDesc,
   polL2FilterType,
   polL2FilterRestrictions,
   polL2FilterSrcMacAddr,
   polL2FilterDstMacAddr,
   polL2FilterVlanId,
   polL2FilterInPorts,
   polL2FilterOutPorts,
   polL2FilterCreationTime,
   polL2FilterStatus

}
STATUS deprecated
DESCRIPTION
  "A set of managed objects that make up version 1.1 of the SSR Flow Policy MIB."
   ::= { polGroups 2 }

polGroupV12  OBJECT-GROUP
   OBJECTS {
   polAclServer,
   polAclNumber,
   polAclLastChanged,
   polAclName,
   polAclItem,
   polAclRestriction,
   polAclProtocol,
   polAclSrcIp,
   polAclSrcMask,
   polAclDstIp,
   polAclDstMask,
   polAclTOS,
   polAclSrcPort,
   polAclDstPort,
   polAclSrcOperator,
   polAclDstOperator,
   polAclSrcHighRange,
   polAclDstHighRange,
   polAclAuditTrail,
   polAclCheckpoint,
   polAclRowStatus,

   polAclServiceNumber,
   polAclServiceLastChanged,
   polAclServiceIfIndex,
   polAclName2,	
   polAclServiceDirection,
   polAclServiceRowStatus,

   polAclRemoteAllowed,
   polAclInterfaceNumber,
   polAclInterfaceLastChanged,
   polAclInterfaceIfIndex,
   polAclInterfaceDirection,
   polAclPolicyStatus,

   polL2FilterLastChanged,
   polL2FilterNumber,
   polL2FilterDesc,
   polL2FilterType,
   polL2FilterRestrictions,
   polL2FilterSrcMacAddr,
   polL2FilterDstMacAddr,
   polL2FilterVlanId,
   polL2FilterInPorts,
   polL2FilterOutPorts,
   polL2FilterCreationTime,
   polL2FilterStatus,

   polL4PolicyBasedRoutingEnabled,
   polL4NumRouters,
   polL4NextHopTableLastChange,
   polL4NextHopRouter,
   polL4NextHopState,
   polL4NextHopPortOfExit,
   polL4NextHopMacAddress,
   polL4NextHopLastChange,
   polL4lowControlTableLastChange,
   polL4NumPolicies,
   polL4PolicyType,
   polL4PolicyAction,
   polL4PolicyMatch,
   polL4PolicyNextHops,
   polL4PolicyLoading,
   polL4PolicyWatch,
   polL4lowCreationTime,
   polL4lowActiveGates,
   polL4lowAppliedTimes,
   polL4lowControlStatus,
   polL4lowLostRouters,
   polL4lowControlTableActivates,
   polL4lowControlTableActivateFails,
   polL4lowArpMappingChanges,
   polL4lowIcmpRedirects,
   polL4lowMatchAttempts
}
STATUS current
DESCRIPTION
  "A set of managed objects that make up version 1.2 of the SSR Flow Policy MIB."
   ::= { polGroups 3 }

polGroupV13  OBJECT-GROUP
   OBJECTS {
   polAclServer,
   polAclNumber,
   polAclLastChanged,
   polAclName,
   polAclItem,
   polAclRestriction,
   polAclProtocol,
   polAclSrcIp,
   polAclSrcMask,
   polAclDstIp,
   polAclDstMask,
   polAclTOS,
   polAclSrcPort,
   polAclDstPort,
   polAclSrcOperator,
   polAclDstOperator,
   polAclSrcHighRange,
   polAclDstHighRange,
   polAclAuditTrail,
   polAclCheckpoint,
   polAclRowStatus,

   polAclServiceNumber,
   polAclServiceLastChanged,
   polAclServiceIfIndex,
   polAclName2,	
   polAclServiceDirection,
   polAclServiceRowStatus,

   polAclRemoteAllowed,
   polAclInterfaceNumber,
   polAclInterfaceLastChanged,
   polAclInterfaceIfIndex,
   polAclInterfaceDirection,
   polAclPolicyStatus,

   polL2FilterLastChanged,
   polL2FilterNumber,
   polL2FilterDesc,
   polL2FilterType,
   polL2FilterRestrictions,
   polL2FilterSrcMacAddr,
   polL2FilterDstMacAddr,
   polL2FilterVlanId,
   polL2FilterInPorts,
   polL2FilterOutPorts,
   polL2FilterCreationTime,
   polL2FilterStatus,

   polL2Dot1qVlanStaticProtocols,
   polL2Dot1qVlanStaticL4Bridging,

   polL4PolicyBasedRoutingEnabled,
   polL4NumRouters,
   polL4NextHopTableLastChange,
   polL4NextHopRouter,
   polL4NextHopState,
   polL4NextHopPortOfExit,
   polL4NextHopMacAddress,
   polL4NextHopLastChange,
   polL4lowControlTableLastChange,
   polL4NumPolicies,
   polL4PolicyType,
   polL4PolicyAction,
   polL4PolicyMatch,
   polL4PolicyNextHops,
   polL4PolicyLoading,
   polL4PolicyWatch,
   polL4lowCreationTime,
   polL4lowActiveGates,
   polL4lowAppliedTimes,
   polL4lowControlStatus,
   polL4lowLostRouters,
   polL4lowControlTableActivates,
   polL4lowControlTableActivateFails,
   polL4lowArpMappingChanges,
   polL4lowIcmpRedirects,
   polL4lowMatchAttempts
}
STATUS current
DESCRIPTION
  "A set of managed objects that make up version 1.3 of the SSR Flow Policy MIB."
   ::= { polGroups 4 }

END