1-- *****************************************************************
2-- CISCO-PSA-MICROCODE-MIB.my
3--
4--
5-- March 2002, Rishi K Mutnuru
6--
7-- Copyright (c) 2002 by Cisco Systems, Inc.
8-- All rights reserved.
9--
10-- *****************************************************************
11--
12--
13
14CISCO-PSA-MICROCODE-MIB DEFINITIONS ::= BEGIN
15
16IMPORTS
17        MODULE-IDENTITY,
18        OBJECT-TYPE,
19        NOTIFICATION-TYPE
20                FROM SNMPv2-SMI
21        TEXTUAL-CONVENTION,
22        TruthValue
23                FROM SNMPv2-TC
24        MODULE-COMPLIANCE,
25        NOTIFICATION-GROUP,
26        OBJECT-GROUP
27                FROM SNMPv2-CONF
28        entPhysicalIndex,
29        entPhysicalDescr,
30        entPhysicalName
31                FROM ENTITY-MIB
32        ciscoMgmt
33                FROM CISCO-SMI;
34
35ciscoPsaMicrocodeMIB MODULE-IDENTITY
36        LAST-UPDATED    "200206180000Z"
37        ORGANIZATION    "Cisco Systems, Inc."
38        CONTACT-INFO
39                "       Cisco Systems
40                        Customer Service
41
42                Postal: 170 W. Tasman Drive
43                        San Jose, CA  95134-1706
44                        USA
45
46                   Tel: +1 800 553-NETS
47
48                E-mail: gsr-netman@cisco.com"
49
50        DESCRIPTION
51                "Cisco PSA Microcode MIB - Overview
52
53                The PSA is the Packet Switching ASIC used
54                in module like engine 2(E2) line cards in GSR
55                for IP and MPLS packets forwarding. The PSA
56                performs IP and MPLS packet forwarding at 4 Mpps.
57
58                The list of features supported by the PSA
59                includes (but is not limited to):
60                - Input and Output ACLs
61                - Frame Relay Switching
62                - PIRC
63                - MPLS VPN
64                - BGP policy accounting
65                - IP packet coloring
66                - Sampled Net flow
67                - ATM over MPLS.
68                - Source MAC Accounting.
69                - Unicast RPF
70
71                Note that all the features are not
72                supported simultaneously on a module.
73                Each microcode bundle/set can support
74                one or a limited number of the features
75                listed above. Each feature has a priority.
76                When a feature (ACL, Sampled NetFlow) is
77                enabled through the CLI, the higher
78                priority feature will take precedence
79                over the lower priority feature.  The
80                microcode for the lower priority is
81                removed and cleaned up.  The higher
82                priority microcode will be loaded.
83                Later, if the higher priority feature
84                is removed, the lower priority microcode
85                will be loaded again.
86
87                This MIB contains information about the microcode
88                bundles on modules like  E2 Line Cards(LC) in GSR.
89                Since microcode reload is a service interrupting
90                event, this MIB also defines a notification to
91                inform management stations that such an event has
92                taken place.
93                "
94
95        REVISION        "200206180000Z"
96        DESCRIPTION
97                "Initial version of this MIB module."
98        ::= { ciscoMgmt 259 }
99
100-- Top-level structure of the MIB
101
102ciscoPsaMicrocodeMIBNotifs OBJECT  IDENTIFIER
103                                   ::= { ciscoPsaMicrocodeMIB 0 }
104ciscoPsaMicrocodeMIBObjects OBJECT IDENTIFIER
105                                   ::= { ciscoPsaMicrocodeMIB 1 }
106
107ciscoPsaMicrocodeMIBConformance OBJECT IDENTIFIER
108                                   ::= { ciscoPsaMicrocodeMIB 2 }
109
110-- Subgroups:
111cpmcModulePsa OBJECT IDENTIFIER ::= { ciscoPsaMicrocodeMIBObjects 1 }
112cpmcBundle OBJECT IDENTIFIER    ::= { ciscoPsaMicrocodeMIBObjects 2 }
113cpmcNotif  OBJECT IDENTIFIER    ::= { ciscoPsaMicrocodeMIBObjects 3 }
114
115--  Textual Conventions
116
117PsaMicrocodeBundleId ::= TEXTUAL-CONVENTION
118        STATUS        current
119        DESCRIPTION
120                "The identity of a PSA microcode bundle.
121                 The current microcode bundles are:
122
123                 unknown(1): Unknown Bundle. There will be
124                             no entry associated with this
125                             value in the cpmcBundleTable.
126
127                 none(2): This value is used by
128                          cpmcModulePsaPrevBundleId object
129                          till the first micrcode reload
130                          occurs on the psa. There will be
131                          no entry associated with this
132                          value in the cpmcBundleTable.
133
134                 vanillaPOS(3): POS Vanilla
135
136                 vanillaGE(4):  GE Vanilla
137
138                 vanillaInuit(5): Inuit Vanilla
139
140                 vanillaTaz(6): TAZ Vanilla
141
142                 pircPOS(7): POS Per Interface Rate Control
143
144                 pircGE(8): GE Per Interface Rate Control
145
146                 uRPFPOS(9): POS Unicast Reverse Path Forwarding
147
148                 vrfSelectionPOS(10): POS VRF Selection
149
150                 bgppaPOS(11): POS BGP Policy Accounting
151
152                 bgppaGE(12):  GE BGP Policy Accounting
153
154                 ipColorPOS(13): POS IP Coloring
155
156                 inputAcl128POS(14): POS 128 Line Input ACL
157
158                 inputAcl128GE(15): GE 128 Line Input ACL
159
160                 outputAcl128POS(16): POS 128 Line Output ACL
161
162                 outputAcl128GE(17): GE 128 Line Output ACL
163
164                 inputAcl448POS(18): POS 448 Line Input ACL
165
166                 inputAcl448GE(19): GE 448 Line Input ACL
167
168                 outputAcl448POS(20): POS 448 Line Output ACL
169
170                 outputAcl448GE(21): GE 448 Line Output ACL
171
172                 serverCard(22): Server Card
173
174                 eoMplsGE(23): GE Ethernet over MPLS
175
176                 frtpPOS(24): POS Frame Relay Traffic Policing
177
178                 outputAclATM(25): ATM Output ACL
179
180                 inputAcl128Taz(26): TAZ 128 Line Input ACL
181
182                 vrfSelectionGE(27): GE VRF Selection
183
184                 uRPFGE(28): GE Unicast Reverse Path Forwarding
185
186                 cscGE(29): GE Carrier Supporting Carriers
187
188                 linkBundleSMPOS(30): POS Link Bundle Single Mode
189
190                 linkBundleDMPOS(31): POS Link Bundle Double Mode
191
192                 linkBundleSMGE(32): GE Link Bundle Single Mode
193
194                 linkBundleDMGE(33): GE Link Bundle Double Mode
195                 "
196
197        SYNTAX INTEGER {
198                       unknown(1),
199                       none(2),
200                       vanillaPOS(3),
201                       vanillaGE(4),
202                       vanillaInuit(5),
203                       vanillaTaz(6),
204                       pircPOS(7),
205                       pircGE(8),
206                       uRPFPOS(9),
207                       vrfSelectionPOS(10),
208                       bgppaPOS(11),
209                       bgppaGE(12),
210                       ipColorPOS(13),
211                       inputAcl128POS(14),
212                       inputAcl128GE(15),
213                       outputAcl128POS(16),
214                       outputAcl128GE(17),
215                       inputAcl448POS(18),
216                       inputAcl448GE(19),
217                       outputAcl448POS(20),
218                       outputAcl448GE(21),
219                       serverCard(22),
220                       eoMplsGE(23),
221                       frtpPOS(24),
222                       outputAclATM(25),
223                       inputAcl128Taz(26),
224                       vrfSelectionGE(27),
225                       uRPFGE(28),
226                       cscGE(29),
227                       linkBundleSMPOS(30),
228                       linkBundleDMPOS(31),
229                       linkBundleSMGE(32),
230                       linkBundleDMGE(33)
231                     }
232
233PsaMicrocodeFeatures ::=  TEXTUAL-CONVENTION
234        STATUS        current
235        DESCRIPTION
236                "The list of features supported on a PSA microcode
237                bundle.
238
239                The current list of features are:
240
241                basicIpForwarding(0): Basic IP Forwarding
242
243                basicMplsSwitching(1): Basic MPLS Switching
244
245                frameRelaySwitching(2): Frame Relay Switching
246
247                eAFrSwitching(3): Extended Addressing FR Switching
248
249                frtp(4): Frame Relay Traffic Policing
250
251                pirc(5): PIRC
252
253                vrfSelection(6): VRF Selection
254
255                uRPF(7): Unicast RPF
256
257                inputAcl128(8): 128 Line Input ACLs
258
259                outputAcl128(9): 128 Line Output ACLs
260
261                inputAcl448(10): 448  Line Input ACLs
262
263                outputAcl448(11): 448  Line Output ACLs.
264
265                sampledNetflow(12): Sampled Netflow
266
267                ipMarking(13): IP Marking
268
269                bgppa(14): BGP Policy Accounting
270
271                uti(15): Universal Transport Interface
272
273                mplsVpn(16): MPLS VPN
274
275                eoMpls(17): Ethernet over MPLS
276
277                atmoMpls(18): ATM over MPLS
278
279                csc(19): Carrier Supporting Carriers
280
281                multicast(20): Multicast
282
283                perPacketLoadBalancing(21): Per Packet Load Balancing
284
285                sourceMacAccounting(22): Source MAC Accounting
286
287                frSubVrf(23): FR per-subinterface VRF processing
288
289                serverCard(24): Server Card
290
291                mplsSNF(25): MPLS aware Sampled Netflow
292
293                linkBundle(26): Link Bundle
294
295                atomDisposition(27): AToM Disposition
296                "
297        SYNTAX  BITS {
298                      basicIpForwarding(0),
299                      basicMplsSwitching(1),
300                      frameRelaySwitching(2),
301                      eAFrSwitching(3),
302                      frtp(4),
303                      pirc(5),
304                      vrfSelection(6),
305                      uRPF(7),
306                      inputAcl128(8),
307                      outputAcl128(9),
308                      inputAcl448(10),
309                      outputAcl448(11),
310                      sampledNetflow(12),
311                      ipMarking(13),
312                      bgppa(14),
313                      uti(15),
314                      mplsVpn(16),
315                      eoMpls(17),
316                      atmoMpls(18),
317                      csc(19),
318                      multicast(20),
319                      perPacketLoadBalancing(21),
320                      sourceMacAccounting(22),
321                      frSubVrf(23),
322                      serverCard(24),
323                      mplsSNF(25),
324                      linkBundle(26),
325                      atomDisposition(27)
326                   }
327
328
329cpmcModulePsaTable OBJECT-TYPE
330        SYNTAX  SEQUENCE OF CpmcModulePsaEntry
331        MAX-ACCESS  not-accessible
332        STATUS  current
333        DESCRIPTION
334                "A table providing the microcode bundle information
335                of those modules which contains PSA (Ex: engine 2
336                line cards in GSR)."
337        ::= { cpmcModulePsa 1 }
338
339cpmcModulePsaEntry OBJECT-TYPE
340        SYNTAX CpmcModulePsaEntry
341        MAX-ACCESS  not-accessible
342        STATUS  current
343        DESCRIPTION
344                "Entries providing PSA microcode bundle information
345                of those entities of type PhysicalClass module(9)
346                and contain PSA."
347        INDEX { entPhysicalIndex }
348        ::= { cpmcModulePsaTable 1 }
349
350CpmcModulePsaEntry ::=
351        SEQUENCE {
352        cpmcModulePsaCurrBundleId        PsaMicrocodeBundleId,
353        cpmcModulePsaPrevBundleId        PsaMicrocodeBundleId,
354        cpmcModulePsaFeaturesEnabled     PsaMicrocodeFeatures,
355        cpmcModulePsaFeaturesDisabled    PsaMicrocodeFeatures
356        }
357
358cpmcModulePsaCurrBundleId OBJECT-TYPE
359        SYNTAX  PsaMicrocodeBundleId
360        MAX-ACCESS  read-only
361        STATUS  current
362        DESCRIPTION
363                "The identity of the microcode bundle currently
364                loaded on the PSA of the module identified by
365                entPhysicalIndex."
366        ::= { cpmcModulePsaEntry 1 }
367
368cpmcModulePsaPrevBundleId OBJECT-TYPE
369        SYNTAX  PsaMicrocodeBundleId
370        MAX-ACCESS  read-only
371        STATUS  current
372        DESCRIPTION
373                "The identity of the microcode bundle previously
374                loaded on the PSA of the module identified by
375                entPhysicalIndex. Till the first microcode reload
376                is performed on the module, the value will be
377                'none(2)'."
378        ::= { cpmcModulePsaEntry 2 }
379
380cpmcModulePsaFeaturesEnabled OBJECT-TYPE
381        SYNTAX PsaMicrocodeFeatures
382        MAX-ACCESS  read-only
383        STATUS  current
384        DESCRIPTION
385                "The list of features newly enabled due to the
386                loading of the microcode bundle identified by
387                cpmcModulePsaCurrBundleId. "
388        ::= { cpmcModulePsaEntry 3 }
389
390cpmcModulePsaFeaturesDisabled OBJECT-TYPE
391        SYNTAX PsaMicrocodeFeatures
392        MAX-ACCESS  read-only
393        STATUS  current
394        DESCRIPTION
395                "The list of features disabled because of the
396                unloading of microcode bundle identified by
397                cpmcModulePsaPrevBundleId and loading of the
398                microcode bundle identified by
399                cpmcModulePsaCurrBundleId."
400        ::= { cpmcModulePsaEntry 4 }
401
402-- end of cpmcModulePsaTable
403
404cpmcBundleTable OBJECT-TYPE
405        SYNTAX  SEQUENCE OF CpmcBundleEntry
406        MAX-ACCESS  not-accessible
407        STATUS  current
408        DESCRIPTION
409                "A table of PSA microcode bundle features."
410        ::= { cpmcBundle 1 }
411
412cpmcBundleEntry OBJECT-TYPE
413        SYNTAX CpmcBundleEntry
414        MAX-ACCESS  not-accessible
415        STATUS  current
416        DESCRIPTION
417                "Details the features of a microcode bundle."
418        INDEX { cpmcBundleId }
419        ::= { cpmcBundleTable 1 }
420
421CpmcBundleEntry ::=
422        SEQUENCE {
423        cpmcBundleId         PsaMicrocodeBundleId,
424        cpmcBundleFeatures   PsaMicrocodeFeatures
425        }
426
427cpmcBundleId OBJECT-TYPE
428        SYNTAX  PsaMicrocodeBundleId
429        MAX-ACCESS  not-accessible
430        STATUS  current
431        DESCRIPTION
432                "The identity of the PSA microcode bundle. This
433                object value can't be unknown(1) or none(2)."
434        ::= { cpmcBundleEntry 1 }
435
436cpmcBundleFeatures OBJECT-TYPE
437        SYNTAX  PsaMicrocodeFeatures
438        MAX-ACCESS  read-only
439        STATUS  current
440        DESCRIPTION
441                "The list of features supported by microcode bundle
442                identified by cpmcBundleId."
443        ::= { cpmcBundleEntry 2 }
444
445-- End of Table
446
447cpmcNotifEnables  OBJECT-TYPE
448        SYNTAX      TruthValue
449        MAX-ACCESS  read-write
450        STATUS      current
451        DESCRIPTION
452               "This variable indicates whether the system
453                produces the ciscoPsaMicrocodeReload notification.
454                A false value will prevent PSA microcode reload
455                notifications from being generated by the system."
456        DEFVAL { false }
457        ::= { cpmcNotif 1 }
458
459ciscoPsaMicrocodeReload NOTIFICATION-TYPE
460        OBJECTS {
461                  entPhysicalName,
462                  entPhysicalDescr,
463                  cpmcModulePsaCurrBundleId,
464                  cpmcModulePsaPrevBundleId,
465                  cpmcModulePsaFeaturesEnabled,
466                  cpmcModulePsaFeaturesDisabled
467                }
468        STATUS  current
469        DESCRIPTION
470                "A ciscoPsaMicrocodeReload notification is generated
471                when a PSA microcode reload occurs.."
472        ::= { ciscoPsaMicrocodeMIBNotifs 1 }
473
474
475-- conformance information
476
477
478ciscoPsaMicrocodeMIBCompliances OBJECT IDENTIFIER
479                            ::= { ciscoPsaMicrocodeMIBConformance 1 }
480ciscoPsaMicrocodeMIBGroups      OBJECT IDENTIFIER
481                            ::= { ciscoPsaMicrocodeMIBConformance 2 }
482
483-- Compliances statement
484
485ciscoPsaMicrocodeMIBCompliance MODULE-COMPLIANCE
486        STATUS  current
487        DESCRIPTION
488                "The compliance statement for entities which implement
489                 the CISCO-PSA-MICROCODE-MIB."
490        MODULE  -- this module
491                MANDATORY-GROUPS {
492                                  ciscoPsaMicrocodeParamsGroup,
493                                  ciscoPsaMicrocodeNotifGroup
494                                  }
495
496        ::= { ciscoPsaMicrocodeMIBCompliances 1 }
497
498-- units of compliances
499
500ciscoPsaMicrocodeParamsGroup  OBJECT-GROUP
501        OBJECTS {
502                 cpmcModulePsaCurrBundleId,
503                 cpmcModulePsaPrevBundleId,
504                 cpmcModulePsaFeaturesEnabled,
505                 cpmcModulePsaFeaturesDisabled,
506                 cpmcBundleFeatures,
507                 cpmcNotifEnables
508                }
509        STATUS  current
510        DESCRIPTION
511                "A collection of objects providing PSA microcode
512                monitoring."
513        ::= { ciscoPsaMicrocodeMIBGroups 1 }
514
515ciscoPsaMicrocodeNotifGroup  NOTIFICATION-GROUP
516    NOTIFICATIONS {
517                   ciscoPsaMicrocodeReload
518                  }
519        STATUS  current
520        DESCRIPTION
521                "A collection of notifications generated by
522                 the devices supporting this MIB."
523        ::= { ciscoPsaMicrocodeMIBGroups 2 }
524
525END
526