view Side-By-Side changes
Internet Engineering Task Force F. Baker Diffserv Working Group Cisco Systems INTERNET-DRAFT K. Chan ExpiresJanuaryJune 2001 Nortel Networksdraft-ietf-diffserv-mib-04.txtdraft-ietf-diffserv-mib-05.txt A. Smith <editor>JulyNovember 2000 Management Information Base for the Differentiated Services Architecture Status of this Memo This document is an Internet-Draft and is in full conformance with all provisions of Section 10 of RFC 2026. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF), its areas, and its working groups. Note that other groups may also distribute working documents as Internet-Drafts. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet Drafts as reference material or to cite them other than as "work in progress." The list of current Internet-Drafts can be accessed at http://www.ietf.org/ietf/1id-abstracts.txt. The list of Internet-Draft Shadow Directories can be accessed at http://www.ietf.org/shadow.html. This document is a product of the IETF's Differentiated Services Working Group. Comments should be addressed to WG's mailing list at diffserv@ietf.org. The charter for Differentiated Services may be found at http://www.ietf.org/html.charters/diffserv-charter.html Copyright (C) The Internet Society (2000). All Rights Reserved. Distribution of this memo is unlimited. Abstract This memo describes a SMIv2 MIB for a device implementing the Differentiated Services Architecture [DSARCH], described in detail by the Differentiated Services Router Informal Management Model [MODEL]. Baker, Chan, Smith ExpiresJanuaryJune 2001 [Page 1] Internet Draft Differentiated Services MIBJulyNovember 2000 1. The SNMP Management Framework The SNMP Management Framework presently consists of five major components: o An overall architecture, described in RFC 2571 [1]. o Mechanisms for describing and naming objects and events for the purpose of management. The first version of this Structure of Management Information (SMI) is called SMIv1 and described in RFC 1155 [2], RFC 1212 [3] and RFC 1215 [4]. The second version, called SMIv2, is described in RFC 2578 [5], RFC 2579 [6] and RFC 2580 [7]. o Message protocols for transferring management information. The first version of the SNMP message protocol is called SNMPv1 and described in RFC 1157 [8]. A second version of the SNMP message protocol, which is not an Internet standards track protocol, is called SNMPv2c and described in RFC 1901 [9] and RFC 1906 [10]. The third version of the message protocol is called SNMPv3 and described in RFC 1906 [10], RFC 2572 [11] and RFC 2574 [12]. o Protocol operations for accessing management information. The first set of protocol operations and associated PDU formats is described in RFC 1157 [8]. A second set of protocol operations and associated PDU formats is described in RFC 1905 [13]. o A set of fundamental applications described in RFC 2573 [14] and the view-based access control mechanism described in RFC 2575 [15]. A more detailed introduction to the current SNMP Management Framework can be found in RFC 2570 [16]. Managed objects are accessed via a virtual information store, termed the Management Information Base or MIB. Objects in the MIB are defined using the mechanisms defined in the SMI. This memo specifies a MIB module that is compliant to the SMIv2. A MIB conforming to the SMIv1 can be produced through the appropriate translations. The resulting translated MIB must be semantically equivalent, except where objects or events are omitted because no translation is possible (use of Counter64). Some machine-readable information in SMIv2 will be converted into textual descriptions in SMIv1 during the translation process. However, this loss of machine Baker, Chan, Smith Expires June 2001 [Page 2] Internet Draft Differentiated Services MIB November 2000 readable information is not considered to change the semantics of the MIB. Baker, Chan, Smith ExpiresJanuaryJune 2001 [Page2]3] Internet Draft Differentiated Services MIBJulyNovember 2000 2. Introduction 2.1. Relationship to the Diffserv Informal Management Model This MIB is designed according to the Differentiated Services Informal Management Model documented in [MODEL]. The model describes the way that ingress and egress interfaces of an 'n'-port router are modelled. It describes the configuration and management of a Diffserv interface in terms of aTransmission ControlTraffic Conditioning Block (TCB) which contains, by definition, zero or more classifiers, meters, actions, algorithmic droppers, queues and schedulers. These elements are arranged according to the QoS policy being expressed, always in that order. Traffic may be classified; classified traffic may be metered; each stream of traffic identified by a combination of classifiers and meters may have some set of actions performed on it; it may have dropping algorithms applied and it may ultimately be stored into a queue before being scheduled out to its next destination, either onto a link or to another TCB. When the treatment for a given packet must have any of those elements repeated in a way that breaks the permitted sequence {classifier, meter, action, algorithmic dropper, queue, scheduler}, this must be modelled by cascading multiple TCBs. The MIB represents this cascade by following the "Next" attributes of the various elements. They indicate what the next step in Diffserv processing will be, whether it be a classifier, meter, action, algorithmic dropper, queue, scheduler or a decision to now forward a packet. The MIB models the individual elements that make up theTCBs - it only refers in passing to the higher-levelTCBs. The higher level concept of a TCBwhenis not required in the parameterization or in the linking together of the individual elements, hence it isnecessary to distinguishnot used in the MIB itself and only mentioned in the text for relating the MIB with the [MODEL]. The actual distinguishing of whichTCB, of several,TCB aparticularspecific element is apart. Literal TCBs are enumerated for Classifier elements: thispart of isnecessary to distinguish different, but overlapping, classification policies in different TCBs. However, TCBs arenotenumeratedneeded forother elements. Whenthe instructmentation of aTCB performs no classificationdevice to support theliteralfunctionalities of DiffServ, but it is useful for conceptual reasons. By not including TCB notion in its parameters, this MIB allow any grouping ofthe succeedingelements to construct TCBs, using rules indicated by the [MODEL]. This will minimize changes to this MIB if rules in [MODEL] changes. The notion of a Data Path isnotused intheir instance (index) as there is no needthis MIB todistinguish them - each elementindicate the DiffServ processing a packet may experience. This Data Path isunique already.distinguished based on the Interface and the Direction of the flow the packet is part of. A Data Path Table Entry indicates the first of possibly multiple elements that will apply DiffServ treatment to the packet. Baker, Chan, Smith Expires June 2001 [Page 4] Internet Draft Differentiated Services MIB November 2000 2.2. Relationship to other MIBs and Policy Management This MIB provides for direct reporting and manipulation of the most detailed functional elements described by the Diffserv Informal Management Model for management. These elements areinstantiated in a very detailed manner, typically indexed by interface, direction and other indices. The conceptdesigned with their parameterization tables separated from their data path linkage tables, allowing reuse of"interface" iseach table asfor the InterfaceIndex/ifIndex of the IETF Interfacesmuch as possible. The data path linkage in this MIB[IFMIB]. Baker, Chan, Smith Expires January 2001 [Page 3] Internet Draft Differentiated Servicesis coupled with interface thru the use of diffServDataPathTable. The concept of "interface" is as for the InterfaceIndex/ifIndex of the IETF Interfaces MIBJuly 2000[IFMIB]. Other MIBs and data structure definitions for policy management mechanisms other than SNMP/SMIv2 are likely to exist in the future for the purposes of abstracting the model in other ways. In particular, abstractions in the direction of less detailed definitions of Diffserv functionality are likely e.g. some form of"Per- Hop"Per-Hop Behaviour"-based definition involving a template of detailed object values which is applied to specific instances of objects in this MIB semi-automatically. Another possible direction of abstraction is one using a concept of "roles" (often, but not always, applied to interfaces). In this case, it may be possible to re-use the object definitions in thisMIB but with different indexing variables e.g.MIB, especially the parameterization tables. The Data Path table will help in the reuse of the data path linkage tables bymechanically replacinghaving the interface specific information centralized, allowing easier mechanical replacement of ifIndex by some sort of "roleIndex". Work is ongoing in this area. 2.3. MIB Overview This MIB is structured based on the need to describe the sequential DiffServ treatments being applied to a packet, and the parameterization of these treatments. These two requirements are kept separate thru out the design of this MIB, and are full-filled using separate tables and data definitions. In this MIB, we model the ingress and egress portions of arouterDiffServ network device identically, making the distinction between them an index variable. Each interface then performs some or all of the following high-level functions: o Classify each packet according to some set of rules o Determine whether the packet's data streamthe packet is part ofiswithinconforming oroutsidenot conforming to itsratepermitted rates Baker, Chan, Smith Expires June 2001 [Page 5] Internet Draft Differentiated Services MIB November 2000 o Perform a set of resulting actions, possibly including counting the traffic, application of an appropriate drop policy and marking of the traffic with a Differentiated Services Code Point (DSCP) as defined in [DSFIELD]. o Enqueue the traffic for output in the appropriate queue, whose scheduler may shape the traffic or simply forward it with some minimum rate or maximum latency. The MIB therefore contains the following elements: Data Path Table A general extensible framework for describing the starting point of DiffServ datapaths within a single DiffServ device. This table descibes interface and interface direction specific data paths. Classifier and Filter Tables A general extensible framework and one example of a parameterization table - filter table (an IP Six-Tuple Multi-Field Classification Table). Meter Tables A general extensible framework and one example(an exponential weighted moving average meter). Baker, Chan, Smith Expires January 2001 [Page 4] Internet Draft Differentiated Services MIB July 2000of a parameterization table - TBMeter table, applicable for Simple Token Bucket Meter, Average Rate Meter, Single Rate Three Color Meter, Two Rate Three Color Meter, and Sliding Window Three Color Meter. Action Tables A general extensible framework and examples of parameterization tables for Absolute Drop, Mark and Count actions. The "multiplexer", "replicator" and "null" actions described in [MODEL] are accomplished implicitly by means of the RowPointer structures of the other elements. Queue, Scheduler and Algorithmic Dropper TablesQueue, SchedulerA general extensible framework for parameterizing queuing andAlgorithmic Dropper Tables.scheduler systems. The queue measurement dependent algorithmic droppers are also described here. 3. Structure of this MIB3.1. Classifiers The classifier and filter tables determine how trafficThis MIB issorted out. They identify separable classesstructured with separate tables for purpose oftraffic, by reference to an appropriate filter, which may select anything from an individual micro- flow to aggregates identified by DSCP. The classification is used to send these separate streams to appropriate Meter, Action, Queue, SchedulerDiffServ data path description andAlgorithmic Dropper elements. For example, to indicate a multi-stage meter, sub-classesDiffServ treatment parameterization oftraffic maythe DiffServ device. The data path description and/or the treatment parameterization tables can each besentreuse independently, allowing the flexibility todifferent meter stages: e.g. in an implementationmaintain a common data construct for DiffServ device configuration and provisioning, independent of theAssured Forwarding (AF) PHB [AF-PHB], AF11 traffic might be sentconfiguration/provisioning method used. Baker, Chan, Smith Expires June 2001 [Page 6] Internet Draft Differentiated Services MIB November 2000 The definitions in this MIB are intented tothe first meter, AF12 traffic mightbesent toreused by thesecondDiffServ PIB andAF13 traffic sent to the second meter stage's out-of-profile action. 3.1.1. Classifier TableSNMPCONF working group's DiffServ Policy MIB. Thestructure of the classifier table, as described in [MODEL], is a sequencetreatment parameters can also be reused by other IP based technologies. For example, IP packet filtering parameters most likely can be reused by other IP based technologies. 3.1. DiffServ Data Paths This part ofunambiguous tests. Within each stage inthesequence, it must not be important in which orderMIB provide instrumentation for connecting thetests are made. This is to facilitate optimized implementations such as index trees. Order is present onlyDiffServ Functional Elements within a single DiffServ device. Please refer toresolve ambiguity:the [MODEL] forthat reasondiscussions on thestage invalid sequencing and grouping of DiffServ Functional Elements. Given some basic information, e.g. ifIndex and interface direction, thesequencefirst DiffServ Functional Element isreferred to here and in [MODEL] asdetermined. Subsequent DiffServ Functional Elements are provided by the"precedence""Next" pointer attribute ofthe classifier stage: stages with higher values of precedence are compared first; the ordereach entry oftests for entriesdata path tables. Description ofthe same precedencehow this "Next" pointer isunimportant. An important formused in each table is provided in their respective section. The data path can be redefined to allow a different level ofclassifiercontrol other than interface level control currently defined in this MIB. There is"everything else":on-going work in this area, most notably thefinal stagedevelopment of Policy Information Base in DiffServ and RAP working groups, and DiffServ Policy MIB in SNMPCONF working group. 3.1.1. Data Path Table Entries in theclassifier i.e. the one with the lowest precedence, must be "complete" sinceData Path Table provide theresultDiffServ treatment starting points for all packets ofan incomplete classifierthis DiffServ device. Each entry in this table isnot necessarily deterministic - see [MODEL] section 4.1.2. The definitionindexed by ifIndex and the direction of theactual filter topacket flow. There should beused byat most two entries for each interface, one for ingress and one for egress. Each entry provides theclassifier is referenced viafirst DiffServ Functional Element each packet at aRowPointer:specific interface traveling a specific relative direction should experience. Notice thisenablestable is interface specific, with the use ofany sortifIndex. As indicated in section 2.2, with some modification/extension offilter table that one might wishthe Data Path Table, most of the tables and their entries are reusable by other Policy Management mechanisms. For indication of none existence of DiffServ Treatments, entries can be created with zeroDotZero in the diffServDataPathStart attribute todesign, standard or proprietary.indicate this explicitly. Thefilter table may be, but doesnone existence of DiffServ Treatment can also be indicated implicitly by notneedhaving the entry at all. The explicit/implicit selection is up tobe, definedthe implementation. This means allow normal IP device processing when zeroDotZero is used in the diffServDataPathStart attribute, or when the entry does not exist. Normal IP device processing will depend on the device, for example, thisMIB module.can be forwarding the packet. Baker, Chan, Smith ExpiresJanuaryJune 2001 [Page5]7] Internet Draft Differentiated Services MIBJulyNovember 2000 3.2. Classifiers Theclassifiers specified here are at the interface level i.e. they are indexedclassifier, classifier element, and filter tables determine how traffic is sorted out. They identify separable classes of traffic, byifIndex: theyreference to an appropriate filter, which maybe derivedselect anything fromsome more general policies e.g. something based on interface roles, but such discussionan individual micro-flow to aggregates identified by DSCP. The classification isoutside the scope of this document. See e.g. [POLTERM] section 4 forused to send these separate streams to appropriate Meter, Action, Queue, Scheduler and Algorithmic Dropper elements. For example, to indicate adiscussionmulti-stage meter, sub-classes ofRoles. 3.1.2. IP Six-Tuple Classifier Table This MIB includes a definition for an IP Six-Tuple Classifier, used for IPtrafficclassification. Entriesmay be sent to different meter stages: e.g. inthis filter table are referenced from the RowPointer diffServClassifierPattern attributes of classifier table entries. A Behavior Aggregate (BA) Classifier, acting only on DSCPs, is a simple forman implementation of theIP Six-Tuple Classifier. It is represented by havingAssured Forwarding (AF) PHB [AF-PHB], AF11 traffic might be sent to thediffServSixTupleClfrDscp attribute setfirst meter, AF12 traffic might be sent to thedesired DSCPsecond andall other classification attributes setAF13 traffic sent tomatch-all, their default settings.the second meter stage's out-of-profile action. Thealternative approachconcept ofprovidingaspecific definition in this MIB for a BA Classifier was discussed and rejected. Each entry inclassifier is theIP Six-Tuple Classifier Table defines a single filter.same as described in [MODEL]. Thetextual conventionstructure ofInetAddress [INETADDR] is used for both IPv4the classifier andIPv6 addressing. The use of IP Six-Tuple Classifiersclassifier element tables, isdiscussedthe same as the classifier described in[DSARCH] and abstract examples of how they might[MODEL]. Within each classifier, it must not beconfigured are providedimportant in[MODEL]. 3.2. Meters A meter, according to [MODEL] section 5, measures the rate atwhichpackets making up a stream of traffic pass it, compares this rateorder the tests are made. This is tosome setfacilitate optimized implementations such as index trees. Order is present only to resolve ambiguity, by use ofthresholds"order" here andproduces some number (two or more)"precedence" in [MODEL]. Filter with higher values ofpotential results.order are compared first; the order of tests for entries of the same order is unimportant. Agiven packetdatapath may consist of more than one classifier. There may be overlap of filter specification between filters of different classifiers. The first classifier functional datapath element encountered, as determined by the sequencing of diffserv functional datapath elements, will be used first. An important form of classifier issaid to "conform" to"everything else": themeter if, atfinal stage of thetime thatclassifier i.e. thepacketone with the lowest precedence, must be "complete" since the result of an incomplete classifier isbeing looked at,not necessarily deterministic - see [MODEL] section 4.1.2. The definition of thestream appearsactual filter to bewithinused by themeter's profile. MIB syntax makes it easiest to define this as a sequence of one or more cascaded pass/fail tests, modeled here as if-then-else constructs. It is important to understand that this way of modelling does not imply anything about the implementation being "sequential": multi-rate/multi-profile meters e.g. those designed to support [SRTCM] or [TRTCM], can still be modelled this way even if they, of necessity, share information between the stages: the stages are introduced merely as a notational convenience in order to simplify the MIB structure. 3.2.1. Meter Table The generic meter table is used as a base for all more specific forms of meter. The definition of parameters specific to the type of meter used Baker, Chan, Smith Expires January 2001 [Page 6] Internet Draft Differentiated Services MIB July 2000classifier is referenced via apointer to a table containing those specifics with the instance within that table identified by the same indices as for the base meter table. ThisRowPointer: this enables the use of any sort ofspecific meterfilter table that one might wish to design, standard or proprietary. Thespecific meterfilter table may be, but does not need to be, defined in this MIB module.3.2.2. Token-Bucket Meter Table This is included as an example of a common type of meter. Entries in this tableThe classifiers specified here arereferencedat the interface level, they may be derived from some more general policies e.g. something based on interface roles, but such discussion is outside theRowPointer diffServMeterSpecific attributesscope ofmeter table entries. The parametersthis document. See e.g. [POLTERM] section 4 for a discussion of Roles. Baker, Chan, Smith Expires June 2001 [Page 8] Internet Draft Differentiated Services MIB November 2000 3.2.1. Classifier Table Classifiers arerepresentedorganized bya rate diffServTBMeterRate and a burst size diffServTBMeterBurstSize. 3.3. Actions Actions include "no action", "markentries of thetraffic withClassifier Table. With each entry corresponds to aDSCP", "drop the traffic" or "count it". Other tasks such as "shapesingle Classifier. It is thetraffic" or "drop based on some algorithm" are handled elsewhere as queueing mechanisms, rather than actions, consistent with [MODEL]. The "multiplexer", "replicator" and "null" actions describedentries in[MODEL] are accomplished implicitly by means oftheRowPointer structuresClassifier Table that get linked from the upstream diffserv functional datapath element, i.e. an entry in diffServDataPathTable. A data path may consist of more than one Classifier, theother elements. This MIB usesorder theAction Table diffServActionTableclassification processes aplies toorganize one Action's relationship withtheelement(s) before and after it. It allows Actions to be cascaded to enable multiple Actions be applied to a singletrafficstream by using each entry's diffServActionNext attribute. The diffServActionNext attribute ofis thelast action entry insame as thechain points toorder thenext elementclassifier table entries are linked in theTCB, if any, e.g. a Queueing element. It may also point at a next TCB. The parameters needed for each Action element will depend ondata path. 3.2.2. Classifier Element Table While thetypeClassifier Table entries handles the input side ofAction to be taken. Hence there are specific Action Tables for allthedifferent Action types. This flexibility allows additional Actions be specified in future revisionsClassifier, the Classifier Element Table enumerates each branch ofthis MIB, or in other MIBs and also allowsthe fan-out of a Classifier, associating each fan-out branch with a Filter for discriminating theusetraffic for that branch. Each Classifier Element table entry is part ofproprietary Actions without impact on those defined here. 3.3.1. DSCP Mark Actiona Classifier, indicated by diffServClfrElementClfrId. 3.2.3. Filter Table - IP Six-Tuple Classifier Table ThisAction is applied toMIB includes one Filter Table, a definition for an IP Six-Tuple Classifier, used for IP traffic classification. Entries inorderthis filter table are referenced from the RowPointer diffServClfrElementSpecific attributes of classifier element table entries. A Behavior Aggregate (BA) Classifier, acting only on DSCPs, is a simple form of the IP Six-Tuple Classifier. It is represented by having the diffServSixTupleClfrDscp attribute set tomark it withthe desired DSCP and all other classification attributes set to match-all, their default settings. The alternative approach of providing aDiffserv Codepoint (DSCP) value, specifiedspecific definition in this MIB for a BA Classifier was discussed and rejected. Each entry in thediffServDscpMarkActTable. Other marking actionsIP Six-Tuple Classifier Table defines a single filter. The textual convention of InetAddress [INETADDR] is used for both IPv4 and IPv6 addressing. The use of IP Six-Tuple Classifiers is discussed in [DSARCH] and abstract examples of how they might bespecified elsewhere - theseconfigured areoutsideprovided in [MODEL]. 3.3. Meters A meter, according to [MODEL] section 5, measures thescoperate at which packets making up a stream of traffic pass it, compares thisMIB.rate to some set of thresholds and produces some number (two or more) of Baker, Chan, Smith ExpiresJanuaryJune 2001 [Page7]9] Internet Draft Differentiated Services MIBJulyNovember 20003.3.2. Count Action Table Count Actions are usedpotential results. A given packet is said to "conform" tocountthetraffic passing along a particular path throughmeter if, at themodel. If specified, they are likely to be placed first, before other types of Action. For example, when both a Count and an Absolute Dropper Action are specified,time that theCount Action needs to countpacket is being looked at, thetrafficstreambefore any traffic gets dropped. Note that there are counters contained directly in Algorithmic Dropper elementsappears toindicatebe within theamountmeter's profile. MIB syntax makes it easiest to define this as a sequence oftraffic dropped byone or more cascaded pass/fail tests, modeled here as if-then-else constructs. It is important to understand that this way of modelling does not imply anything about the implementation being "sequential": multi-rate/multi-profile meters e.g. thoseelements. Countersdesigned to support [SRTCM] or [TRTCM], can still be modelled this way even if they, of necessity, share information between the stages: the stages arearranged inintroduced merely as asinglenotational convenience in order to simplify the MIB structure. 3.3.1. Meter Table The generic meter tablebut with separate conformance statementsis used as a base forlow-speed and high-speed interfaces, consistent with [IFMIB]. 3.3.3. Absolute Drop Action This action just silently discardsalltraffic presented to it, without counting it. This action has no additionalmore specific forms of meter. The definition of parametersand sospecific to the type of meter used isrepresented only asreferenced via adiffServActionSpecific pointingpointer todiffServAbsoluteDropAction without any specific parameters. 3.4. Queueing Elements These include Algorithmic Droppers, Queues and Schedulers which are all inter-related in theira table containing those specifics. This enables the use ofqueueing techniques. 3.4.1. Algorithmic Dropper Table Algorithmic Droppers have a close relationship with queueing: they are represented in this MIB by entries in an Algorithmic Dropper Table. Entries contain a diffServAlgDropNext attribute which indicatesany sort of specific meter table that one might wish towhich queue they sink their traffic. An Algorithmic Dropper is assumeddesign, standard or proprietary. The specific meter table may be, but does not need tooperate indiscriminately on all packets that are presented at its input. If itbe, defined in this MIB module. 3.3.2. Token-Bucket Meter Table This isnecessary to perform additional classification on the stream thenincluded as an example of aseparate TCB must be introduced atcommon type of meter. Entries in thispoint: Classifier elements here can then distinguishtable are referenced from thedifferent typesRowPointer diffServMeterSpecific attributes oftraffic on which dropping is to act and the treatment for each type is describedmeter table entries. The parameters are represented by aseparate diffServAlgDropEntry. Algorithmic Droppers may also containrate diffServTBMeterRate, apointer to specific detail of the drop algorithm. This MIB defines the detail for three drop algorithms: Tail Drop, Head Dropburst size diffServTBMeterBurstSize, andRandom Drop; other algorithmsan interval diffServTBMeterInterval. How these parameters areoutsideused depends on thescopetype of meter being parameterized, thisMIB modele but the general frameworkisintended to allow for their inclusion viaprovided by the diffServTBMeterType attribute. Additional meter parameterization tables can be defined in this or other MIBmodules. Baker, Chan, Smith Expires January 2001 [Page 8] Internet Draft Differentiated Services MIB July 2000 One generally-applicable parameter of a dropper iswhen necessary. 3.4. Actions Actions include "no action", "mark thespecification oftraffic with aqueue-depth threshold at which some drop action is to start. This is represented in this MIB, as a base attribute ofDSCP", "drop theAlgorithmic Dropper entry, by pointing totraffic" or "count it". Other tasks such as "shape thequeue for which depth is to be comparedtraffic" or "drop based on some algorithm" are handled elsewhere as queueing mechanisms, rather than actions, consistent with [MODEL]. The "multiplexer", "replicator" andthe depth threshold to compare against. o A Tail Dropper requires the specification"null" actions described in [MODEL] are accomplished implicitly by means ofa maximum queue depth threshold: whenthequeue pointed at by diffServAlgDropQMeasure reaches that depth threshold, diffServAlgDropQThresh, any new traffic arriving atRowPointer structures of thedropper is discarded.other elements. ThisalgorithmMIB usesonly parameters that are part ofthediffServAlgDropEntry. o A Head Dropper requiresAction Table diffServActionTable to organize one Action's relationship with thespecification ofelement(s) before and after it. It allows Actions to be cascaded to enable multiple Actions be applied to amaximum queue depth threshold: when the queue pointed at by diffServAlgDropQMeasure reaches that depth threshold, diffServAlgDropQThresh,single trafficcurrently at the headstream by using each entry's diffServActionNext attribute. The diffServActionNext attribute of thequeue is discarded. This algorithm uses only parameters that are part oflast action entry in thediffServAlgDropEntry. o Random Droppers are recommended as a waychain points tocontrol congestion, in [QUEUEMGMT] and called forthe next element in the[AF-PHB]. Various implementations exist, which agree on marking or dropping just enough traffic to communicate with TCP-like protocols about congestion avoidance, but differ markedly on their specific parameters. This MIB attempts to offerTCB, if any, e.g. aminimal set of controlsQueueing element. Baker, Chan, Smith Expires June 2001 [Page 10] Internet Draft Differentiated Services MIB November 2000 It may also point at a next TCB. The parameters needed forany random dropper, but expects that vendorseach Action element willaugment the table with additional controls and status in accordance with their implementation. This algorithm requires additional parametersdepend ontopthe type ofthose in diffServAlgDropEntry: theseAction to be taken. Hence there arediscussed below. 3.4.2. Random Dropper Table One example of a random dropper is a RED-like dropper. An example ofspecific Action Tables for all therepresentation chosendifferent Action types. This flexibility allows additional Actions be specified in future revisions of thisMIBMIB, or in other MIBs and also allows forthis elementthe use of proprietary Actions without impact on those defined here. 3.4.1. DSCP Mark Action Table This Action isshownapplied to traffic inFigure 1. Random droppers often have their drop probability function described asorder to mark it with aplot of drop probability (P) against averaged queue length (Q). (Qmin,Pmin) then defines the start ofDiffserv Codepoint (DSCP) value, specified in thecharacteristic plot. Normally Pmin=0, meaning with average queue length below Qmin, there willdiffServDscpMarkActTable. Other marking actions might beno drops. (Qmax,Pmax) defines a "knee" onspecified elsewhere - these are outside theplot, after which pointscope of this MIB. 3.4.2. Count Action Table Count Actions are used to count thedrop probability become more progressive (greater slope). (Qclip,1) definestraffic passing along a particular path through thequeue length at which all packets willmodel. If specified, they are likely to be placed first, before other types of Action. For example, when both a Count and an Absolute Dropper Action are specified, the Count Action needs to count the traffic stream before any traffic gets dropped.Notice this is different from TailNote that there are counters contained directly in Algorithmic Dropper elements to indicate the amount of traffic dropped by those elements. Counters are arranged in a single table but with separate conformance statements for low-speed and high-speed interfaces, consistent with [IFMIB]. 3.4.3. Absolute DropbecauseAction This action just silently discards all traffic presented to it, without counting it. This action has no additional parameters and so is represented only within diffServActionType without its specific table. 3.5. Queueing Elements These include Algorithmic Droppers, Queues and Schedulers which are all inter-related in their use of queueing techniques. 3.5.1. Algorithmic Dropper Table Algorithmic Droppers have a close relationship with queueing: they are represented in thisusesMIB by entries in anaveragedAlgorithmic Dropper Table. Entries contain a diffServAlgDropNext attribute which indicates to which queuelength. although it is possible for Qclip = Qmax. In the MIB module, diffServRandomDropMinThreshBytes and diffServRandomDropMinThreshPkts represent Qmin. diffServRandomDropMaxThreshBytes and diffServRandomDropMaxThreshPkts represent Qmax.they sink their traffic. Baker, Chan, Smith ExpiresJanuaryJune 2001 [Page9]11] Internet Draft Differentiated Services MIBJulyNovember 2000+-------------+ +-----------+ --->| Next --------+-->| Next --------->An Algorithmic Dropper is assumed toScheduler | Thresh=100k | | | Min=none | | Measure -------+ | Max=none | | Type=random | | Pri=10 | | Specif -------+ | Type=fifo | +-------------+ | +-----------+ AlgDrop.3 | Queue.ifIndex.4 | | +--------------+ +-->| Minthresh=10k| | Maxthresh=80k| | Weight=1/16 | | ProbMax= 0.5 | +--------------+ RandomDrop.3 Figure 1: Example Use of the RandomDropTable for Random Droppers diffServRandomDropProbMax represents Pmax. This MIB does not represent Pmin (assumed to be zero unless otherwise represented) or Qclip (assumed to be Qmax unless otherwise represented). Each random dropper specificationoperate indiscriminately on all packets that are presented at its input. If it isassociated withnecessary to perform additional classification on the stream then aqueue. This allows multiple drop processes (of same or different types)separate TCB must beassociated withintroduced at this point: Classifier elements here can then distinguish thesame queue, asdifferentPHB implementations may require. This also allows for sequences of multiple droppers if necessary. The calculationtypes of traffic on which dropping is to act and the treatment for each type is described by asmoothed queue lengthseparate diffServAlgDropEntry. Algorithmic Droppers may alsohave an important bearing on the behaviourcontain a pointer to specific detail of thedropper: parameters may includedrop algorithm, diffServAlgDropSpecific. This MIB defines thesampling intervaldetail for three drop algorithms: Tail Drop, Head Drop and Random Drop; other algorithms are outside theweightscope ofeach sample. The performance may be very sensitive tothis MIB module but thevaluesgeneral framework is intended to allow for their inclusion via other MIB modules. One generally-applicable parameter ofthese parameters andawide rangedropper is the specification ofpossible values may be required duea queue-depth threshold at which some drop action is to start. This is represented in this MIB, as awide rangebase attribute, diffServAlgDropQThreshold, oflink speeds. Most algorithms include a sample weight, represented herethe Algorithmic Dropper entry. The queue for which depth is to be compared and the depth threshold to compare against, is specified with diffServAlgDropQMeasure. o A Tail Dropper requires the specification of a maximum queue depth threshold: when the queue pointed at bydiffServRandomDropInvWeight. Note howeverdiffServAlgDropQMeasure reaches thattheredepth threshold, diffServAlgDropQThresh, any new traffic arriving at the dropper isongoing research on this topic, see e.g. [ACTQMGMT]. Additionaldiscarded. This algorithm uses only parametersmay be added in an enterprise MIB module, e.g.that are part of the diffServAlgDropEntry. o A Head Dropper requires the specification of a maximum queue depth threshold: when the queue pointed at byusing AUGMENTS on this table, to handle aspectsdiffServAlgDropQMeasure reaches that depth threshold, diffServAlgDropQThresh, traffic currently at the head ofrandom drop algorithmsthe queue is discarded. This algorithm uses only parameters that arenot standardised here. NOTE: Deterministic Droppers can be viewed as a special casepart of the diffServAlgDropEntry. o Random Dropperswith the drop probability restrictedare recommended as a way to0control congestion, in [QUEUEMGMT] and1. Hence Deterministic Droppers might be described bycalled for in the [AF-PHB]. Various implementations exist, which agree on marking or dropping just enough traffic to communicate with TCP-like protocols about congestion avoidance, but differ markedly on their specific parameters. This MIB attempts to offer aRandom Dropperminimal set of controls for any random dropper, but expects that vendors will augment the table withPminadditional controls and status in accordance with their implementation. This algorithm requires additional parameters on top of those in diffServAlgDropEntry: these are discussed below. Baker, Chan, Smith ExpiresJanuaryJune 2001 [Page10]12] Internet Draft Differentiated Services MIBJulyNovember 2000= 0, Pmax = 1, Qmin = Qmax = Qclip, the averaged queue length at which dropping occurs. 3.4.3. Queues and Schedulers The Queue Table models simple FIFO queues, as described in [MODEL] section 7.1.1. The Scheduler3.5.2. Random Dropper Tableallows flexibilityOne example of a random dropper is a RED-like dropper. An example of the representation chosen inconstructing both simple and somewhat more complex queueing hierarchies from those queues. Of course, since TCBs can be cascaded multiple times on an interface, even more complex hierarchies can be constructed that way also. The entriesthis MIB for this element is shown inthe Queue TableFigure 1. Random droppers often haveattributes which includetheir drop probability function described as aspecificationplot of drop probability (P) against averaged queue length (Q). (Qmin,Pmin) then defines thescheduler which services the queue. They are pointed at by the "next" attributesstart of theupstream elements e.g. diffServMeterSucceedNext. Note that multiple upstream elements may direct their traffic to the same Queue Table entry. For example, the Assured Forwarding PHB suggests that all traffic marked AF11, AF12 or AF13characteristic plot. Normally Pmin=0, meaning with average queue length below Qmin, there will beplaced inno drops. (Qmax,Pmax) defines a "knee" on thesame queue,plot, aftermetering, without reordering. This would be represented by having the diffServMeterSucceedNext of each upstream meterwhich pointatthesame entry indrop probability become more progressive (greater slope). (Qclip,1) defines theQueue Table. The Scheduler Table represented in this MIB module contains entries, each ofqueue length at whichrepresents the algorithm in use for servicing the one or more queues that feed it. The [MODEL] section 7.1.2 describes a scheduler with multiple inputs:all packets will be dropped. Notice this isrepresented in the MIB by including the scheduling parameters associated with a scheduler input in the Queue Table entry that feedsdifferent from Tail Drop because this uses an averaged queue length. although itand having that point at one particular Scheduler Table entry.is possible for Qclip = Qmax. Inthis way, sets of Queues can be grouped together as inputs tothesame Scheduler.MIB module, diffServRandomDropMinThreshBytes and diffServRandomDropMinThreshPkts represent Qmin. diffServRandomDropMaxThreshBytes and diffServRandomDropMaxThreshPkts represent Qmax. diffServRandomDropInvProbMax represents Pmax. Thistable serves toMIB does not representthe example scheduler described in the [MODEL]: other more complex representations mightPmin (assumed to becreated outside of this MIB.zero unless otherwise represented) or Qclip (assumed to be Qmax unless otherwise represented). Eachscheduler input, as represented by a Queue Table entry,random dropper specification isassigned a priorityassociated withrespect to all the other inputs feeding the same scheduler. A higher-priority input will be serviced first overalower- priority input, assuming that all guarantees have already been met.queue. Thispriority parameter, used on its ownallows multiple drop processes (of same or different types) be associated withdefault values for the other parameters, serves to allow representation of a Strict Priority scheduler. For Weighted Queueing algorithms e.g. WFQ, WRR,the"weight" of a given scheduler input is represented with a Minimum Service Rate leaky-bucket profile which provides guaranteed bandwidth to that input, if required. This is represented,same queue, aswere token-bucket meters, by a rate diffServQueueMinRateAbs and a burst size diffServQueueMinBurstSize. The rate may, alternatively, be represented by a relative value, as adifferent PHB implementations may +-------------+ +-----------+ --->| Next --------+-->| Next ---------> to Scheduler | Thresh=100k | | | Min=none | | Measure -------+ | Max=none | | Type=random | | Pri=10 | | Specific ------+ | Type=fifo | +-------------+ | +-----------+ AlgDrop.3 | Queue.4 | | +--------------+ +-->| Minthresh=10k| | Maxthresh=80k| | Weight=1/16 | | ProbMax= 0.5 | +--------------+ RandomDrop.3 Figure 1: Example Use of the RandomDropTable for Random Droppers Baker, Chan, Smith ExpiresJanuaryJune 2001 [Page11]13] Internet Draft Differentiated Services MIBJulyNovember 2000fractionrequire. This also allows for sequences ofthe interface's current line rate, diffServQueueMinRateRel to assist in cases where line rates are variable or where a higher-level policy might be expressed in termsmultiple droppers if necessary. The calculation offractionsa smoothed queue length may also have an important bearing on the behaviour ofnetwork resources. The two ratethe dropper: parametersare inter-relatedmay include the sampling rate andchanges in onethe weight of each sample. The performance may bereflected invery sensitive to theother. An inputvalues of these parameters and a wide range of possible values mayalsobecapablerequired due to a wide range ofacting aslink speeds. Most algorithms include anon-work-conserving [MODEL] traffic shaper: thissample weight, represented here by diffServRandomDropInvWeight. The availability of diffServRandomDropSamplingRate as readable isdoneimportant, the information provided bydefining a Maximum ServiceSampling Rateleaky- bucket profile in orderis essential tolimitthescheduler bandwidth available to that input. Thisconfiguration of diffServRandomDropInvWeight. Having Sampling Rate be configurable isrepresented, similarly toalso helpful, as line speed increases, theminimum rate, by a rate diffServQueueMaxRateAbsability to have queue sampling be less frequent than packet arrival is needed. Note however that there is ongoing research on this topic, see e.g. [ACTQMGMT] anda burst size diffServQueueMaxBurstSize. The rate may, alternatively,[AQMROUTER]. Additional parameters may berepresentedadded in an enterprise MIB module, e.g. bya relative value,using AUGMENTS on this table, to handle aspects of random drop algorithms that are not standardised here. NOTE: Deterministic Droppers can be viewed as afractionspecial case of Random Droppers with theinterface's current line rate, diffServQueueMaxRateRel. 3.4.4. Example of Algorithmic Droppers,drop probability restricted to 0 and 1. Hence Deterministic Droppers might be described by a Random Dropper with Pmin = 0, Pmax = 1, Qmin = Qmax = Qclip, the averaged queue length at which dropping occurs. 3.5.3. Queues and SchedulersAs an example, the hypothetical queue/scheduler configuration shownThe Queue Table models simple FIFO queues, as described in [MODEL] section8.1 is shown in7.1.1. The Scheduler Table1. Queues 1 and 3 are serviced for long enough to give them their promised bandwidthsallows flexibility in constructing both simple andburst sizes, if they need them. Queue 2 is then serviced up to its maximum limit profile. Only then does Queue 4 get an opportunity to send its traffic. Assomewhat more complex queueing hierarchies from those queues. Of course, since TCBs can be cascaded multiple times on anexample ofinterface, even more complex hierarchies can be constructed that way also. Queue Table entries are pointed at by theuse"next" attributes of theMIB structures, Figure 2 shows how the example would be represented. QId MinRate MaxRate Priority Scheduler --- ---------------- ---------------- -------- --------- 1 100kbps/20kbyte none/none 20 Scheduler.1 2 none/none 100kbps/100kbyte 40 Scheduler.1 3 200kbps/20kbyte none/none 20 Scheduler.1 4 none/none none/none 10 Scheduler.1 SchedId Type ------- ------------------ 1 weightedRoundRobinupstream elements e.g. diffServMeterSucceedNext. Note that multiple upstream elements may direct their traffic to the same Queue Table1: Exampleentry. For example, the Assured Forwarding PHB suggests that all traffic marked AF11, AF12 or AF13 be placed in the same queue, after metering, without reordering. This would be represented by having the diffServMeterSucceedNext of each upstream meter point at the same entry in the Queueand Scheduler ParametersTable. Baker, Chan, Smith ExpiresJanuaryJune 2001 [Page12]14] Internet Draft Differentiated Services MIBJulyNovember 2000+-----------+ ----------------------->| Next -----+ | Min=Profl4| | | Max=none | | | Pri=20 | | | Type=fifo | | +-----------+ | Queue.ifIndex.1 | | +-----------+ +-----------+ | --->| Next -----+--->| Next ------+ | Thresh=1k | | | Min=none | | | Measure -----+ | Max=Profl5| | | Type=Tail | | Pri=40 | | | Spec=none | | Type=fifo | | +----------+ +-----------+ +-----------+ +--->|Notice Queue Table and Scheduler Table entries are for data path description, they both uses Scheduler Parameterization Table entries for diffserv treatment parameterization. Queue Table entries specify the scheduler it wants service from by use of its Next-----> 0.0 Dropper.1 Queue.ifIndex.2 | | Algrm=wrr|pointer. Each Scheduler Table entry represents the algorithm in use for servicing the one ornext TCB | +----------+ +-----------+ +-----------+ | Scheduler.ifIndex.1 --->| Next -----+--->| Next -----+ | Thresh=2k | | | Min=Profl3| | | Measure -----+ | Max=none | | | Type=Tail | | Pri=20 | | | Spec=none | | Type=fifo | | +-----------+ +-----------+ | Dropper.2 Queue.ifIndex.3 | | +-----------+ +-----------+ | --->| Next ------+--->| Next -----+ | Thresh=4k | | | Min=none | | Measure -----+ | Max=none | | Type=Tail | | Pri=10 | | Spec=none | | Type=fifo | +-----------+ +-----------+ Dropper.3 Queue.ifIndex.4 Figure 2: Example of the use of Queueing elements 4. Conventions used in this MIB 4.1.more queues that feed it. Theuse of RowPointer RowPointer is a textual convention used to identify[MODEL] section 7.1.2 describes aconceptual rowscheduler with multiple inputs: this is represented inan SNMP Tablethe MIB bypointing to one of its objects.having the scheduling parameters be associated with each input. In thisMIB, it is used in two ways:way, sets of Queues can be grouped together as inputs toindicate indirection andthe same Scheduler. This table serves toindicate succession. Baker, Chan, Smith Expires January 2001 [Page 13] Internet Draft Differentiated Services MIB July 2000 When used for indirection as inrepresent thediffServClassifierTable,example scheduler described in theidea is to allow other MIBs, including proprietary ones, to define new and arcane classifiers - MAC headers, IPv4 and IPv6 headers, BGP Communities and all sorts of[MODEL]: otherthings - whilst still utilising the structuresmore complex representations might be created outside of this MIB.This isScheduler Parameter Table entries are used to parameterized each input that feeds into aformscheduler. The inputs can be a mixture ofclass inheritance (in "object oriented" language): it allows base object definitions ("classes") toQueue Table and Scheduler Table entries. Scheduler Parameter Table entries can beextended in proprietaryused/reused by one orstandard ways, in the future, by other documents. When used for succession, it answers the question "what happens next?". Rather than presume that the next table must be as specified in the conceptual model [MODEL] and providing its index, the RowPointer takes you to the MIB rowmore Queue and/or Scheduler Table entries. For representingthat thing. In the diffServMeterTable, for example, the diffServMeterFailNext RowPointer might take youa Strict Priority scheduler, each scheduler input is assigned a priority with respect toanother meter, whileall thediffServMeterSucceedNext RowPointer would take you to an action. NOTE --other inputs feeding theRowPointer construct is used to buildsame scheduler, with default values for theTCBs described in [MODEL]: this MIB does not model TCBs directly - it operates atother parameters. A higher-priority input will be serviced first over alower level of abstraction using only individual elements, connected in succession by RowPointers. Therefore,lower-priority input, assuming that all guarantees have already been met. For Weighted Queueing algorithms e.g. WFQ, WRR, theconcept"weight" ofTCBs enclosing individual functional datapath elementsa given scheduler input isnot applicable to this MIB, although suchrepresented with aconcept may be employed by management toolsMinimum Service Rate leaky-bucket profile which provides guaranteed bandwidth to thatuse this MIB. Itinput, if required. This ispossible thatrepresented, as were token-bucket meters, by apath throughrate diffServSchdParamMinRateAbs. The rate may, alternatively, be represented by adevice followingrelative value, as asetfraction ofRowPointers is indeterminate i.e. it endsthe interface's current line rate, diffServSchdParamMinRateRel to assist in cases where line rates are variable or where adangling RowPointer (or potentially doeshigher-level policy might be expressed inthe caseterms ofa Meter element) shouldfractions of network resources. The two rate parameters are inter- related and changes in one may betreated byreflected in theagentother. An input may also be capable of acting asif it were operationally deactivated. For example, if an Action element hasadangling diffServActionNext RowPointer that does not point to an existent table entry (and is not zeroDotZero), then none of the subsequent elements in that particular chain should have any effect on thenon-work-conserving [MODEL] trafficproceeding downshaper: thischain andis done by defining a Maximum Service Rate leaky- bucket profile in order to limit theClassification or Meter element which leadscheduler bandwidth available tothis Action elementthat input. This isnot consideredrepresented, similarly tobe active. Other parts of the device configuration remain in effect, of course, but this rule simply removes all ambiguity from the operational system. 4.2. Conceptual row creation and deletion A number of conceptual tables defined in this MIB use as an index an arbitrary integer value, unique acrossthescope of the agent. In order to help with multi-manager row-creation problems,minimum rate, by amechanism mustrate diffServSchdParamMaxRateAbs. The rate may, alternatively, beprovided to allowrepresented by amanager to obtain unique values for such an index and to ensure that, when used,relative value, as a fraction of themanager knows whether it got what it wanted or not.interface's current line rate, diffServSchdParamMaxRateRel. Baker, Chan, Smith ExpiresJanuaryJune 2001 [Page14]15] Internet Draft Differentiated Services MIBJulyNovember 2000Typically, such a table has an associated NextFree variable e.g. diffServClassifierNextFree which provides a suitable value for the index of the next row to be created e.g. diffServClassifierId. A special value, 0, is used to indicate that no more entriesNotice hierarchical schedulers can becreatedparameterized using this MIB bythe agent. The table also has a columnar Status attribute with RowStatus syntax [6]. If a manager attempts to create a conceptual row in the table (by a SET operation that contains a varbind setting the Status to a valuehaving Scheduler Table entries feeds into Scheduler Table entry. 3.5.4. Example ofeither createAndGo or createAndWait)Algorithmic Droppers, Queues andifSchedulers As an example, theagent has sufficient resourceshypothetical queue/scheduler configuration shown in [MODEL] section 8.1 is shown in Table 1. QId MinRate MaxRate Priority Scheduler --- ---------------- ---------------- -------- --------- 1 100kbps/20kbyte none/none 20 Scheduler.1 2 none/none 100kbps/100kbyte 40 Scheduler.1 3 200kbps/20kbyte none/none 20 Scheduler.1 4 none/none none/none 10 Scheduler.1 SchedId Type ------- ------------------ 1 weightedRoundRobin Table 1: Example Queue andhas no other conceptual row with the same indices, the agent will create the rowScheduler Parameters Queues 1 andreturn success. If the agent has insufficient resources or such a row3 are serviced for long enough to give them their promised bandwidths and burst sizes, if they need them. Queue 2 isalready existentthenit returnsserviced up to its maximum limit profile. Only then does Queue 4 get anerror. A manager must be preparedopportunity totry again in such circumstances, probably by re-readingsend its traffic. As an example of theNextFree to obtain a new index value in case a second manager had got in between the first manager's read of the NextFree value and the first manager's row-creation attempt. Theuse ofRowStatus is covered in more detail in [6]. 5. Editorial information <this section will be removed before publication> 5.1. Open Issues resolved in previous drafts (0) Terminology is more in line with [MODEL], [POLTERM] and [DSTERM]. Discarder -> "Algorithmic Dropper", "Monitor" -> "Counter" "Classifier element" -> "Filter" (1) Cascaded token-buckets is not equivalent to multi-rate token- bucket: do we need to fix this by allowing a multi-rate TB in the MIB? Or, by defining cascaded buckets to mean "multi-rate". (assumethelatter - see text in 2.3) (2) Markers: model only describes DSCP-markers: do we need to be able to extend this to other sorts (e.g. 802.1p), even if we do not represent them in this MIB today? (yes). NoMIBchanges, just words. (3) Counters: should specific blocks include their own or is a "counter action", as described instructures, Figure 2 shows how theModel, sufficient to count all paths through a device? (as appropriate). Per-queue counters are derivable from "action" ones. Per-classifier counters: may feed through from clasifiers to distinct counter actions.example would be represented. Baker, Chan, Smith ExpiresJanuaryJune 2001 [Page15]16] Internet Draft Differentiated Services MIBJulyNovember 2000(4) Queue Sets: are these generally applicable? (no). The example in section 2.5.1 is hard to follow: we should describe this example in [MODEL] and then show how it maps to MIB in the MIB draft. - DONE (5) Do we need scheduling units of "packets"? (NO) Should we use "kbps" or just "bps" for+-----------+ ----------------------->| Next -----+ | Min=Profl4| | | Max=none | | | Pri=20 | | | Type=fifo | | +-----------+ | Queue.1 | | +-----------+ +-----------+ | --->| Next -----+--->| Next ------+ | Thresh=1k | | | Min=none | | | Measure -----+ | Max=Profl5| | | Type=Tail | | Pri=40 | | | Spec=none | | Type=fifo | | +----------+ +-----------+ +-----------+ +--->| Next -----> 0.0 Dropper.1 Queue.2 | | Algrm=wrr| or next TCB | +----------+ +-----------+ +-----------+ | Scheduler.1 --->| Next -----+--->| Next -----+ | Thresh=2k | | | Min=Profl3| | | Measure -----+ | Max=none | | | Type=Tail | | Pri=20 | | | Spec=none | | Type=fifo | | +-----------+ +-----------+ | Dropper.2 Queue.3 | | +-----------+ +-----------+ | --->| Next ------+--->| Next -----+ | Thresh=4k | | | Min=none | | Measure -----+ | Max=none | | Type=Tail | | Pri=10 | | Spec=none | | Type=fifo | +-----------+ +-----------+ Dropper.3 Queue.4 Figure 2: Example of the use of Queueing elements 4. MIB Usage Example This section provides some examples on how the different table entries of this MIB may be used to parameterize a DiffServ Device. For the figures, all the MIB table entry and attribute names assumes to have "diffServ" as their first common initial part of name, with the table entry name assumed to be their second common initial part of name. Baker, Chan, Smith Expires June 2001 [Page 17] Internet Draft Differentiated Services MIB November 2000 +---------------------+ |DataPath | | ifIndex=1 | | IfDirection=Ingress | +------+ | Start --------------+--->|Clfr | +---------------------+ | Id=1 | +------+ +------------+ +--------------+ +-----------+ |ClfrElement | +-->|Meter | +-->|Action | | Id=101 | | | Id=101 | | | Id=101 | | ClfrId=1 | | | SucceedNext -+--+ | Next -----+---->... | Order=NA | | | FailNext ----+->... | Specific -+-+ | Next ------+--+ | Specific -+ | | Type=Spcf | | | Specific --+-+ +-----------+--+ +-----------+ | +------------+ | | +-------+ | +-------+ | +--------+ | +-----------+ +-->|Filter1| +-->|TBMeter1| +-->|CounterAct1| +-------+ +--------+ +-----------+ +------------+ +--------------+ +-----------+ |ClfrElement | +-->|Meter | +-->|Action | | Id=102 | | | Id=102 | | | Id=102 | | ClfrId=1 | | | SucceedNext -+--+ | Next -----+---->... | Order=NA | | | FailNext ----+->... | Specific -+-+ | Next ------+--+ | Specific -+ | | Type=Spcf | | | Specific --+-+ +-----------+--+ +-----------+ | +------------+ | | +-------+ | +-------+ | +--------+ | +-----------+ +-->|Filter2| +-->|TBMeter2| +-->|CounterAct2| +-------+ +--------+ +-----------+ +------------+ +--------------+ +-----------+ |ClfrElement | +-->|Meter | +-->|Action | | Id=103 | | | Id=103 | | | Id=103 | | ClfrId=1 | | | SucceedNext -+--+ | Next -----+---->... | Order=NA | | | FailNext ----+->... | Specific -+-+ | Next ------+--+ | Specific -+ | | Type=Spcf | | | Specific --+-+ +-----------+--+ +-----------+ | +------------+ | | +-------+ | +-------+ | +--------+ | +-----------+ +-->|Filter3| +-->|TBMeter3| +-->|CounterAct3| +-------+ +--------+ +-----------+ Figure 3: Data Path Example Part 1 Baker, Chan, Smith Expires June 2001 [Page 18] Internet Draft Differentiated Services MIB November 2000 +-------------+ +------------------+ +----------------------+ ---->|Q | +->|Scheduler | +->|Scheduler | | Id=EF | | | Id=DiffServ | | | Id=Shaping | | Next -------+---+ | Next ------------+--+ | Next=zeroDotZero | | SchdParam -+| | | Method=priorityq | | Method=priorityq | +------------++ | | SchdParam -+ | | SchdParam=zeroDotZero| | | +------------+-----+ +----------------------+ +------------+ | | | | +------------+ | +-----------+ | | +->|SchdParamEF| | | +----------------+ +-----------+ | +->|SchdParamShaping| | +----------------+ | | +-----------------------------------------+ | | +----------------+ +-------------+ | --->|AlgDrop | +->|Q | | | Id=AF11 | | | Id=AF1X | +-------------+ | | Type=randomDrop| | | Next -------+--->|Scheduler | | | Next ----------+-+--+ | SchdParam -+| | Id=AF | | | QMeasure ------+-+ | +------------++ | Next -------+--+ | QThreshold | | | | Method=wfq | | Specific -+ | | +------------+ | SchdParam -+| +-----------+----+ | | +------------++ | | | +-------------+ | +-----------+ | +->|SchdParamAF1X| +------------+ | +--------------+ | +-------------+ | +->|RandomDropAF11| | | +-----------+ +--------------+ | +->|SchdParamAF| | +-----------+ +----------------+ | --->|AlgDrop | | | Id=AF12 | | | Type=randomDrop| | | Next ----------+-+--+ | QMeasure ------+-+ | QThreshold | | Specific -+ | +-----------+----+ | +-----------+ | +--------------+ +->|RandomDropAF12| +--------------+ Figure 4: Data Path Example Part 2 Baker, Chan, Smith Expires June 2001 [Page 19] Internet Draft Differentiated Services MIB November 2000 4.1. Data Path and Classifier Example Discussion The example in Figure 4 shows a single DataPathTable entry feeding into a single Classifier entry, with three ClfrElement and Filter Table entry pairs belonging to this Classifier 1. Notice the three Filters used here must completely classify all the traffic presented to this data path. Another level of classification can be defined that follows the Action function datapath elements in Figure 3. This second level of classifiers and their subsequent function datapath elements would be considered as in another TCB. This multi-level classification allow the construction of traffic seperations like: if (dept1) { if (appl1) then take dept1-appl1-action. if (appl2) then take dept1-appl2-action. if (appl3) then take dept1-appl3-action. } if (dept2) { if (appl1) then take dept2-appl1-action. if (appl2) then take dept2-appl2-action. if (appl3) then take dept2-appl3-action. } if (dept3) { if (appl1) then take dept3-appl1-action. if (appl2) then take dept3-appl2-action. if (appl3) then take dept3-appl3-action. } The filters for appl1, appl2, appl3 may be reused for the above setup. 4.2. Meter and Action Example Discussion A simple Meter that can be parameterized by a single TBMeter entry is shown here. For Metering types that require mutliple TBMeter entries for parameterization, a second level Meter and TBMeter table entries may be used. For example, for trTCM, with the first level TBMeter entry used for Peak Information Token Bucket, the first level SucceedNext points to the second level Meter entry, with second level TBMeter entry used for Committed Information Token Bucket. Notice the CountAct Action is shown in Figure 3. This is purposely done to indicate all datapaths should have at least one CountAct Action. Other actions can be pointed to by the Next pointer of the CountAct Baker, Chan, Smith Expires June 2001 [Page 20] Internet Draft Differentiated Services MIB November 2000 action, like DSCPMarkAct action. 4.3. Queue and Scheduler Example Discussion Example in Figure 4 shows three classified input traffic streams, EF, AF11, and AF12, feeding into their respective queue and algorithmic droppers. After their respective dropping process, the AF traffic streams feed into the same queue, QAF1X. A Scheduler, AF, is shown in Figure 4, as the sink for AF1X queue traffic, servicing AF1X queue with scheduling parameters indicated by SchdParamAF1X. This scheduler is used to service traffic from AF1X, AF2X, AF3X queues using weighted fair queueing method. The AF2X and AF3X queues are not shown in Figure 4, they can be very much like AF1X queue setup. Another traffic stream, EF, is handled by the EF queue. Scheduler DiffServ services output of EF queue using SchdParamEF, and output of AF scheduler using SchdParamAF, with Weighted Fair Queueing method. Notice all the diffserv traffic may go out on a link with traffic shaping. The traffic shaping can be parameterize using the Shaping Scheduler in Figure 4. For shaping, the diffServSchdParamMaxRate attributes should be used. The output of the Shaping Scheduler is indicated using its Next pointer with value of zeroDotZero, the output port. 5. Conventions used in this MIB 5.1. The use of RowPointer RowPointer is a textual convention used to identify a conceptual row in an SNMP Table by pointing to one of its objects. In this MIB, it is used in two ways: to indicate indirection and to indicate succession. When used for indirection as in the diffServClassifierTable, the idea is to allow other MIBs, including proprietary ones, to define new and arcane classifiers - MAC headers, IPv4 and IPv6 headers, BGP Communities and all sorts of other things - whilst still utilising the structures of this MIB. This is a form of class inheritance (in "object oriented" language): it allows base object definitions ("classes") to be extended in proprietary or standard ways, in the future, by other documents. When used for succession, it answers the question "what happens next?". Rather than presume that the next table must be as specified in the Baker, Chan, Smith Expires June 2001 [Page 21] Internet Draft Differentiated Services MIB November 2000 conceptual model [MODEL] and providing its index, the RowPointer takes you to the MIB row representing that thing. In the diffServMeterTable, for example, the diffServMeterFailNext RowPointer might take you to another meter, while the diffServMeterSucceedNext RowPointer would take you to an action. NOTE -- the RowPointer construct is used to build the TCBs described in [MODEL]: this MIB does not model TCBs directly - it operates at a lower level of abstraction using only individual elements, connected in succession by RowPointers. Therefore, the concept of TCBs enclosing individual functional datapath elements is not applicable to this MIB, although such a concept may be employed by management tools that use this MIB. It is possible that a path through a device following a set of RowPointers is indeterminate i.e. it ends in a dangling RowPointer (or potentially does in the case of a Meter element) should be treated by the agent as if it were operationally deactivated. For example, if an Action element has a dangling diffServActionNext RowPointer that does not point to an existent table entry (and is not zeroDotZero), then none of the subsequent elements in that particular chain should have any effect on the traffic proceeding down this chain and the Classification or Meter element which lead to this Action element is not considered to be active. Other parts of the device configuration remain in effect, of course, but this rule simply removes all ambiguity from the operational system. 5.2. Conceptual row creation and deletion A number of conceptual tables defined in this MIB use as an index an arbitrary integer value, unique across the scope of the agent. In order to help with multi-manager row-creation problems, a mechanism must be provided to allow a manager to obtain unique values for such an index and to ensure that, when used, the manager knows whether it got what it wanted or not. Typically, such a table has an associated NextFree variable e.g. diffServClassifierNextFree which provides a suitable value for the index of the next row to be created e.g. diffServClassifierId. A special value, 0, is used to indicate that no more entries can be created by the agent. The table also has a columnar Status attribute with RowStatus syntax [6]. If a manager attempts to create a conceptual row in the table (by a SET operation that contains a varbind setting the Status to a value of either createAndGo or createAndWait) and if the agent has sufficient resources and has no other conceptual row with the same indices, the Baker, Chan, Smith Expires June 2001 [Page 22] Internet Draft Differentiated Services MIB November 2000 agent will create the row and return success. If the agent has insufficient resources or such a row is already existent then it returns an error. A manager must be prepared to try again in such circumstances, probably by re-reading the NextFree to obtain a new index value in case a second manager had got in between the first manager's read of the NextFree value and the first manager's row-creation attempt. The use of RowStatus is covered in more detail in [6]. 6. Editorial information <this section will be removed before publication> 6.1. Open Issues resolved in previous drafts (0) Terminology is more in line with [MODEL], [POLTERM] and [DSTERM]. Discarder -> "Algorithmic Dropper", "Monitor" -> "Counter" "Classifier element" -> "Filter" (1) Cascaded token-buckets is not equivalent to multi-rate token- bucket: do we need to fix this by allowing a multi-rate TB in the MIB? Or, by defining cascaded buckets to mean "multi-rate". (assume the latter - see text in 2.3) (2) Markers: model only describes DSCP-markers: do we need to be able to extend this to other sorts (e.g. 802.1p), even if we do not represent them in this MIB today? (yes). No MIB changes, just words. (3) Counters: should specific blocks include their own or is a "counter action", as described in the Model, sufficient to count all paths through a device? (as appropriate). Per-queue counters are derivable from "action" ones. Per-classifier counters: may feed through from clasifiers to distinct counter actions. (4) Queue Sets: are these generally applicable? (no). The example in section 2.5.1 is hard to follow: we should describe this example in [MODEL] and then show how it maps to MIB in the MIB draft. - DONE (5) Do we need scheduling units of "packets"? (NO) Should we use "kbps" or just "bps" for rates? DONE - allratesrates are in kbps. (6) Are "absolute" rates sufficient or should we include "relative to line speed" ones as well? (yes) - DONE - explained that these are interrelated. Baker, Chan, Smith Expires June 2001 [Page 23] Internet Draft Differentiated Services MIB November 2000 (7) Scheduler weights vs. rates vs. priorities: this is confusing - suggest we stick to rates and priorities (see Model draft 7.1.2) - DONE. (8) Queue Measure table: o This allows for RIO - multiple averaging functions for the same queue: is this needed? OUT OF SCOPE. o mixes config with status objects - split these? N/A. o do we need floating-point representation for "weight"? N/A. o do we need MIB visibility for average queue depth? N/A. o do we need MIB-configurable averaging functions (sample weight/interval)? (maybe just "sample weight") - NO: averaging functions will be left out although framework allows for their inclusion separately. (9) Counter compliance: paste text from IF-MIB re line-speeds. Do you still have to do the low-speed counters for fast interfaces? YES. DONE. (10) Meters: are these mandatory for compliance? NO (11) Discussion material: move most of this to Model draft e.g. most of 3.1, 3.3, "Dropper/discarder" part of 3.4, nearly all of 3.5. Just leave the "how does the MIB map from the Model" parts in the MIB draft, no general discussion. DONE. (12) Counters: merged in 32-bit and 64-bit counters - conformance statements sort out which ones must be implemented. This is consistent with [IFMIB]. DONE. (13) Droppers: we used to have a common "dropper" table that represented all of: dropAlways, randomDrop, tailDrop with just some parameters valid for the simpler ones. A simpler representation is to define specific dropper tables for each type (e.g. a single OID to point at for dropAlways since it is always the last action in a chain) but this would mean a larger number of (simpler) MIB objects. CHANGES: dropAlways is still an Action but the others are moved to a diffServAlgDropTable. This table can handle tail/head/random drop - others by extension. (14) Should TBMeterTable just AUGMENT the MeterTable, should it use same indices or are separate structures linked by RowPointers Baker, Chan, Smith Expires June 2001 [Page 24] Internet Draft Differentiated Services MIB November 2000 preferable? (same indices without RowPointer). (15) Do we need to model multiple queues feeding back into a single dropper algorithm? (yes). If so, the current single-queue pointer and threshold will not be adequate - should we leave them in? They will be useful for many, but not all, dropper algorithms. (yes) (17) We have concepts of "inbound" and "outbound" directions: but if we have a series of multiple TCBs on a given interface for the same direction (allowed by the model) then we do not have a way to indicate "this is the 1st one". Moreover, it is a somewhat convoluted process to then find the 2nd, 3rd etc. ones - you would have to follow the RowPointers to get there: should we explicitly have an index to enable/help these lookup operations? Note: this is not the same issue as needing a "precedence" for each filter entry of a classifier (yes - added another index to classifiers to represent what TCB they operate at for a given interface/direction). 6.2. Open Issues resolved in this draft (13) Droppers: slight change to previous resolution. MIB can now handle tail/head/random drop using diffServAlgDropTable and diffServRandomDropTable. (18) Should manager be allowed to create Queue elements or should agent be in control of this? (the former) (19) Should manager be allowed to create Scheduler elements or should agent be in control of this? (the former) (20) Related to (17) above, do we also need a "TCB index" for elements other than classifiers? (no) (21) Do we need diffServAlgDropType of both "headDrop" and "tailDrop" or should we just represent the tail dropper by placing a dropper after the queue instead of before the queue, as linked by the diffServQNext and diffServAlgDropNext RowPointers? (the former - dropper is always in front of the queue in this model). (22) Do we need to support RED algorithms for algorithm parameter configuration and monitoring? If so, what variables are needed? (Added diffServRandomDropTable). (24) diffServAlgDropQThreshold needs UNITS (Bytes). Baker, Chan, Smith Expires June 2001 [Page 25] Internet Draft Differentiated Services MIB November 2000 (25) Dangling RowPointers: should we mandate that these are never permitted? Or just define the behaviour if they do dangle? (We define it such that elements that have dangling pointers, as well as upstream elements that point to them, are considered "not activated") (26) Discontinuity times for MIB counters - is ifCounterDiscontinuityTime adequate? (no: added diffServCountActDiscontTime). (27) How do we handle dropper algorithms that require additional classification information in order to do their job? If a Classifier is needed then create a new TCB for it at the point just before the dropper: use ordinary Classifier elements in this TCB. (28) Indexing of table entries and uniqueness hints: is TestAndIncr the correct tool to use? (no: RowStatus is the right tool for ensuring uniqueness; use a NextFree variable as a hint). (32) Miscellaneous clarifications - thanks Bob. 6.3. Still Open Issues (16) Should the creation of counter actions be under the control of manager or agent: should a diffServActionEntry and diffServCountActEntry appear by magic (does the agent know what counters it can and cannot maintain on a given interface)? (no) If no, should diffServCountActEntry appear magically when a diffServAction element is created which points at the diffServCountActTable (then would be no need for diffServCountActStatus)? (no) (23) Do daughter entries of derived table entries need to exist independently of the parent? Examples are diffServMeterEntry/diffServTBMeterEntry, diffServActionEntry/diffServCountActEntry and diffServAlgDropEntry/diffServRandomDropEntry (assume they must be independent of the equivalent entry in diffServMeterTable which points at the TB table - needs diffServTBMeterStatus: daughters must be created explicitly by manager). (30) Related to (17) - multi-manager creation of TCBs: diffServClassifierId is unique across the agent, for all values of diffServClassifierTcb but there is no "next free" variable to report the next TCB to use. This can lead to a race condition when 2 managers are duelling to create entries with the same value of diffServClassifierTcb. There are also legitimate reasons for Baker, Chan, Smith Expires June 2001 [Page 26] Internet Draft Differentiated Services MIB November 2000 different managers to be "creating" the *same* TCB so a conventional "next free" is not a good solution. Is this a rare enough occurence given a suitable choice of diffServClassifierTcb e.g. pseudo-random? (yes). (31) When inheritance is needed and parent/daughter share indexing, the parent often points to the daughter using a "Specific" attribute e.g. diffServMeterSpecific, diffServActionSpecific, diffServAlgDropSpecific. If this is a RowPointer and points to the associated row in the daughter's table, there is redundant information which gives scope for additional error cases. So, wherever possible, should we remove this redundant information by making the "Specific" attribute point only to the base of the daughter table and make it an OBJECT IDENTIFIER? The con is that this is an unusual use of MIB pointers (point at table base, not individual entries). 7. MIB Outline The authors think a MIB outline will assist the reader and can be used as a quick reference. diffServMIBObjects OBJECT IDENTIFIER ::= { diffServMib 1 } diffServMIBConformance OBJECT IDENTIFIER ::= { diffServMib 2 } diffServDataPath OBJECT IDENTIFIER ::= { diffServMIBObjects 1 } diffServDataPathTable OBJECT-TYPE ::= { diffServDataPath 1 } diffServDataPathEntry OBJECT-TYPE INDEX { ifIndex, diffServDataPathIfDirection } ::= { diffServDataPathTable 1 } DiffServDataPathEntry ::= SEQUENCE { diffServDataPathIfDirection IfDirection, diffServDataPathStart RowPointer, diffServDataPathStatus RowStatus } diffServClassifier OBJECT IDENTIFIER ::= { diffServMIBObjects 2 } diffServClfrNextFree OBJECT-TYPE ::= { diffServClassifier 1 } diffServClfrTable OBJECT-TYPE ::= { diffServClassifier 2 } diffServClfrEntry OBJECT-TYPE Baker, Chan, Smith Expires June 2001 [Page 27] Internet Draft Differentiated Services MIB November 2000 INDEX { diffServClfrId } ::= { diffServClfrTable 1 } DiffServClfrEntry ::= SEQUENCE { diffServClfrId Unsigned32, diffServClfrStatus RowStatus } diffServClfrElementNextFree OBJECT-TYPE ::= { diffServClassifier 3 } diffServClfrElementTable OBJECT-TYPE ::= { diffServClassifier 4 } diffServClfrElementEntry OBJECT-TYPE INDEX { diffServClfrElementClfrId, diffServClfrElementId } ::= { diffServClfrElementTable 1 } DiffServClfrElementEntry ::= SEQUENCE { diffServClfrElementId Unsigned32, diffServClfrElementClfrId Unsigned32, diffServClfrElementOrder Unsigned32, diffServClfrElementNext RowPointer, diffServClfrElementSpecific RowPointer, diffServClfrElementStatus RowStatus } diffServSixTupleClfrNextFree OBJECT-TYPE ::= { diffServClassifier 5 } diffServSixTupleClfrTable OBJECT-TYPE ::= { diffServClassifier 6 } diffServSixTupleClfrEntry OBJECT-TYPE INDEX { diffServSixTupleClfrId } ::= { diffServSixTupleClfrTable 1 } DiffServSixTupleClfrEntry ::= SEQUENCE { diffServSixTupleClfrId Unsigned32, diffServSixTupleClfrDstAddrType InetAddressType, diffServSixTupleClfrDstAddr InetAddress, diffServSixTupleClfrDstAddrMask Unsigned32, diffServSixTupleClfrSrcAddrType InetAddressType, diffServSixTupleClfrSrcAddr InetAddress, diffServSixTupleClfrSrcAddrMask Unsigned32, diffServSixTupleClfrDscp Dscp, diffServSixTupleClfrProtocol Unsigned32, diffServSixTupleClfrDstL4PortMin SixTupleClfrL4Port, diffServSixTupleClfrDstL4PortMax SixTupleClfrL4Port, diffServSixTupleClfrSrcL4PortMin SixTupleClfrL4Port, diffServSixTupleClfrSrcL4PortMax SixTupleClfrL4Port, diffServSixTupleClfrStatus RowStatus } Baker, Chan, Smith Expires June 2001 [Page 28] Internet Draft Differentiated Services MIB November 2000 diffServMeter OBJECT IDENTIFIER ::= { diffServMIBObjects 3 } diffServMeterNextFree OBJECT-TYPE ::= { diffServMeter 1 } diffServMeterTable OBJECT-TYPE ::= { diffServMeter 2 } diffServMeterEntry OBJECT-TYPE INDEX { diffServMeterId } ::= { diffServMeterTable 1 } DiffServMeterEntry ::= SEQUENCE { diffServMeterId Unsigned32, diffServMeterSucceedNext RowPointer, diffServMeterFailNext RowPointer, diffServMeterSpecific RowPointer, diffServMeterStatus RowStatus } diffServTBMeterNextFree OBJECT-TYPE ::= { diffServMeter 3 } diffServTBMeterTable OBJECT-TYPE ::= { diffServMeter 4 } diffServTBMeterEntry OBJECT-TYPE INDEX { diffServTBMeterId } ::= { diffServTBMeterTable 1 } DiffServTBMeterEntry ::= SEQUENCE { diffServTBMeterId Unsigned32, diffServTBMeterType INTEGER, diffServTBMeterRate Unsigned32, diffServTBMeterBurstSize BurstSize, diffServTBMeterInterval Unsigned32, diffServTBMeterStatus RowStatus } diffServAction OBJECT IDENTIFIER ::= { diffServMIBObjects 4 } diffServActionNextFree OBJECT-TYPE ::= { diffServAction 1 } diffServActionTable OBJECT-TYPE ::= { diffServAction 2 } diffServActionEntry OBJECT-TYPE INDEX { diffServActionId } ::= { diffServActionTable 1 } DiffServActionEntry ::= SEQUENCE { diffServActionId Unsigned32, diffServActionNext RowPointer, diffServActionSpecific RowPointer, diffServActionType INTEGER, Baker, Chan, Smith Expires June 2001 [Page 29] Internet Draft Differentiated Services MIB November 2000 diffServActionStatus RowStatus } diffServDscpMarkActNextFree OBJECT-TYPE ::= { diffServAction 3 } diffServDscpMarkActTable OBJECT-TYPE ::= { diffServAction 4 } diffServDscpMarkActEntry OBJECT-TYPE INDEX { diffServDscpMarkActId } ::= { diffServDscpMarkActTable 1 } DiffServDscpMarkActEntry ::= SEQUENCE { diffServDscpMarkActId Unsigned32, diffServDscpMarkActDscp Dscp, diffServDscpMarkActStatus RowStatus } diffServCountActNextFree OBJECT-TYPE ::= { diffServAction 5 } diffServCountActTable OBJECT-TYPE ::= { diffServAction 6 } diffServCountActEntry OBJECT-TYPE INDEX { diffServCountActId } ::= { diffServCountActTable 1 } DiffServCountActEntry ::= SEQUENCE { diffServCountActId Unsigned32, diffServCountActOctets Counter32, diffServCountActHCOctets Counter64, diffServCountActPkts Counter32, diffServCountActHCPkts Counter64, diffServCountActDiscontTime TimeStamp, diffServCountActStatus RowStatus } diffServAlgDrop OBJECT IDENTIFIER ::= { diffServMIBObjects 5 } diffServAlgDropNextFree OBJECT-TYPE ::= { diffServAlgDrop 1 } diffServAlgDropTable OBJECT-TYPE ::= { diffServAlgDrop 2 } diffServAlgDropEntry OBJECT-TYPE INDEX { diffServAlgDropId } ::= { diffServAlgDropTable 1 } DiffServAlgDropEntry ::= SEQUENCE { diffServAlgDropId Unsigned32, diffServAlgDropType INTEGER, diffServAlgDropNext RowPointer, diffServAlgDropQMeasure RowPointer, Baker, Chan, Smith Expires June 2001 [Page 30] Internet Draft Differentiated Services MIB November 2000 diffServAlgDropQThreshold Unsigned32, diffServAlgDropSpecific RowPointer, diffServAlgDropOctets Counter32, diffServAlgDropHCOctets Counter64, diffServAlgDropPkts Counter32, diffServAlgDropHCPkts Counter64, diffServAlgDropStatus RowStatus } diffServRandomDropNextFree OBJECT-TYPE ::= { diffServAlgDrop 3 } diffServRandomDropTable OBJECT-TYPE ::= { diffServAlgDrop 4 } diffServRandomDropEntry OBJECT-TYPE INDEX { diffServRandomDropId } ::= { diffServRandomDropTable 1 } DiffServRandomDropEntry ::= SEQUENCE { diffServRandomDropId Unsigned32, diffServRandomDropMinThreshBytes Unsigned32, diffServRandomDropMinThreshPkts Unsigned32, diffServRandomDropMaxThreshBytes Unsigned32, diffServRandomDropMaxThreshPkts Unsigned32, diffServRandomDropInvProbMax Unsigned32, diffServRandomDropInvWeight Unsigned32, diffServRandomDropSamplingRate Unsigned32, diffServRandomDropStatus RowStatus } diffServQueue OBJECT IDENTIFIER ::= { diffServMIBObjects 6 } diffServQNextFree OBJECT-TYPE ::= { diffServQueue 1 } diffServQTable OBJECT-TYPE ::= { diffServQueue 2 } diffServQEntry OBJECT-TYPE INDEX { diffServQId } ::= { diffServQTable 1 } DiffServQEntry ::= SEQUENCE { diffServQId Unsigned32, diffServQNext RowPointer, diffServQSchdParam RowPointer, diffServQStatus RowStatus } diffServScheduler OBJECT IDENTIFIER ::= { diffServMIBObjects 7 } diffServSchedulerNextFree OBJECT-TYPE Baker, Chan, Smith Expires June 2001 [Page 31] Internet Draft Differentiated Services MIB November 2000 ::= { diffServScheduler 1 } diffServSchedulerTable OBJECT-TYPE ::= { diffServScheduler 2 } diffServSchedulerEntry OBJECT-TYPE INDEX { diffServSchedulerId } ::= { diffServSchedulerTable 1 } DiffServSchedulerEntry ::= SEQUENCE { diffServSchedulerId Unsigned32, diffServSchedulerNext RowPointer, diffServSchedulerMethod INTEGER, diffServSchedulerSchdParam RowPointer, diffServSchedulerStatus RowStatus } diffServSchdParamNextFree OBJECT-TYPE ::= { diffServScheduler 3 } diffServSchdParamTable OBJECT-TYPE ::= { diffServScheduler 4 } diffServSchdParamEntry OBJECT-TYPE INDEX { diffServSchdParamId } ::= { diffServSchdParamTable 1 } DiffServSchdParamEntry ::= SEQUENCE { diffServSchdParamId Unsigned32, diffServSchdParamPriority Unsigned32, diffServSchdParamMinRateAbs Unsigned32, diffServSchdParamMinRateRel Unsigned32, diffServSchdParamMaxRateAbs Unsigned32, diffServSchdParamMaxRateRel Unsigned32, diffServSchdParamStatus RowStatus } Baker, Chan, Smith Expires June 2001 [Page 32] Internet Draft Differentiated Services MIB November 2000 8. MIB Definition DIFF-SERV-MIB DEFINITIONS ::= BEGIN IMPORTS Integer32, Unsigned32, Counter32, Counter64, MODULE-IDENTITY, OBJECT-TYPE, zeroDotZero, mib-2 FROM SNMPv2-SMI TEXTUAL-CONVENTION, RowStatus, RowPointer, TimeStamp FROM SNMPv2-TC MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF ifIndex FROM IF-MIB InetAddressType, InetAddress FROM INET-ADDRESS-MIB BurstSize FROM INTEGRATED-SERVICES-MIB; diffServMib MODULE-IDENTITY LAST-UPDATED "200011030000Z" ORGANIZATION "IETF Diffserv WG" CONTACT-INFO " Fred Baker Cisco Systems 519 Lado Drive Santa Barbara, CA 93111, USA E-mail: fred@cisco.com Kwok Ho Chan Nortel Networks 600 Technology Park Drive Billerica, MA 01821, USA E-mail: khchan@nortelnetworks.com Baker, Chan, Smith Expires June 2001 [Page 33] Internet Draft Differentiated Services MIB November 2000 Andrew Smith E-mail: ah_smith@pacbell.net" DESCRIPTION "This MIB defines the objects necessary to manage a device that uses the Differentiated Services Archi- tecture described in RFC 2475 and the Informal Management Model for DiffServ Routers in draft-ietf- diffserv-model-04.txt." REVISION "200011030000Z" DESCRIPTION "Initial version, published as RFC xxxx." ::= { mib-2 12345 } -- anybody who uses this unassigned -- number deserves the wrath of IANA diffServMIBObjects OBJECT IDENTIFIER ::= { diffServMib 1 } diffServMIBConformance OBJECT IDENTIFIER ::= { diffServMib 2 } -- These textual conventions have no effect on either the syntax -- nor the semantics of any managed object. Objects defined -- using this convention are always encoded by means of the -- rules that define their primitive type. Dscp ::= TEXTUAL-CONVENTION DISPLAY-HINT "d" STATUS current DESCRIPTION "The IP header Diffserv Code-Point that may be used for discriminating or marking a traffic stream. The value -1 is used to indicate a wildcard i.e. any value." SYNTAX Integer32 (-1 | 0..63) Baker, Chan, Smith Expires June 2001 [Page 34] Internet Draft Differentiated Services MIB November 2000 SixTupleClfrL4Port ::= TEXTUAL-CONVENTION DISPLAY-HINT "d" STATUS current DESCRIPTION "A value indicating a Layer-4 protocol port number." SYNTAX Unsigned32 (0..65535) IfDirection ::= TEXTUAL-CONVENTION STATUS current DESCRIPTION "Specifies a direction of data travel on an inter- face. 'inbound' traffic is operated on during recep- tion from the interface, while 'outbound' traffic is operated on prior to transmission on the interface." SYNTAX INTEGER { inbound(1), -- ingress interface outbound(2) -- egress interface } -- -- Data Path -- Baker, Chan, Smith Expires June 2001 [Page 35] Internet Draft Differentiated Services MIB November 2000 diffServDataPath OBJECT IDENTIFIER ::= { diffServMIBObjects 1 } -- -- Data Path Table -- -- The Data Path Table enumerates the Differentiated Services -- Data Paths within this device. Each entry in this table -- is indexed by ifIndex and ifDirection. Each entry provides -- the first diffserv functional datapath element to process data -- flow for each specific datapath. This table should have two -- entries for each interface on this device; ingress and egress. -- -- Notice all diffserv functional datapath elements linked together -- using their individual next pointers and anchored by an entry -- of the diffServDataPathTable must belong to the same datapath. -- The use of next pointer to point to diffserv functional datapath -- element of a different datapath is not allowed. -- diffServDataPathTable OBJECT-TYPE SYNTAX SEQUENCE OF DiffServDataPathEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "The data path table defines the data paths in this device. Each data path is defined by the interface and traffic direction. The first diffserv functional datapath element to handle traffic for this data path is defined by a RowPointer, diffServDataPathStart, in the entries of this table." ::= { diffServDataPath 1 } diffServDataPathEntry OBJECT-TYPE SYNTAX DiffServDataPathEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entry in the data path table describes a single diffserv datapath in this device." INDEX { ifIndex, diffServDataPathIfDirection } ::= { diffServDataPathTable 1 } DiffServDataPathEntry ::= SEQUENCE { diffServDataPathIfDirection IfDirection, Baker, Chan, Smith Expires June 2001 [Page 36] Internet Draft Differentiated Services MIB November 2000 diffServDataPathStart RowPointer, diffServDataPathStatus RowStatus } diffServDataPathIfDirection OBJECT-TYPE SYNTAX IfDirection MAX-ACCESS not-accessible STATUS current DESCRIPTION "Specifies the direction for which this data path entry applies on this interface." ::= { diffServDataPathEntry 1 } diffServDataPathStart OBJECT-TYPE SYNTAX RowPointer MAX-ACCESS read-create STATUS current DESCRIPTION "This selects the first diffserv functional datapath element to handle traffic for this data path. This RowPointer should point to an instance of one of: diffServClfrEntry diffServMeterEntry diffServActionEntry diffServAlgDropEntry diffServQEntry A value of zeroDotZero in this attribute indicates no further Diffserv treatment is performed on traffic of this datapath. If the row pointed to does not exist, this whole Baker, Chan, Smith Expires June 2001 [Page 37] Internet Draft Differentiated Services MIB November 2000 diffserv datapath is ignored." ::= { diffServDataPathEntry 2 } diffServDataPathStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "The RowStatus variable controls the activation, deactivation, or deletion of a row/entry. Any writ- able variable may be modified whether the row is active or notInService." ::= { diffServDataPathEntry 3 } -- -- Classifiers -- diffServClassifier OBJECT IDENTIFIER ::= { diffServMIBObjects 2 } -- -- Classifier Table -- -- Classifier allows multiple classifier elements, of same or different -- types, to be used together. -- A classifier must completely classify all packets presented to it, -- this means all traffic handled by a classifier must match -- at least one classifier element within the classifier, Baker, Chan, Smith Expires June 2001 [Page 38] Internet Draft Differentiated Services MIB November 2000 -- with the classifier element parameters specified by a filter. -- -- If there is ambiguity between classifier elements of different -- classifier, the precedence is indicated by the order the classifiers -- are linked, the first classifier in the link is applied to the -- traffic first. -- diffServClfrNextFree OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS read-only STATUS current DESCRIPTION "This object yields a value when read that is currently unused for a diffServClfrId instance. If a configuring system attempts to create a new row in the diffServClfrTable using this value, that opera- tion will fail if the value has, in the meantime, been used to create another row that is currently valid." ::= { diffServClassifier 1 } diffServClfrTable OBJECT-TYPE SYNTAX SEQUENCE OF DiffServClfrEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This table enumerates all the diffserv classifier functional datapath elements of this device. The actual classification definitions are defined in diffServClfrElementTable entries belonging to each classifier." REFERENCE "[MODEL] section 4.1" ::= { diffServClassifier 2 } Baker, Chan, Smith Expires June 2001 [Page 39] Internet Draft Differentiated Services MIB November 2000 diffServClfrEntry OBJECT-TYPE SYNTAX DiffServClfrEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entry in the classifier table describes a single classifier. All classifier elements belonging to the same classifier uses the classifier's diffServClfrId inkbps. (6) Are "absolute" rates sufficient orthier diffServClfrElementClfrId attribute." INDEX { diffServClfrId } ::= { diffServClfrTable 1 } DiffServClfrEntry ::= SEQUENCE { diffServClfrId Unsigned32, diffServClfrStatus RowStatus } diffServClfrId OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS not-accessible STATUS current DESCRIPTION "An index that enumerates the classifier entries. The set of such identifiers spans the whole agent. Managers shouldwe include "relativeobtain new values for row creation in this table by reading diffServClfrNextFree." ::= { diffServClfrEntry 1 } diffServClfrStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "The RowStatus variable controls the activation, deactivation, or deletion of a classifier. Any writ- able variable may be modified whether the row is active or notInService." ::= { diffServClfrEntry 2 } -- -- Classifier Element Table -- -- Entries in the classifier element table serves as Baker, Chan, Smith Expires June 2001 [Page 40] Internet Draft Differentiated Services MIB November 2000 -- the anchor for each classification pattern, defined -- in filter table entries. Each classifier element -- table entry also specifies the subsequent downstream -- diffserv functional datapath element when the -- classification pattern is satisfied. -- Each entry in the classifier element table describes -- one branch of the fan-out characteristic of a classifier -- indicated in [MODEL] section 4.1. A classifier is madeup -- of one or more classifier elements. -- diffServClfrElementNextFree OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS read-only STATUS current DESCRIPTION "This object yields a value when read that is currently unused for a diffServClfrElementId instance. If a configuring system attempts to create a new row in the diffServClfrElementTable using this value, that opera- tion will fail if the value has, in the meantime, been used toline speed" ones as well? (yes) - DONE - explainedcreate another row thatthese are interrelated. (7) Scheduler weights vs. rates vs. priorities: thisisconfusing - suggest we stickcurrently valid." ::= { diffServClassifier 3 } diffServClfrElementTable OBJECT-TYPE SYNTAX SEQUENCE OF DiffServClfrElementEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "The classifier element table enumerates the rela- tionship between classification patterns and subse- Baker, Chan, Smith Expires June 2001 [Page 41] Internet Draft Differentiated Services MIB November 2000 quent downstream diffserv functional datapath ele- ments. Classification parameters are defined by entries of filter tables pointed toratesby diffServClfrElementSpecific. There can be filter tables of different types, andpriorities (see Model draft 7.1.2) - DONE. (8) Queue Measure table: othey can be inter- mixed and used within a classifier. An example of a filter table defined in this MIB is diffServSixTu- pleClfrTable, for IP Multi-Field Classifiers (MFCs). Filter tables for other filter types may be defined elsewhere." REFERENCE "[MODEL] section 4.1" ::= { diffServClassifier 4 } diffServClfrElementEntry OBJECT-TYPE SYNTAX DiffServClfrElementEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entry in the classifier element table describes a single element of the classifier." INDEX { diffServClfrElementClfrId, diffServClfrElementId } ::= { diffServClfrElementTable 1 } DiffServClfrElementEntry ::= SEQUENCE { diffServClfrElementId Unsigned32, diffServClfrElementClfrId Unsigned32, diffServClfrElementOrder Unsigned32, diffServClfrElementNext RowPointer, diffServClfrElementSpecific RowPointer, diffServClfrElementStatus RowStatus } Baker, Chan, Smith Expires June 2001 [Page 42] Internet Draft Differentiated Services MIB November 2000 diffServClfrElementId OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS not-accessible STATUS current DESCRIPTION "An index that enumerates the Classifier Element entries. The set of such identifiers spans the whole agent. Managers should obtain new values for row creation in this table by reading diffServClfrElementNextFree." ::= { diffServClfrElementEntry 1 } diffServClfrElementClfrId OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS not-accessible STATUS current DESCRIPTION "A classifier Id identifies which classifier this classifier element is a part of. Thisallows for RIO - multiple averaging functionsneeds to be the value of diffServClfrId attribute for an existing row in diffServClfrTable." ::= { diffServClfrElementEntry 2 } diffServClfrElementOrder OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS read-create STATUS current DESCRIPTION "The relative order in which classifier elements are applied: higher numbers represent classifier ele- ment with higher precedence. Classifier elements with the samequeue: is this needed? OUT OF SCOPE. o mixes config with status objects - split these? N/A. o do we need floating-point representation for "weight"? N/A. o do we need MIB visibility for average queue depth? N/A. o do we need MIB-configurable averaging functions (sample weight/interval)? (maybe just "sample weight") - NO: averaging functions willorder must beleft out although framework allows for their inclusion separately. (9) Counter compliance: paste text from IF-MIB re line-speeds. Do you still have to do the low-speed counters for fast interfaces? YES. DONE. (10) Meters:unambiguous i.e. they must define non-overlapping patterns, and arethese mandatory for compliance? NO (11) Discussion material: move most of thiscon- sidered to be applied simultaneously toModel draft e.g. most of 3.1, 3.3, "Dropper/discarder" part of 3.4, nearly all of 3.5. Just leave the "how does the MIB map fromtheModel" partstraffic stream. Clas- sifier elements with different order may overlap in their filters: theMIB draft, no general discussion. DONE. (12) Counters: merged in 32-bit and 64-bit counters - conformance statements sort out which onesclassif- ier element with the highest order that matches is taken. On a given interface, there must beimplemented. This is consistent with [IFMIB]. DONE.a complete clas- sifier in place at all times in the ingress Baker, Chan, Smith ExpiresJanuaryJune 2001 [Page16]43] Internet Draft Differentiated Services MIBJulyNovember 2000(13) Droppers: we used to have a common "dropper" tabledirection. This means thatrepresented all of: dropAlways, randomDrop, tailDrop with just some parameters valid for the simpler ones. A simpler representation is to define specific dropper tables for each type (e.g. a single OID to point at for dropAlways since it isthere will alwaysthe last actionbe one or more filters that match every possible pat- tern that could be presented ina chain) but this would mean a larger number of (simpler) MIB objects. CHANGES: dropAlways is stillanAction butincoming packet. There is no such requirement in theothers are moved toegress direc- tion." DEFVAL { 0 } ::= { diffServClfrElementEntry 3 } diffServClfrElementNext OBJECT-TYPE SYNTAX RowPointer MAX-ACCESS read-create STATUS current DESCRIPTION "This attribute provides one branch of the fan-out functionality of adiffServAlgDropTable.classifier described in [MODEL] section 4.1. Thistable can handle tail/head/random drop - others by extension. (14) Should TBMeterTable just AUGMENTselects theMeterTable, should it use same indices or are separate structures linked by RowPointers preferable? (same indices without RowPointer). (15) Do we neednext diffserv functional datapath element tomodel multiple queues feeding back into a single dropper algorithm? (yes). If so, the current single-queue pointer and threshold will not be adequate - should we leave them in? They will be usefulhandle traffic formany, but not all, dropper algorithms. (yes) (17) We have conceptsthis data path. This RowPointer should point to an instance of one of: diffServClfrEntry diffServMeterEntry diffServActionEntry diffServAlgDropEntry diffServQEntry A value of zeroDotZero in this attribute indicates no further Diffserv treatment is performed on traffic of"inbound" and "outbound" directions: butthis datapath. If the row pointed to does not exist, the treatment is as ifwe havethis attribute contains aseriesvalue ofmultiple TCBs onzero- DotZero." ::= { diffServClfrElementEntry 4 } diffServClfrElementSpecific OBJECT-TYPE SYNTAX RowPointer MAX-ACCESS read-create STATUS current DESCRIPTION "A pointer to agiven interface forvalid entry in another table, filter table, that describes thesame direction (allowed byapplicable classif- ication parameters, e.g. an entry in diffServSixTu- pleClfrTable. Baker, Chan, Smith Expires June 2001 [Page 44] Internet Draft Differentiated Services MIB November 2000 If themodel) then we do not have a wayrow pointed toindicate "this isdoes not exist, the1st one". Moreover, itclassifier element isa somewhat convoluted processignored. The value zeroDotZero is interpreted tothen find the 2nd, 3rd etc. onesmatch any- thing not matched by another classifier element -you would have to followonly one such entry may exist for each classifier." DEFVAL { zeroDotZero } ::= { diffServClfrElementEntry 5 } diffServClfrElementStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "The RowStatus variable controls theRowPointers to get there: should we explicitly have an indexactivation, deactivation, or deletion of a classifier element. Any writ- able variable may be modified whether the row is active or notInService." ::= { diffServClfrElementEntry 6 } -- -- IP Six-Tuple Classification Table -- -- Classification based on 6 different fields in the IP -- header. This is intended toenable/help these lookup operations? Note:be IP-version-independent. -- Filters, entries in thisis nottable, may be shared, pointed to, -- by multiple diffServClfrElementEntry, of same or different -- datapaths in the sameissue as needingsystem. -- diffServSixTupleClfrNextFree OBJECT-TYPE Baker, Chan, Smith Expires June 2001 [Page 45] Internet Draft Differentiated Services MIB November 2000 SYNTAX Unsigned32 MAX-ACCESS read-only STATUS current DESCRIPTION "This object yields a"precedence"value when read that is currently unused foreach filter entry ofaclassifier (yes - added another index to classifiersdiffServSixTupleClfrId instance. If a configuring system attempts torepresent what TCB they operate at forcreate agiven interface/direction). 5.2. Open Issues resolvednew row inthis draft (13) Droppers: slight change to previous resolution. MIB can now handle tail/head/random dropthe diffServSixTupleClfrTable usingdiffServAlgDropTable and diffServRandomDropTable. (18) Should manager be allowedthis value, that operation will fail if the value has, in the meantime, been used to createQueue elements or should agent be in controlanother row that is currently valid." ::= { diffServClassifier 5 } diffServSixTupleClfrTable OBJECT-TYPE SYNTAX SEQUENCE OF DiffServSixTupleClfrEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A table ofthis? (the former) (19) Should manager be allowedIP Six-Tuple Classifier filter entries that a system may use tocreate Scheduler elements oridentify IP traffic." REFERENCE "[MODEL] section 4.2.2" ::= { diffServClassifier 6 } diffServSixTupleClfrEntry OBJECT-TYPE SYNTAX DiffServSixTupleClfrEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An IP Six-Tuple Classifier entry describes a single filter." INDEX { diffServSixTupleClfrId } ::= { diffServSixTupleClfrTable 1 } Baker, Chan, Smith Expires June 2001 [Page 46] Internet Draft Differentiated Services MIB November 2000 DiffServSixTupleClfrEntry ::= SEQUENCE { diffServSixTupleClfrId Unsigned32, diffServSixTupleClfrDstAddrType InetAddressType, diffServSixTupleClfrDstAddr InetAddress, diffServSixTupleClfrDstAddrMask Unsigned32, diffServSixTupleClfrSrcAddrType InetAddressType, diffServSixTupleClfrSrcAddr InetAddress, diffServSixTupleClfrSrcAddrMask Unsigned32, diffServSixTupleClfrDscp Dscp, diffServSixTupleClfrProtocol Unsigned32, diffServSixTupleClfrDstL4PortMin SixTupleClfrL4Port, diffServSixTupleClfrDstL4PortMax SixTupleClfrL4Port, diffServSixTupleClfrSrcL4PortMin SixTupleClfrL4Port, diffServSixTupleClfrSrcL4PortMax SixTupleClfrL4Port, diffServSixTupleClfrStatus RowStatus } diffServSixTupleClfrId OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS not-accessible STATUS current DESCRIPTION "An index that enumerates the Six Tuple Classifier filter entries. The set of such identifiers spans the whole agent. Managers shouldagent beobtain new values for row creation incontrolthis table by reading diffServSixTupleClfrNextFree." ::= { diffServSixTupleClfrEntry 1 } diffServSixTupleClfrDstAddrType OBJECT-TYPE SYNTAX InetAddressType MAX-ACCESS read-create STATUS current DESCRIPTION "The type ofthis? (the former) (20) Related to (17) above, do we also need a "TCB index" for elements other than classifiers? (no)IP destination address used by this classifier entry." ::= { diffServSixTupleClfrEntry 2 } diffServSixTupleClfrDstAddr OBJECT-TYPE Baker, Chan, Smith ExpiresJanuaryJune 2001 [Page17]47] Internet Draft Differentiated Services MIBJulyNovember 2000(21) Do we need diffServAlgDropType of both "headDrop" and "tailDrop" or should we just represent the tail dropper by placing a dropper after the queue instead of before the queue, as linked by the diffServQNext and diffServAlgDropNext RowPointers? (the former - dropper is always in front of the queue in this model). (22) Do we needSYNTAX InetAddress MAX-ACCESS read-create STATUS current DESCRIPTION "The IP address tosupport RED algorithms for algorithm parameter configuration and monitoring? If so, what variables are needed? (Added diffServRandomDropTable). (24) diffServAlgDropQThreshold needs UNITS (Bytes). (25) Dangling RowPointers: should we mandate that these are never permitted? Or just definematch against thebehaviour if they do dangle? (We define it such that elements that have dangling pointers, as well as upstream elements that point to them, are considered "not activated") (26) Discontinuity times for MIB counters - is ifCounterDiscontinuityTime adequate? (no: added diffServCountActDiscontTime). (27) How do we handle dropper algorithms that require additional classification information in order to do their job? If a Classifier is needed then createpacket's desti- nation IP address." ::= { diffServSixTupleClfrEntry 3 } diffServSixTupleClfrDstAddrMask OBJECT-TYPE SYNTAX Unsigned32 UNITS "bits" MAX-ACCESS read-create STATUS current DESCRIPTION "The length of anew TCBmask forit atthepoint just beforematching of thedropper: use ordinary Classifier elementsdesti- nation IP address. Masks are constructed by setting bits inthis TCB. (28) Indexing of table entries and uniqueness hints: is TestAndIncrsequence from thecorrect toolmost-significant bit down- wards for diffServSixTupleClfrDstAddrMask bits length. All other bits in the mask, up touse? (no: RowStatus istheright tool for ensuring uniqueness; use a NextFree variable as a hint). (32) Miscellaneous clarifications - thanks Bob. 5.3. Still Open Issues (16) Shouldnumber needed to fill thecreationlength ofcounter actions be underthecontrol of manager or agent: should a diffServActionEntry and diffServCountActEntry appear by magic (doesaddress diffServSix- TupleClfrDstAddr are cleared to zero. A zero bit in theagent know what counters it can and cannot maintain on a given interface)? (no) If no, should diffServCountActEntry appear magically when a diffServAction element is created which points atmask then means that thediffServCountActTable (then would be no need for diffServCountActStatus)? (no) (23) Do daughter entriescorresponding bit in the address always matches." DEFVAL {0} ::= { diffServSixTupleClfrEntry 4 } diffServSixTupleClfrSrcAddrType OBJECT-TYPE SYNTAX InetAddressType MAX-ACCESS read-create STATUS current DESCRIPTION "The type ofderived table entries needIP source address used by this classif- ier entry." ::= { diffServSixTupleClfrEntry 5 } diffServSixTupleClfrSrcAddr OBJECT-TYPE SYNTAX InetAddress MAX-ACCESS read-create STATUS current DESCRIPTION "The IP address toexist independently ofmatch against theparent? Examples are diffServMeterEntry/diffServTBMeterEntry,source IP address of each packet." ::= { diffServSixTupleClfrEntry 6 } Baker, Chan, Smith ExpiresJanuaryJune 2001 [Page18]48] Internet Draft Differentiated Services MIBJulyNovember 2000diffServActionEntry/diffServCountActEntry and diffServAlgDropEntry/diffServRandomDropEntry (assume they must be independentdiffServSixTupleClfrSrcAddrMask OBJECT-TYPE SYNTAX Unsigned32 UNITS "bits" MAX-ACCESS read-create STATUS current DESCRIPTION "The length of a mask for theequivalent entry in diffServMeterTable which points atmatching of theTB table - needs diffServTBMeterStatus: daughters must be created explicitlysource IP address. Masks are constructed bymanager). (30) Related to (17) - multi-manager creation of TCBs: diffServClassifierId is unique acrosssetting bits in sequence from theagent,most-significant bit downwards forall values of diffServClassifierTcb but there is no "next free" variable to reportdiffServSixTupleClfrSrcAddrMask bits length. All other bits in thenext TCB to use. This can lead to a race condition when 2 managers are duellingmask, up tocreate entries withthesame value of diffServClassifierTcb. There are also legitimate reasons for different managersnumber needed tobe "creating"fill the*same* TCB so a conventional "next free" is not a good solution. Is this a rare enough occurence given a suitable choicelength ofdiffServClassifierTcb e.g. pseudo-random? (yes). (31) When inheritance is needed and parent/daughter share indexing,theparent often pointsaddress diffServSixTu- pleClfrSrcAddr are cleared to zero. A zero bit in thedaughter using a "Specific" attribute e.g. diffServMeterSpecific, diffServActionSpecific, diffServAlgDropSpecific. If this is a RowPointer and points tomask then means that theassociated rowcorresponding bit in thedaughter's table, there is redundant information which gives scope for additional error cases. So, wherever possible, should we remove this redundant information by making the "Specific" attribute point only toaddress always matches." DEFVAL {0} ::= { diffServSixTupleClfrEntry 7 } diffServSixTupleClfrDscp OBJECT-TYPE SYNTAX Dscp MAX-ACCESS read-create STATUS current DESCRIPTION "The value that thebase ofDSCP in thedaughter table and make it an OBJECT IDENTIFIER? The con is thatpacket must have to match thisis an unusual useentry. A value ofMIB pointers (point at table base,-1 indicates that a specific DSCP value has notindividual entries). 6. MIB Definition DIFF-SERV-MIB DEFINITIONSbeen defined and thus all DSCP values are considered a match." DEFVAL {-1} ::=BEGIN IMPORTS Unsigned32, Counter32, Counter64, OBJECT-TYPE, MODULE-IDENTITY, OBJECT-IDENTITY, zeroDotZero, mib-2 FROM SNMPv2-SMI TEXTUAL-CONVENTION, RowStatus, RowPointer, TimeStamp FROM SNMPv2-TC MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF ifIndex FROM IF-MIB InetAddressType, InetAddress FROM INET-ADDRESS-MIB{ diffServSixTupleClfrEntry 8 } diffServSixTupleClfrProtocol OBJECT-TYPE SYNTAX Unsigned32 (0..255) Baker, Chan, Smith ExpiresJanuaryJune 2001 [Page19]49] Internet Draft Differentiated Services MIBJulyNovember 2000BurstSize FROM INTEGRATED-SERVICES-MIB; diffServMib MODULE-IDENTITY LAST-UPDATED "200007130000Z" ORGANIZATION "IETF Diffserv WG" CONTACT-INFO " Brian Carpenter (co-chair of Diffserv WG) c/o iCAIR 1890 Maple Ave, #150 Evanston, IL 60201, USA Phone: +1 847 467 7811 E-mail: brian@icair.org Kathleen Nichols (co-chair of Diffserv WG) Packet Design E-mail: nichols@packetdesign.com Fred Baker (author) Cisco Systems 519 Lado Drive Santa Barbara, CA 93111, USA E-mail: fred@cisco.com Kwok Ho Chan (author) Nortel Networks 600 Technology Park Drive Billerica, MA 01821, USA E-mail: khchan@nortelnetworks.com Andrew Smith (author) E-mail: ah_smith@pacbell.net"MAX-ACCESS read-create STATUS current DESCRIPTION"This MIB defines the objects necessary"The IP protocol tomanage a device that uses the Differentiated Services Architecture described in RFC 2475 andmatch against theInformal Management Model for DiffServ Routers in draft-ietf-diffserv-model-04.txt." REVISION "200007130000Z" DESCRIPTION "Initial version, published as RFC xxxx." ::= { mib-2 12345 } -- anybody who uses this unassigned --IPv4 protocol numberdeservesin thewrathpacket. A value ofIANA diffServObjects OBJECT IDENTIFIERzero means match all." DEFVAL {0} ::= {diffServMib 1diffServSixTupleClfrEntry 9 }diffServTables OBJECT IDENTIFIERdiffServSixTupleClfrDstL4PortMin OBJECT-TYPE SYNTAX SixTupleClfrL4Port MAX-ACCESS read-create STATUS current DESCRIPTION "The minimum value that the layer-4 destination port number in the packet must have in order to match this classifier entry." DEFVAL {0} ::= {diffServMib 2diffServSixTupleClfrEntry 10 }diffServMIBConformance OBJECT IDENTIFIERdiffServSixTupleClfrDstL4PortMax OBJECT-TYPE SYNTAX SixTupleClfrL4Port MAX-ACCESS read-create STATUS current DESCRIPTION "The maximum value that the layer-4 destination port number in the packet must have in order to match this classifier entry. This value must be equal to or greater than the value specified for this entry in diffServSixTupleClfrDstL4PortMin." DEFVAL {65535} ::= {diffServMib 3diffServSixTupleClfrEntry 11 } Baker, Chan, Smith ExpiresJanuaryJune 2001 [Page20]50] Internet Draft Differentiated Services MIBJulyNovember 2000-- These textual conventions have no effect on either the syntax -- nor the semantics of any managed object. Objects defined -- using this convention are always encoded by means of the -- rules that define their primitive type. Dscp ::= TEXTUAL-CONVENTION DISPLAY-HINT "d"diffServSixTupleClfrSrcL4PortMin OBJECT-TYPE SYNTAX SixTupleClfrL4Port MAX-ACCESS read-create STATUS current DESCRIPTION "TheIP header Diffserv Code-Point that may be used for discriminating or marking a traffic stream. Theminimum value-1 is usedthat the layer-4 source port number in the packet must have in order toindicate a wildcard i.e. any value."match this classifier entry." DEFVAL {0} ::= { diffServSixTupleClfrEntry 12 } diffServSixTupleClfrSrcL4PortMax OBJECT-TYPE SYNTAXINTEGER (-1 | 0..63)SixTupleClfrL4Port::= TEXTUAL-CONVENTION DISPLAY-HINT "d"MAX-ACCESS read-create STATUS current DESCRIPTION"A"The maximum valueindicating a Layer-4 protocolthat the layer-4 source portnumber." SYNTAX INTEGER (0..65535) IfDirectionnumber in the packet must have in oder to match this classifier entry. This value must be equal to or greater than the value specified for this entry in diffServSixTupleClfrSrcL4PortMin." DEFVAL {65535} ::=TEXTUAL-CONVENTION{ diffServSixTupleClfrEntry 13 } diffServSixTupleClfrStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION"Specifies a direction"The RowStatus variable controls the activation, deactivation, or deletion ofdata travel on an interface. 'inbound' traffic is operated on during reception froma classifier. Any writ- able variable may be modified whether theinterface, while 'outbound' trafficrow isoperated on prior to transmission on the interface." SYNTAX INTEGERactive or notInService." ::= {inbound(1), -- ingress interface outbound(2) -- egress interfacediffServSixTupleClfrEntry 14 } Baker, Chan, Smith ExpiresJanuaryJune 2001 [Page21]51] Internet Draft Differentiated Services MIBJulyNovember 2000 -- --ClassifiersMeters -- diffServMeter OBJECT IDENTIFIER ::= { diffServMIBObjects 3 } -- --Classifier TableThis MIB supports a variety of Meters. It includes a -- specific definition for Meters whose parameter set can -- be modelled using Token Bucket parameters. -- Other metering parameter sets can be defined and used -- when necessary. -- -- Multiple meter elements may be logically cascaded using -- their diffServMeterSucceedNext and diffServMeterFailNext -- pointers if required. -- One example of this might be for an AF PHB implementation -- that uses multiple level conformance meters. -- -- Cascading of individual meter elements in the MIB is -- intended to be functionally equivalent to multiple level -- conformance determination of a packet. TheClassifier Table allows ussequential -- nature of the representation is merely a notational -- convenience for this MIB. -- -- For example: -- Conforming to RFC 2697, srTCM can be parameterized using -- two sets of diffServMeterEntry and diffServTBMeterEntry. -- With the first set parameterizing the Committed Burst Size -- token-bucket, second set parameterizing the Excess Burst Size -- token-bucket. With both set's diffServTBMeterRate parameters -- being used toenumeratereflect therelationshipCommitted Information Rate value. --between arbitrary classifiers-- Conforming to RFC 2698, trTCM can be parameterized using -- two sets of diffServMeterEntry and diffServTBMeterEntry. -- With thesubsequent downstreamfirst set parameterizing the Peak Information Rate -- and Peak Burst Size token-bucket, second set parameterizing --Diffserv elements. diffServClassifierTable OBJECT-TYPE SYNTAX SEQUENCE OF DiffServClassifierEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "The classifier table definestheclassifiers that are appliedCommitted Information Rate and Committed Burst Size -- token-bucket. -- -- Conforming totraffic arriving at this interface in a particular direction. Specific classifiers are defined by RowPointers in the entries of this table which identify entries in filter tablesRFC 2859, tswTCM can be parameterized using -- two sets ofspecific types, e.g. Multi-Field Classifiers (MFCs) for IP are defined indiffServMeterEntry and diffServTBMeterEntry. -- With thediffServSixTupleClfrTable. Other classifier types may be defined elsewhere." REFERENCE "[MODEL] section 4.1" ::= { diffServTables 1 } diffServClassifierEntry OBJECT-TYPE SYNTAX DiffServClassifierEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entry infirst set parameterizing theclassifier table describes a single element ofCommitted Target Rate, -- second set parametering theclassifier." INDEX { ifIndex, diffServClassifierIfDirection, diffServClassifierTcb, diffServClassifierId } ::= { diffServClassifierTable 1 } DiffServClassifierEntry ::= SEQUENCE { diffServClassifierIfDirection IfDirection, diffServClassifierTcb Unsigned32, diffServClassifierId Unsigned32, diffServClassifierFilter RowPointer, diffServClassifierNext RowPointer, diffServClassifierPrecedence Unsigned32, diffServClassifierStatus RowStatusPeak Target Rate. -- With both set's diffServTBMeterInterval being used to -- reflect the Average Interval as specified by RFC 2859. -- Baker, Chan, Smith ExpiresJanuaryJune 2001 [Page22]52] Internet Draft Differentiated Services MIBJulyNovember 2000} diffServClassifierIfDirection OBJECT-TYPE SYNTAX IfDirection MAX-ACCESS not-accessible STATUS current DESCRIPTION "Specifies the direction for which this classifier entry applies on this interface." ::= { diffServClassifierEntry 1 } diffServClassifierTcbdiffServMeterNextFree OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESSnot-accessibleread-only STATUS current DESCRIPTION"Specifies the TCB of which this classifier element is a part. Lower numbers indicate an element that belongs to a classifier that is part of a TCB that is, at least conceptually, applied to traffic before those with higher numbers - this is necessary to resolve ambiguity in cases where different TCBs contain filters that overlap with each other. A manager wanting to create a new TCB should either first search this table for existing entries and pick a value for this variable that is not currently represented - some form of pseudo- random choice"This object yields a value when read that islikelycurrently unused for a diffServMeterId instance. If a configuring system attempts tominimise collisions. After successful creation ofcreate aconceptualnew rowusingin thechosendiffServMeterTable using this value,the manager should check againthatthere are no other rows with thisopera- tion will fail if the valuethat have been created by a different manager that could, potentially, interfere withhas, in theclassifier elementsmeantime, been used to create another row thatare desired."is currently valid." ::= {diffServClassifierEntry 2diffServMeter 1 }diffServClassifierIddiffServMeterTable OBJECT-TYPE SYNTAXUnsigned32SEQUENCE OF DiffServMeterEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION"A classifier ID that"This table enumeratesthe classifier elements.specific meters that a system may use to police, or shape, a stream of traffic. Thesettraffic stream to be metered is determined by the diffserv functional datapath element(s) upstream ofsuch identifiers spansthewhole agent. Managers should obtain new values for row creationmeter i.e. by the object(s) that point to each entry in this table. This may include all traffic on an interface. Specific meter details are to be found in table entry referenced byreading diffServClassifierNextFree."diffServMeterSpecific." REFERENCE "[MODEL] section 5.1" ::= {diffServClassifierEntry 3diffServMeter 2 }diffServClassifierFilter OBJECT-TYPE SYNTAX RowPointerBaker, Chan, Smith ExpiresJanuaryJune 2001 [Page23]53] Internet Draft Differentiated Services MIBJulyNovember 2000 diffServMeterEntry OBJECT-TYPE SYNTAX DiffServMeterEntry MAX-ACCESSread-createnot-accessible STATUS current DESCRIPTION"A pointer to a valid"An entry inanotherthe meter tablethatdescribesthe applicable classification filter, e.g. an entry in diffServSixTupleClfrTable. If the row pointed to does not exist, the classifier is ignored. The value zeroDotZero is interpreted to match anything not matched by another classifier - only onea single con- formance level of a meter." INDEX { diffServMeterId } ::= { diffServMeterTable 1 } DiffServMeterEntry ::= SEQUENCE { diffServMeterId Unsigned32, diffServMeterSucceedNext RowPointer, diffServMeterFailNext RowPointer, diffServMeterSpecific RowPointer, diffServMeterStatus RowStatus } diffServMeterId OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS not-accessible STATUS current DESCRIPTION "An index that enumerates the Meter entries. The set of suchentry may existidentifiers spans the whole agent. Managers should obtain new values for row creation in thistable." DEFVAL { zeroDotZero }table by reading diffServMeterNextFree." ::= {diffServClassifierEntry 4diffServMeterEntry 1 }diffServClassifierNextdiffServMeterSucceedNext OBJECT-TYPE SYNTAX RowPointer Baker, Chan, Smith Expires June 2001 [Page 54] Internet Draft Differentiated Services MIB November 2000 MAX-ACCESS read-create STATUS current DESCRIPTION"This"If the traffic does conform, this selects the next diffserv functional datapath element to handlepackets matching the filter pattern. For example,traffic for thiscandata path. This RowPointer should point to anentryinstance of one of: diffServClfrEntry diffServMeterEntry diffServActionEntry diffServAlgDropEntry diffServQEntry A value of zeroDotZero ina meter, action, algorithmic dropper or queue table.this attribute indicates no further Diffserv treatment is performed on traffic of this datapath. If the row pointed to does not exist, theclassifier elementtreatment isignored."as if this attribute contains a value of zero- DotZero." DEFVAL { zeroDotZero } ::= {diffServClassifierEntry 5diffServMeterEntry 2 }diffServClassifierPrecedencediffServMeterFailNext OBJECT-TYPE SYNTAXUnsigned32RowPointer MAX-ACCESS read-create STATUS current DESCRIPTION"The relative precedence in which classifiers are applied: higher numbers represent classifiers with higher precedence. Classifiers with the same precedence must be unambiguous i.e. they must define non-overlapping patterns, and are considered to be applied simultaneously to"If the trafficstream. Classifiers with different precedence may overlap in their filters: the classifier with the highest precedence that matches is taken. On a given interface, there must be a complete classifier in place at all times for the first TCB (lowest value of diffServClassifierTcb) in the ingress direction. This means that there will always be one or more filters that match every possible pattern that could be presented in an incoming packet. There is no such requirement for subsequent TCBs indoes not conform, this selects theingress direction, nornext diffserv functional datapath element to handle traffic forany TCBthis data path. This RowPointer should point to an instance of one of: diffServClfrEntry diffServMeterEntry diffServActionEntry diffServAlgDropEntry diffServQEntry A value of zeroDotZero inthe egress direction."this attribute indicates no further Diffserv treatment is performed on traffic of Baker, Chan, Smith ExpiresJanuaryJune 2001 [Page24]55] Internet Draft Differentiated Services MIBJulyNovember 2000 this datapath. If the row pointed to does not exist, the treatment is as if this attribute contains a value of zero- DotZero." DEFVAL {0zeroDotZero } ::= {diffServClassifierEntry 6diffServMeterEntry 3 } diffServMeterSpecific OBJECT-TYPE SYNTAX RowPointer MAX-ACCESS read-create STATUS current DESCRIPTION "This indicates the behaviour of the meter by point- ing to an entry containing detailed parameters. Note that entries in that specific table must be managed explicitly. For example, diffServMeterSpecific may point to an entry in diffServTBMeterTable, which contains an instance of a single set of Token Bucket parameters." ::= { diffServMeterEntry 4 }diffServClassifierStatusdiffServMeterStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "The RowStatus variable controls the activation, deactivation, or deletion of aclassifier.meter. Any writable variable may be modified whether the row is active or notInService." ::= {diffServClassifierEntry 7diffServMeterEntry 5 }diffServClassifierNextFree-- -- Token Bucket Meter Table -- -- Each entry in the Token Bucket Meter Table parameterize -- a single token bucket. Multiple token buckets can be -- used together to parameterize multiple levels of -- conformance. -- -- Note that an entry in the Token Bucket Meter Table can -- be shared, pointed to, by multiple diffServMeterTable Baker, Chan, Smith Expires June 2001 [Page 56] Internet Draft Differentiated Services MIB November 2000 -- entries. -- diffServTBMeterNextFree OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS read-only STATUS current DESCRIPTION "This object yields a value when read that iscurrently-unusedcurrently unused for adiffServClassifierIddiffServTBMeterId instance. If a configuring system attempts to create a new row in thediffServClassifierTablediffServTBMeterTable using this value, that operation will fail if the value has, in themeantime,mean- time, been used to create another row that is currently valid." ::= {diffServObjects 1diffServMeter 3 }-- -- IP Six-Tuple Classification Table -- -- Classification based on 6 different fields in the IP -- header. This is intended to be IP-version-independent. -- diffServSixTupleClfrTablediffServTBMeterTable OBJECT-TYPE SYNTAX SEQUENCE OFDiffServSixTupleClfrEntryDiffServTBMeterEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION"A"This tableof IP Six-Tuple Classifier filter entriesenumerates a single set of token bucket meter parameters that a system may use toidentify IP traffic."police a stream of traffic. Such meters are modelled here as having a single rate and a single burst size." REFERENCE "[MODEL] section4.2.2"5.1" ::= {diffServTables 2diffServMeter 4 }diffServSixTupleClfrEntrydiffServTBMeterEntry OBJECT-TYPESYNTAX DiffServSixTupleClfrEntry MAX-ACCESS not-accessibleBaker, Chan, Smith ExpiresJanuaryJune 2001 [Page25]57] Internet Draft Differentiated Services MIBJulyNovember 2000 SYNTAX DiffServTBMeterEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "AnIP Six-Tuple Classifierentry that describes a singlefilter."set of token bucket meter parameters." INDEX {diffServSixTupleClfrIddiffServTBMeterId } ::= {diffServSixTupleClfrTablediffServTBMeterTable 1 }DiffServSixTupleClfrEntryDiffServTBMeterEntry ::= SEQUENCE {diffServSixTupleClfrIddiffServTBMeterId Unsigned32,diffServSixTupleClfrDstAddrType InetAddressType, diffServSixTupleClfrDstAddr InetAddress, diffServSixTupleClfrDstAddrMaskdiffServTBMeterType INTEGER, diffServTBMeterRate Unsigned32,diffServSixTupleClfrSrcAddrType InetAddressType, diffServSixTupleClfrSrcAddr InetAddress, diffServSixTupleClfrSrcAddrMaskdiffServTBMeterBurstSize BurstSize, diffServTBMeterInterval Unsigned32,diffServSixTupleClfrDscp Dscp, diffServSixTupleClfrProtocol INTEGER, diffServSixTupleClfrDstL4PortMin SixTupleClfrL4Port, diffServSixTupleClfrDstL4PortMax SixTupleClfrL4Port, diffServSixTupleClfrSrcL4PortMin SixTupleClfrL4Port, diffServSixTupleClfrSrcL4PortMax SixTupleClfrL4Port, diffServSixTupleClfrStatusdiffServTBMeterStatus RowStatus }diffServSixTupleClfrIddiffServTBMeterId OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS not-accessible STATUS current DESCRIPTION"A unique identifier for"An index that enumerates thefilter. Filters may be shared by multiple interfaces inTBMeter entries. The set of such identifiers spans thesame system.whole agent. Managers should obtain new values for row creation in this table by readingdiffServSixTupleClfrNextFree."diffServTBMeterNextFree." ::= {diffServSixTupleClfrEntrydiffServTBMeterEntry 1 }diffServSixTupleClfrDstAddrTypediffServTBMeterType OBJECT-TYPE SYNTAXInetAddressTypeINTEGER { Baker, Chan, Smith Expires June 2001 [Page 58] Internet Draft Differentiated Services MIB November 2000 other(1), -- not listed here tokenBucket(2), -- Simple Token Bucket avgRate(3), -- Average Rate srTCMBlind(4), -- srTCM, Color-blind srTCMAware(5), -- srTCM, Color-aware trTCMBlind(6), -- trTCM, Color-blind trTCMAware(7), -- trTCM, Color-aware tswTCM(8) -- tswTCM } MAX-ACCESS read-create STATUS current DESCRIPTION "The type ofIP destination address usedmeter using parameters specified by thisclassifier entry."TBMeter entry. Value of tokenBucket(2) indicates the use of Two Parameter Token Bucket Meter as described in [MODEL] section 5.2.3. Value of avgRate(3) indicates the use of Average Rate Meter as described in [MODEL] section 5.2.1. Value of srTCMBlind(4) and srTCMAware(5) indicates the use of Single Rate Three Color Marker Metering as defined by RFC 2697, with `Color Blind' and `Color Aware' mode as described by the RFC. Value of trTCMBlind(6) and trTCMAware(7) indicates the use of Two Rate Three Color Marker Metering as defined by RFC 2698, with `Color Blind' and `Color Aware' mode as described by the RFC. Value of tswTCM(8) indicates the use of Time Sliding Window Three Color Marker Metering as defined by RFC 2859." REFERENCE "[MODEL] section 5" ::= {diffServSixTupleClfrEntrydiffServTBMeterEntry 2 }diffServSixTupleClfrDstAddrdiffServTBMeterRate OBJECT-TYPE SYNTAXInetAddressUnsigned32 UNITS "kilobits per second" MAX-ACCESS read-createSTATUS currentBaker, Chan, Smith ExpiresJanuaryJune 2001 [Page26]59] Internet Draft Differentiated Services MIBJulyNovember 2000 STATUS current DESCRIPTION "TheIP address to match against the packet's destination IP address."token-bucket rate, in kilobits per second (kbps). This attribute is used for: 1. CIR in RFC 2697 for srTCM 2. PIR and CIR in FRC 2698 for trTCM 3. CTR and PTR in RFC 2859 for TSWTCM 4. AverageRate used in [MODEL] section 5." ::= {diffServSixTupleClfrEntrydiffServTBMeterEntry 3 }diffServSixTupleClfrDstAddrMaskdiffServTBMeterBurstSize OBJECT-TYPE SYNTAXUnsigned32BurstSize UNITS"bits""Bytes" MAX-ACCESS read-create STATUS current DESCRIPTION "Thelengthmaximum number of bytes in amask for the matching of the destination IP address. Masks are constructed by setting bitssingle transmission burst. This attribute is used for: 1. CBS and EBS insequence from the most-significant bit downwardsRFC 2697 fordiffServSixTupleClfrDstAddrMask bits length. All other bits in the mask, up to the number needed to fill the length of the address diffServSixTupleClfrDstAddr are cleared to zero. A zero bitsrTCM 2. CBS and PBS inthe mask then means that the corresponding bitFRC 2698 for trTCM 3. Burst Size used inthe address always matches." DEFVAL {0}[MODEL] section 5." ::= {diffServSixTupleClfrEntrydiffServTBMeterEntry 4 }diffServSixTupleClfrSrcAddrTypediffServTBMeterInterval OBJECT-TYPE SYNTAXInetAddressTypeUnsigned32 UNITS "microseconds" MAX-ACCESS read-create STATUS current DESCRIPTION "Thetype of IP source addresstime interval usedby this classifier entry."with the token bucket. For: 1. Average Rate Meter, [MODEL] section 5.2.1, - Delta. 2. Simple Token Bucket Meter, [MODEL] section 5.1, - time interval t. 3. RFC 2859 TSWTCM, - AVG_INTERVAL. 4. RFC 2697 srTCM, RFC 2698 trTCM, - token bucket update time interval." ::= {diffServSixTupleClfrEntrydiffServTBMeterEntry 5 }diffServSixTupleClfrSrcAddrdiffServTBMeterStatus OBJECT-TYPE SYNTAXInetAddressRowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "TheIP address to match againstRowStatus variable controls thesource IP addressactivation, deactivation, or deletion of a meter. Any writable Baker, Chan, Smith Expires June 2001 [Page 60] Internet Draft Differentiated Services MIB November 2000 variable may be modified whether the row is active or notInService." ::= { diffServTBMeterEntry 6 } -- -- Actions -- diffServAction OBJECT IDENTIFIER ::= { diffServMIBObjects 4 } -- -- The Action Table allows enumeration of the different -- types ofeach packet." ::= { diffServSixTupleClfrEntry 6 } diffServSixTupleClfrSrcAddrMaskactions to be applied to a traffic flow. -- diffServActionNextFree OBJECT-TYPE SYNTAX Unsigned32UNITS "bits"MAX-ACCESSread-createread-only STATUS current DESCRIPTION"The length of"This object yields amaskvalue when read that is currently unused for a diffServActionId instance. If a configuring system attempts to create a new row in thematching ofdiffServActionTable using this value, that opera- tion will fail if thesource IP address. Masks are constructed by setting bitsvalue has, insequence fromthemost-meantime, been used to create another row that is currently valid." ::= { diffServAction 1 } diffServActionTable OBJECT-TYPE SYNTAX SEQUENCE OF DiffServActionEntry Baker, Chan, Smith ExpiresJanuaryJune 2001 [Page27]61] Internet Draft Differentiated Services MIBJulyNovember 2000significant bit downwards for diffServSixTupleClfrSrcAddrMask bits length. All other bits in the mask, up to the number needed to fill the length of the address diffServSixTupleClfrSrcAddr are cleared to zero. A zero bit in the mask then means that the corresponding bit in the address always matches." DEFVAL {0} ::= { diffServSixTupleClfrEntry 7 } diffServSixTupleClfrDscp OBJECT-TYPE SYNTAX DscpMAX-ACCESSread-createnot-accessible STATUS current DESCRIPTION "ThevalueAction Table enumerates actions thatthe DSCP in the packet must havecan be per- formed tomatch this entry. A valuea stream of-1 indicates thattraffic. Multiple actions can be concatenated. For example, after marking aspecific DSCP value has not been defined and thus all DSCP valuesstream of traffic exiting from a meter, a device can then perform a count action of the conforming or non- conforming traffic. Specific actions areconsideredindicated by diffServAction- Specific which points to an entry of amatch." DEFVAL {-1}specific action type parameterizing the action in detail." REFERENCE "[MODEL] section 6." ::= {diffServSixTupleClfrEntry 8diffServAction 2 }diffServSixTupleClfrProtocoldiffServActionEntry OBJECT-TYPE SYNTAXINTEGER (0..255)DiffServActionEntry MAX-ACCESSread-createnot-accessible STATUS current DESCRIPTION"The IP protocol to match against the IPv4 protocol number"Each entry in thepacket. A valueaction table allows description ofzero means match all." DEFVAL {0}one specific action to be applied to traffic." INDEX { diffServActionId } ::= {diffServSixTupleClfrEntry 9diffServActionTable 1 }diffServSixTupleClfrDstL4PortMinDiffServActionEntry ::= SEQUENCE { diffServActionId Unsigned32, diffServActionNext RowPointer, diffServActionSpecific RowPointer, diffServActionType INTEGER, Baker, Chan, Smith Expires June 2001 [Page 62] Internet Draft Differentiated Services MIB November 2000 diffServActionStatus RowStatus } diffServActionId OBJECT-TYPE SYNTAXSixTupleClfrL4PortUnsigned32 MAX-ACCESSread-createnot-accessible STATUS current DESCRIPTION"The minimum value"An index that enumerates thelayer-4 destination port number inAction entries. The set of such identifiers spans thepacket must havewhole agent. Managers should obtain new values for row creation inorder to matchthisclassifier entry." DEFVAL {0}table by reading diffServActionNextFree." ::= {diffServSixTupleClfrEntry 10diffServActionEntry 1 }diffServSixTupleClfrDstL4PortMaxdiffServActionNext OBJECT-TYPE SYNTAXSixTupleClfrL4PortRowPointer MAX-ACCESS read-create STATUS current DESCRIPTION"The maximum value that the layer-4 destination port number in"This selects thepacket must have in ordernext diffserv functional datapath element tomatchhandle traffic for thisclassifier entry.data path. This RowPointer should point to an instance of one of: diffServClfrEntry diffServMeterEntry diffServActionEntry diffServAlgDropEntry diffServQEntry A valuemust be equalof zeroDotZero in this attribute indicates no further Diffserv treatment is performed on traffic of this datapath. If the row pointed toor greater thatdoes not exist, the treatment is as if this attribute contains a valuespecifiedof zero- DotZero." DEFVAL { zeroDotZero } ::= { diffServActionEntry 2 } diffServActionSpecific OBJECT-TYPE SYNTAX RowPointer Baker, Chan, Smith ExpiresJanuaryJune 2001 [Page28]63] Internet DraftDifferentiated Services MIB July 2000 for this entry in diffServSixTupleClfrDstL4PortMin." DEFVAL {65535} ::= { diffServSixTupleClfrEntry 11 } diffServSixTupleClfrSrcL4PortMin OBJECT-TYPE SYNTAX SixTupleClfrL4PortDifferentiated Services MIB November 2000 MAX-ACCESS read-create STATUS current DESCRIPTION"The minimum value that"A pointer to an object instance providing additional information for thelayer-4 source port number intype of action indicated by this action table entry. For thepacket must have in order to matchstandard actions defined by thisclassifier entry." DEFVAL {0}MIB module, this should point to one of the following: a diffServDscpMarkActEntry, a diffServCountActEntry. For other actions, it may point to an object instance defined in some other MIB." ::= {diffServSixTupleClfrEntry 12diffServActionEntry 3 }diffServSixTupleClfrSrcL4PortMaxdiffServActionType OBJECT-TYPE SYNTAXSixTupleClfrL4PortINTEGER { other(1), -- types not specified here specific(2), -- follow the Specific pointer absoluteDrop(3) -- disallow traffic } MAX-ACCESS read-create STATUS current DESCRIPTION"The maximum value that the layer-4 source port number in"Indicates thepacket must have in oder to match this classifier entry. This valuetype of action. The values specific(2) must beequalassociated with additional information, pointed toor greater thatby diffServActionSpecific, with the actual action type indicated by the object being pointed to. The valuespecified forabsoluteDrop(3) has no associated informa- tion and will have a diffServActionSpecific value of zeroDotZero. The use of other(1) is outside the scope of thisentrydefinition, although the diffServAc- tionSpecific pointer may be used indsSixTupleIpSrcL4PortMin." DEFVAL {65535}this case, to indicate other information." ::= {diffServSixTupleClfrEntry 13diffServActionEntry 4 }diffServSixTupleClfrStatusdiffServActionStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "The RowStatus variable controls the activation,deactivation,deactivation or deletion ofa classifier.an action element. Any writable variable may be modified whether the row is active ornotInService." ::= { diffServSixTupleClfrEntry 14 } diffServSixTupleClfrNextFreenotInService." ::= { diffServActionEntry 5 } Baker, Chan, Smith Expires June 2001 [Page 64] Internet Draft Differentiated Services MIB November 2000 -- -- DSCP Mark Action Table -- -- Rows of this table are pointed to by diffServActionSpecific -- to provide detailed parameters specific to the DSCP -- Mark action. -- -- A single entry in this table can be shared, pointed to, by -- multiple diffServActionTable entries, of same or different -- datapaths. -- diffServDscpMarkActNextFree OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS read-only STATUS current DESCRIPTION "This object yields a value when read that iscurrently-unusedcurrently unused for adiffServSixTupleClfrIddiffServDscpMarkActId instance. If a configuring system attempts to create a new row in thediffServSixTupleClfrTablediffServDscpMarkActTable using this value, that operation will fail if the value has, in the meantime, beenused to create another row that is currently valid." Baker, Chan, Smith Expires January 2001 [Page 29] Internet Draft Differentiated Services MIB July 2000 ::= { diffServObjects 2 } Baker, Chan, Smith Expires January 2001 [Page 30] Internet Draft Differentiated Services MIB July 2000 -- -- Meters -- -- This MIB includes definitions for a generic Meter -- Table as well as specific definitions for Token- -- Bucket Meters, as one example of possible meters. -- diffServMeterTable OBJECT-TYPE SYNTAX SEQUENCE OF DiffServMeterEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This table enumerates generic meters that a system may use to police a stream of traffic. The traffic stream to be metered is determined by the element(s) upstream of the meter i.e. by the object(s) that point to each entry in this table. This may include all traffic on an interface. Specific meter details are to be found in diffServMeterSpecific." REFERENCE "[MODEL] section 5.1" ::= { diffServTables 3 } diffServMeterEntry OBJECT-TYPE SYNTAX DiffServMeterEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entry in the meter table describing a single meter." INDEX { ifIndex, diffServMeterIfDirection, diffServMeterId } ::= { diffServMeterTable 1 } DiffServMeterEntry ::= SEQUENCE { diffServMeterIfDirection IfDirection, diffServMeterId Unsigned32, diffServMeterSucceedNext RowPointer, diffServMeterFailNext RowPointer, diffServMeterSpecific OBJECT IDENTIFIER, diffServMeterStatus RowStatus } diffServMeterIfDirection OBJECT-TYPE SYNTAX IfDirection MAX-ACCESS not-accessible STATUS current Baker, Chan, Smith Expires January 2001 [Page 31] Internet Draft Differentiated Services MIB July 2000 DESCRIPTION "Specifies the direction for which this meter entry applies on this interface."used to create another row that is currently valid." ::= {diffServMeterEntry 1diffServAction 3 }diffServMeterIddiffServDscpMarkActTable OBJECT-TYPE SYNTAXUnsigned32SEQUENCE OF DiffServDscpMarkActEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Thisidentifies a meter entry. Managers should obtain new valuestable enumerates specific DSCPs used forrow creation inmark- ing or remarking the DSCP field of IP packets. The entries of this table may be referenced byreading diffServMeterNextFree."a diffSer- Baker, Chan, Smith Expires June 2001 [Page 65] Internet Draft Differentiated Services MIB November 2000 vActionSpecific attribute." REFERENCE "[MODEL] section 6.1" ::= {diffServMeterEntry 2diffServAction 4 }diffServMeterSucceedNextdiffServDscpMarkActEntry OBJECT-TYPE SYNTAXRowPointerDiffServDscpMarkActEntry MAX-ACCESSread-createnot-accessible STATUS current DESCRIPTION"If the traffic does conform to the meter, this indicates the next datapath element to handle the traffic e.g. an Action or another Meter datapath element. The value zeroDotZero"An entry inthis variable indicates no further Diffserv treatment is performed on this traffic bythecurrent interfaceDSCP mark action table that describes a single DSCP used forthis interface direction. If the row pointed to does not exist, the meter element is considered inactive." DEFVALmarking." INDEX {zeroDotZerodiffServDscpMarkActId } ::= {diffServMeterEntry 3diffServDscpMarkActTable 1 }diffServMeterFailNextDiffServDscpMarkActEntry ::= SEQUENCE { diffServDscpMarkActId Unsigned32, diffServDscpMarkActDscp Dscp, diffServDscpMarkActStatus RowStatus } diffServDscpMarkActId OBJECT-TYPE SYNTAXRowPointerUnsigned32 MAX-ACCESSread-createnot-accessible STATUS current DESCRIPTION"If the traffic does not conform to the meter, this indicates the next datapath element to handle"An index that enumerates thetraffic e.g. anMark Actionor Meter datapath element.entries. Thevalue zeroDotZero in this variable indicates no further Diffserv treatment is performed on this traffic byset of such identifiers spans thecurrent interfacewhole agent. Managers should obtain new values forthis interface direction. If therowpointed to does not exist, the meter element is considered inactive." DEFVAL { zeroDotZero }creation in this table by reading diffServDscpMarkActNextFree." ::= {diffServMeterEntry 4diffServDscpMarkActEntry 1 }diffServMeterSpecific OBJECT-TYPEBaker, Chan, Smith ExpiresJanuaryJune 2001 [Page32]66] Internet Draft Differentiated Services MIBJulyNovember 2000 diffServDscpMarkActDscp OBJECT-TYPE SYNTAXOBJECT IDENTIFIERDscp MAX-ACCESSread-createread-only STATUS current DESCRIPTION"This indicates the behaviour"The DSCP that this Action uses for marking/remarking traffic. Note that a DSCP value of -1 is not permit- ted in this table. It is quite possible that themeter by pointingonly packets subject toa table containing detailed parameters.this Action are already marked with this DSCP. Note also thatentriesDiffserv may result inthat specific table must be managed explicitly. One example ofpacket remarking both on ingress to avalid objectnet- work and on egress from it and it is quite possible that ingress and egress wouldbe diffServTBMeterTable, whose entries are indexed byoccur in the samevariables as this table, for describing an instance of a token-bucket meter."router." ::= {diffServMeterEntry 5diffServDscpMarkActEntry 2 }diffServMeterStatusdiffServDscpMarkActStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "The RowStatus variable controls the activation, deactivation, or deletion ofa meter.this entry. Any writable variable may be modified whether the row is active or notInService." ::= {diffServMeterEntry 6diffServDscpMarkActEntry 3 }diffServMeterNextFree-- -- Count Action Table -- -- Due to the fact that the MIB structure allows multiple -- cascading diffServActionEntry be used to describe -- multiple actions for a datapath, the counter became an -- optional action type. In normal implementation, a -- datapath either have counters or it doesn't, it is not -- an element the management entity can add or remove. -- The management entity can choose to read the counter or -- not. Hence it is recommended for implementation that -- have counters to always configure the count action as Baker, Chan, Smith Expires June 2001 [Page 67] Internet Draft Differentiated Services MIB November 2000 -- the first of multiple actions, for example before the -- the absolute drop action. -- diffServCountActNextFree OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS read-only STATUS current DESCRIPTION "This object yields a value when read that iscurrently-unusedcurrently unused for adiffServMeterIddiffServCountActId instance. If a configuring system attempts to create a new row in thediffServMeterTablediffServCountActTable using this value, that operation will fail if the value has, in the meantime, been used to create another row that is currently valid." ::= {diffServObjects 3diffServAction 5 }-- -- Token-Bucket Meter Table -- diffServTBMeterTablediffServCountActTable OBJECT-TYPE SYNTAX SEQUENCE OFDiffServTBMeterEntryDiffServCountActEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This tableenumerates specific token-bucket meters that a system may use to policecontains counters for all the traffic passing through an action element." REFERENCE "[MODEL] section 6.4" ::= { diffServAction 6 } diffServCountActEntry OBJECT-TYPE SYNTAX DiffServCountActEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entry in the count action table describes astreamsin- gle set oftraffic. Such meters are modelled here as having a single rate and a burst size.traffic counters." INDEX { diffServCountActId } ::= { diffServCountActTable 1 } DiffServCountActEntry ::= SEQUENCE { diffServCountActId Unsigned32, diffServCountActOctets Counter32, diffServCountActHCOctets Counter64, diffServCountActPkts Counter32, Baker, Chan, Smith ExpiresJanuaryJune 2001 [Page33]68] Internet Draft Differentiated Services MIBJulyNovember 2000Multiple meter elements may be logically cascaded using their diffServMeterSucceedNext pointers if a multi-rate token bucket is needed. One example of this might be for an AF PHB implementation that used two-rate meters. Such cascading of meter elements of specific type of token-bucket indicates forwarding behaviourdiffServCountActHCPkts Counter64, diffServCountActDiscontTime TimeStamp, diffServCountActStatus RowStatus } diffServCountActId OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS not-accessible STATUS current DESCRIPTION "An index thatis functionally equivalent to a multi- rate meter:enumerates thesequential natureCount Action entries. The set of such identifiers spans therepresentation is merely a notational conveniencewhole agent. Managers should obtain new values forthis MIB. Entriesrow creation in this tableshare indexing with a parent diffServMeterEntry although they must be managed (e.g. created/deleted)byexplicit management action, independentlyreading diffServCountActNextFree." ::= { diffServCountActEntry 1 } diffServCountActOctets OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of octets at the Action datapath element. On high speed devices, this object implements the least significant 32 bits of diffServCountActHCOc- tets. Discontinuities in theassociatedvalue ofdiffServMeterSpecific." REFERENCE "[MODEL] section 5.1.3"this counter can occur at re-initialization of the management system and at other times as indicated by the value of diffServCountActDiscontTime for this entry." ::= {diffServTables 4diffServCountActEntry 2 }diffServTBMeterEntryBaker, Chan, Smith Expires June 2001 [Page 69] Internet Draft Differentiated Services MIB November 2000 diffServCountActHCOctets OBJECT-TYPE SYNTAXDiffServTBMeterEntryCounter64 MAX-ACCESSnot-accessibleread-only STATUS current DESCRIPTION"An entry that describes a single token-bucket meter, indexed by"The number of octets at thesame variablesAction datapath element. This object should be used on high speed interfaces. Discontinuities in the value of this counter can occur at re-initialization of the management system and at other times asa diffServMeterEntry." INDEX { ifIndex, diffServMeterIfDirection, diffServMeterId } ::= { diffServTBMeterTable 1 } DiffServTBMeterEntryindicated by the value of diffServCountActDiscontTime for this entry." ::=SEQUENCE{diffServTBMeterRate Unsigned32, diffServTBMeterBurstSize BurstSize diffServTBMeterStatus RowStatusdiffServCountActEntry 3 }diffServTBMeterRatediffServCountActPkts OBJECT-TYPE SYNTAXUnsigned32 UNITS "kilobits per second"Counter32 MAX-ACCESSread-createread-only STATUS current DESCRIPTION "Thetoken-bucket rate,number of packets at the Action datapath ele- ment. On high speed devices, this object implements the least significant 32 bits of diffServCoun- tActHCPkts. Discontinuities inkilobits per second (kbps)."the value of this counter can occur at re-initialization of the management system and at other times as indicated by the value of diffServCountActDiscontTime for this entry." ::= {diffServTBMeterEntry 1diffServCountActEntry 4 }diffServTBMeterBurstSizediffServCountActHCPkts OBJECT-TYPE SYNTAXBurstSize UNITS "Bytes"Counter64 MAX-ACCESSread-createread-only Baker, Chan, Smith ExpiresJanuaryJune 2001 [Page34]70] Internet Draft Differentiated Services MIBJulyNovember 2000 STATUS current DESCRIPTION "Themaximum numbernumber of packets at the Action datapath ele- ment. This object should be used on high speed interfaces. Discontinuities in the value of this counter can occur at re-initialization of the management system and at other times as indicated by the value of diffServCountActDiscontTime for this entry." ::= { diffServCountActEntry 5 } diffServCountActDiscontTime OBJECT-TYPE SYNTAX TimeStamp MAX-ACCESS read-only STATUS current DESCRIPTION "The value ofbytes in a single transmission burst. The interval oversysUpTime on the most recent occasion at which any one or more of this entry's counters suffered a discontinuity. If no such discontinuities have occurred since theburst is to be measured can be derived as diffServTBMeterBurstSize*8*1000/diffServTBMeterRate."last re-initialization of the local management subsystem, then this object contains a zero value." ::= {diffServTBMeterEntry 2diffServCountActEntry 6 }diffServTBMeterStatusdiffServCountActStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "The RowStatus variable controls the activation, deactivation, or deletion ofa meter.this entry. Any writable variable may be modified whether the row is active or notInService." ::= {diffServTBMeterEntry 3diffServCountActEntry 7 } Baker, Chan, Smith ExpiresJanuaryJune 2001 [Page35]71] Internet Draft Differentiated Services MIBJulyNovember 2000 -- --Actions -- -- -- The ActionAlgorithmic Drop Tableallows enumeration of the different -- types of actions to be applied to a traffic flow.--diffServActionTablediffServAlgDrop OBJECT IDENTIFIER ::= { diffServMIBObjects 5 } diffServAlgDropNextFree OBJECT-TYPE SYNTAXSEQUENCE OF DiffServActionEntryUnsigned32 MAX-ACCESSnot-accessibleread-only STATUS current DESCRIPTION"The Action Table enumerates actions that can be performed to a stream of traffic. Multiple actions can be concatenated. For example, after marking"This object yields astream of traffic exiting fromvalue when read that is currently unused for ameter,diffServAlgDropId instance. If adevice can then performconfiguring system attempts to create acount action ofnew row in theconforming or non-conforming traffic. Specific actions are indicated by diffServActionSpecific which points to another object which describesdiffServAlgDropTable using this value, that operation will fail if theactionvalue has, infurther detail."the mean- time, been used to create another row that is currently valid." ::= { diffServAlgDrop 1 } diffServAlgDropTable OBJECT-TYPE SYNTAX SEQUENCE OF DiffServAlgDropEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "The algorithmic drop table contains entries describ- ing an element that drops packets according to some algorithm." REFERENCE "[MODEL] section6."7.1.3" ::= {diffServTables 5diffServAlgDrop 2 }diffServActionEntrydiffServAlgDropEntry OBJECT-TYPE SYNTAXDiffServActionEntryDiffServAlgDropEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entryin the action table describingdescribes a process that drops packets according to some algorithm. Further details of theactions appliedalgorithm type are totraffic arriving at its input."be found in diffServAlgDropType and with more detail parameter entry pointed to by diffServAlgDropSpecific when necessary." INDEX {ifIndex, diffServActionIfDirection, diffServActionIddiffServAlgDropId } ::= {diffServActionTablediffServAlgDropTable 1 }DiffServActionEntry ::= SEQUENCE { diffServActionIfDirection IfDirection, diffServActionId Unsigned32, diffServActionNext RowPointer, diffServActionSpecific OBJECT IDENTIFIER, diffServActionStatus RowStatus } diffServActionIfDirection OBJECT-TYPEBaker, Chan, Smith ExpiresJanuaryJune 2001 [Page36]72] Internet Draft Differentiated Services MIBJulyNovember 2000SYNTAX IfDirection MAX-ACCESS not-accessible STATUS current DESCRIPTION "Specifies the direction for which this action entry applies on this interface."DiffServAlgDropEntry ::= SEQUENCE {diffServActionEntry 1diffServAlgDropId Unsigned32, diffServAlgDropType INTEGER, diffServAlgDropNext RowPointer, diffServAlgDropQMeasure RowPointer, diffServAlgDropQThreshold Unsigned32, diffServAlgDropSpecific RowPointer, diffServAlgDropOctets Counter32, diffServAlgDropHCOctets Counter64, diffServAlgDropPkts Counter32, diffServAlgDropHCPkts Counter64, diffServAlgDropStatus RowStatus }diffServActionIddiffServAlgDropId OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS not-accessible STATUS current DESCRIPTION"This identifies the action entry. Managers should obtain new values for row creation in this table by reading diffServActionNextFree." ::= { diffServActionEntry 2 } diffServActionNext OBJECT-TYPE SYNTAX RowPointer MAX-ACCESS read-create STATUS current DESCRIPTION "The Next pointer indicates the next datapath element to handle"An index that enumerates thetraffic. For example, a queue datapath element.Algorithmic Dropper entries. Thevalue zeroDotZero in this variable indicates no further DiffServ treatment is performed on this flow by the current interface for this interface direction. If the row pointed to does not exist,set of such identifiers spans theaction element is considered inactive." DEFVAL { zeroDotZero } ::= { diffServActionEntry 3 } diffServActionSpecific OBJECT-TYPE SYNTAX OBJECT IDENTIFIER MAX-ACCESS read-create STATUS current DESCRIPTION "A pointer to an object instance providing additional informationwhole agent. Managers should obtain new values forthe type of action indicated byrow creation in thisactiontableentry. For the standard actions definedbythis MIB module, this should point to one of the following: a diffServDscpMarkActEntry, a diffServCountActEntry, the diffServAbsoluteDropAction OID. For other actions, it may point to an object instance defined in some other MIB."reading diffServAlgDrop- NextFree." ::= {diffServActionEntry 4diffServAlgDropEntry 1 } diffServAlgDropType OBJECT-TYPE SYNTAX INTEGER { other(1), tailDrop(2), headDrop(3), randomDrop(4) Baker, Chan, Smith ExpiresJanuaryJune 2001 [Page37]73] Internet Draft Differentiated Services MIBJulyNovember 2000diffServActionStatus OBJECT-TYPE SYNTAX RowStatus} MAX-ACCESS read-create STATUS current DESCRIPTION "TheRowStatus variable controls the activation, deactivation or deletiontype ofan action element. Any writable variable may be modified whether the row is active or notInService." ::= { diffServActionEntry 5 } diffServActionNextFree OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS read-only STATUS current DESCRIPTION "This object yields aalgorithm used by this dropper. A valuewhen readof tailDrop(2) or headDrop(3) represents an algorithm that iscurrently-unused for a diffServActionId instance. If a configuring system attempts to create a new rowcompletely specified by this MIB. A value of other(1) requires further specification in some other MIB module. The tailDrop(2) algorithm is described as follows: diffServAlgDropQThreshold represents thediffServActionTable using this value, that operationdepth of the queue, pointed to by diffServAlgDropQMeasure, at which all newly arriving packets willfailbe dropped. The headDrop(3) algorithm is described as follows: if a packet arrives when thevalue has, incurrent depth of themeantime, been usedqueue, pointed tocreate another row thatby diffServAlgDropQMeasure, is at diffSer- vAlgDropQThreshold, packets currentlyvalid." ::= { diffServObjects 4 } -- DSCP Mark Action Table -- -- Rowsat the head ofthis tablethe queue arepointed to by diffServActiondropped to-- provide detailed parameters specificmake room for the new packet to be enqueued at theDSCP -- Mark action. diffServDscpMarkActTable OBJECT-TYPE SYNTAX SEQUENCE OF DiffServDscpMarkActEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This table enumerates specific DSCPs used for markingtail of the queue. The randomDrop(4) algorithm is described as follows: on packet arrival, an algorithm is executed which may randomly drop the packet, orremarkingdrop other packet(s) from theDSCP field of IP packets.queue in its place. Theentriesspecifics ofthis tablethe algorithm may bereferenced byproprietary. For this algorithm, diffServAlgDropSpecific points to adiffServActionSpecific attributediffServRandom- DropEntry thatpointsdescribes the algorithm. For this algorithm, diffServAlgQThreshold is understood todiffServDscpMarkActTable." REFERENCE "[MODEL] section 6.1"be the absolute maximum size of the queue and additional parameters are described in diffServRandomDropTable." ::= {diffServTables 6diffServAlgDropEntry 2 }diffServDscpMarkActEntry OBJECT-TYPE SYNTAX DiffServDscpMarkActEntry MAX-ACCESS not-accessible STATUS currentBaker, Chan, Smith ExpiresJanuaryJune 2001 [Page38]74] Internet Draft Differentiated Services MIBJulyNovember 2000 diffServAlgDropNext OBJECT-TYPE SYNTAX RowPointer MAX-ACCESS read-create STATUS current DESCRIPTION"An entry"This selects the next diffserv functional datapath element to handle traffic for this data path. This RowPointer should point to an instance of one of: diffServClfrEntry diffServMeterEntry diffServActionEntry diffServAlgDropEntry diffServQEntry A value of zeroDotZero in this attribute indicates no further Diffserv treatment is performed on traffic of this datapath. If theDSCP mark action table that describesrow pointed to does not exist, the treatment is as if this attribute contains asingle DSCP used for marking." INDEX { diffServDscpMarkActDscp } ::= { diffServDscpMarkActTable 1 } DiffServDscpMarkActEntryvalue of zero- DotZero." ::=SEQUENCE{diffServDscpMarkActDscp DscpdiffServAlgDropEntry 3 }diffServDscpMarkActDscpdiffServAlgDropQMeasure OBJECT-TYPE SYNTAXDscpRowPointer MAX-ACCESSread-onlyread-create STATUS current DESCRIPTION"The DSCP that this Action uses for marking/remarking traffic. Note that a DSCP value of -1 is not permitted"Points to an entry inthis table. It is quite possible thattheonly packets subjectdiffServQTable tothis Action are already marked with this DSCP. Note alsoindicate the queue thatDiffserv may result in packet remarking both on ingress toanetwork and on egress from it and itdrop algorithm isquite possible that ingress and egress would occur into monitor when deciding whether to drop a packet. If thesame router."row pointed to does not exist, the algorithmic dropper element is considered inactive." ::= {diffServDscpMarkActEntry 1diffServAlgDropEntry 4 }-- -- Count Action Table -- diffServCountActTablediffServAlgDropQThreshold OBJECT-TYPE SYNTAXSEQUENCE OF DiffServCountActEntryUnsigned32 UNITS "Bytes" MAX-ACCESSnot-accessibleread-create Baker, Chan, Smith Expires June 2001 [Page 75] Internet Draft Differentiated Services MIB November 2000 STATUS current DESCRIPTION"This table contains counters for all"A threshold on thetraffic passing through andepth in bytes of the queue being measured at which a trigger is generated to the drop- ping algorithm. For the tailDrop(2) or headDrop(3) algorithms, this represents the depth of the queue, pointed to by diffServAlgDropQMeasure, at which the drop actionelement." REFERENCE "[MODEL] section 6.5"will take place. Other algorithms will need to define their own semantics for this threshold." ::= {diffServTables 7diffServAlgDropEntry 5 }diffServCountActEntrydiffServAlgDropSpecific OBJECT-TYPE SYNTAXDiffServCountActEntryRowPointer MAX-ACCESSnot-accessibleread-create STATUS current DESCRIPTION"An entry in the count action"Points to a table entry thatdescribesprovides further detail regarding asingle set of traffic counters.drop algorithm. Entriesinwith diffServAlgDropType equal to other(1) may have this point to a tableshare indexing with Baker, Chan, Smith Expires January 2001 [Page 39] Internet Draft Differentiated Services MIB July 2000 thosedefined inthe base diffServActionTable although theyanother MIB module. Entries with diffServAlgDropType equal to random- Drop(4) mustbe managed (e.g. created/deleted) by explicit management action, independently ofhave this point to an entry in diffSer- vRandomDropTable. For all other algorithms, this should take theassociatedvalueof diffServActionSpecific." INDEX { ifIndex, diffServActionIfDirection, diffServActionId } ::= { diffServCountActTable 1 } DiffServCountActEntryzeroDotzero." ::=SEQUENCE{diffServCountActOctets Counter32, diffServCountActHCOctets Counter64, diffServCountActPkts Counter32, diffServCountActHCPkts Counter64, diffServCountActDiscontTime TimeStamp, diffServCountActStatus RowStatusdiffServAlgDropEntry 6 }diffServCountActOctetsdiffServAlgDropOctets OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of octetsat the Action datapath element.that have been dropped by this drop process. On high speed devices, this object implements the least significant 32 bits ofdiffServcountActHCOctets.diffSer- vAlgDropHCOctets. Discontinuities in the value of this counter can occur atre- initializationre-initialization of the management system Baker, Chan, Smith Expires June 2001 [Page 76] Internet Draft Differentiated Services MIB November 2000 and at other times as indicated by the value ofdiffServCountActDiscontTime forifCounterDiscontinuityTime appropriate to thisentry."inter- face." ::= {diffServCountActEntry 1diffServAlgDropEntry 7 }diffServCountActHCOctetsdiffServAlgDropHCOctets OBJECT-TYPE SYNTAX Counter64 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of octetsat the Action datapath element.that have been dropped by this drop process. This object should be used on high speed interfaces. Discontinuities in the value of this counter can occur atre- initializationre-initialization of the management system and at other times as indicated by the value ofdiffServCountActDiscontTime forifCounterDiscontinuityTime appropriate to thisentry."inter- face." ::= {diffServCountActEntry 2diffServAlgDropEntry 8 }diffServCountActPktsdiffServAlgDropPkts OBJECT-TYPE SYNTAX Counter32Baker, Chan, Smith Expires January 2001 [Page 40] Internet Draft Differentiated Services MIB July 2000MAX-ACCESS read-only STATUS current DESCRIPTION "The number of packetsat the Action datapath element.that have been dropped by this drop process. On high speed devices, this object implements the least significant 32 bits ofdiffServcountActHCPkts.diffSer- vAlgDropHCPkts. Discontinuities in the value of this counter can occur atre- initializationre-initialization of the management system Baker, Chan, Smith Expires June 2001 [Page 77] Internet Draft Differentiated Services MIB November 2000 and at other times as indicated by the value ofdiffServCountActDiscontTime forifCounterDiscontinuityTime appropriate to thisentry."inter- face." ::= {diffServCountActEntry 3diffServAlgDropEntry 9 }diffServCountActHCPktsdiffServAlgDropHCPkts OBJECT-TYPE SYNTAX Counter64 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of packetsat the Action datapath element.that have been dropped by this drop process. This object should be used on high speed interfaces. Discontinuities in the value of this counter can occur atre- initializationre-initialization of the management system and at other times as indicated by the value ofdiffServCountActDiscontTime for this entry." ::= { diffServCountActEntry 4 } diffServCountActDiscontTime OBJECT-TYPE SYNTAX TimeStamp MAX-ACCESS read-only STATUS current DESCRIPTION "The value of sysUpTime on the most recent occasion at which any one or more of this entry's counters suffered a discontinuity. If no such discontinuities have occurred since the last re- initialization of the local management subsystem, thenifCounterDiscontinuityTime appropriate to thisobject contains a zero value."inter- face." ::= {diffServCountActEntry 5diffServAlgDropEntry 10 }diffServCountActStatusdiffServAlgDropStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "The RowStatus variable controls the activation, deactivation, or deletion of this entry. Any writable variable may be modified whether the row is active or notInService."Baker, Chan, Smith Expires January 2001 [Page 41] Internet Draft Differentiated Services MIB July 2000 ::= { diffServCountActEntry 6 } diffServAbsoluteDropAction OBJECT-IDENTITY STATUS current DESCRIPTION "This object identifier may be used as the value of a diffServActionSpecific pointer in order to indicate that all packets following this path are to be dropped unconditionally at this point. It is likely, but not required, that this action will be preceded by a counter action."::= {diffServObjects 6diffServAlgDropEntry 11 } Baker, Chan, Smith ExpiresJanuaryJune 2001 [Page42]78] Internet Draft Differentiated Services MIBJulyNovember 2000 -- --AlgorithmicRandom Drop Table --diffServAlgDropTablediffServRandomDropNextFree OBJECT-TYPE SYNTAXSEQUENCE OF DiffServAlgDropEntryUnsigned32 MAX-ACCESSnot-accessibleread-only STATUS current DESCRIPTION"The algorithmic drop table contains entries describing an element"This object yields a value when read thatdrops packets accordingis currently unused for a diffServRandomDropId instance. If a configuring system attempts tosome algorithm." REFERENCE "[MODEL] section 7.1.3" ::= { diffServTables 8 } diffServAlgDropEntry OBJECT-TYPE SYNTAX DiffServAlgDropEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entry describescreate aprocessnew row in the diffServRandomDropTable using this value, thatdrops packets according to some algorithm. Further details ofoperation will fail if thealgorithm type are to be foundvalue has, indiffServAlgDropType and may be pointed to by diffServAlgDropSpecific." INDEX { ifIndex, diffServAlgDropIfDirection, diffServAlgDropId } ::= { diffServAlgDropTable 1 } DiffServAlgDropEntry ::= SEQUENCE { diffServAlgDropIfDirection IfDirection, diffServAlgDropId Unsigned32, diffServAlgDropType INTEGER, diffServAlgDropNext RowPointer, diffServAlgDropQMeasure RowPointer, diffServAlgDropQThreshold Unsigned32, diffServAlgDropSpecific OBJECT IDENTIFIER, diffServAlgDropOctets Counter32, diffServAlgDropHCOctets Counter64, diffServAlgDropPkts Counter32, diffServAlgDropHCPkts Counter64, diffServAlgDropStatus RowStatus } diffServAlgDropIfDirection OBJECT-TYPE SYNTAX IfDirection MAX-ACCESS not-accessible STATUS current Baker, Chan, Smith Expires January 2001 [Page 43] Internet Draft Differentiated Services MIB July 2000 DESCRIPTION "Specifiesthedirection for which this algorithmic dropper entry applies on this interface."mean- time, been used to create another row that is currently valid." ::= {diffServAlgDropEntry 1diffServAlgDrop 3 }diffServAlgDropIddiffServRandomDropTable OBJECT-TYPE SYNTAXUnsigned32SEQUENCE OF DiffServRandomDropEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION"This identifies the"The random dropaction entry. Managers should obtain new values for row creationtable contains entries describing a process that drops packets randomly. Entries in this table is intended to be pointed to byreading diffServAlgDropNextFree."diffSer- vAlgDropSpecific." REFERENCE "[MODEL] section 7.1.3" ::= {diffServAlgDropEntry 2diffServAlgDrop 4 }diffServAlgDropTypediffServRandomDropEntry OBJECT-TYPE SYNTAXINTEGER { other(1), tailDrop(2), headDrop(3), randomDrop(4) }DiffServRandomDropEntry MAX-ACCESSread-createnot-accessible STATUS current DESCRIPTION"The type of algorithm used by this dropper. A value of tailDrop(2) or headDrop(3) represents an algorithm that is completely specified by this MIB. A value of other(1) requires further specification in some other MIB module. The tailDrop(2) algorithm is described as follows: diffServAlgDropQThreshold represents the depth of the queue diffServAlgDropQMeasure at which all newly arriving packets will be dropped. The headDrop(3) algorithm is described as follows: if a packet arrives when the current depth of the queue diffServAlgDropQMeasure is at diffServAlgDropQThreshold, packets currently at the head of the queue are dropped to make room for the new packet to be enqueued at the tail of the queue. The randomDrop(4) algorithm is described as follows: on packet arrival, an algorithm is executed which may randomly drop the packet, or drop other packet(s) from the queue in its place. The specifics of the algorithm may be proprietary. For this algorithm, an associated diffServRandomDropEntry is indicated by pointing diffServAlgDropSpecific at the diffServRandomDropTable. The relevant"An entryindescribes a process thattable is selected by the common indexing of the two tables. For this algorithm, diffServAlgQThreshold is understooddrops packets according tobe the absolute maximum size of the queue and additional parameters are described ina random algorithm." INDEX { diffServRandomDropId } Baker, Chan, Smith ExpiresJanuaryJune 2001 [Page44]79] Internet Draft Differentiated Services MIBJulyNovember 2000diffServRandomDropTable."::= {diffServAlgDropEntry 3diffServRandomDropTable 1 }diffServAlgDropNext OBJECT-TYPE SYNTAX RowPointer MAX-ACCESS read-create STATUS current DESCRIPTION "The Next pointer indicates the next datapath element to handle the traffic e.g. a queue datapath element. The value zeroDotZero in this variable indicates no further DiffServ treatment is performed on this flow by the current interface for this interface direction. If the row pointed to does not exist, the algorithmic dropper element is considered inactive."DiffServRandomDropEntry ::= SEQUENCE {diffServAlgDropEntry 4diffServRandomDropId Unsigned32, diffServRandomDropMinThreshBytes Unsigned32, diffServRandomDropMinThreshPkts Unsigned32, diffServRandomDropMaxThreshBytes Unsigned32, diffServRandomDropMaxThreshPkts Unsigned32, diffServRandomDropInvProbMax Unsigned32, diffServRandomDropInvWeight Unsigned32, diffServRandomDropSamplingRate Unsigned32, diffServRandomDropStatus RowStatus }diffServAlgDropQMeasurediffServRandomDropId OBJECT-TYPE SYNTAXRowPointerUnsigned32 MAX-ACCESSread-createnot-accessible STATUS current DESCRIPTION"Points to an entry in the diffServQueueTable to indicate the queue"An index thata drop algorithm is to monitor when deciding whether to drop a packet. Ifenumerates therow pointed to does not exist,Random Drop entries. The set of such identifiers spans thealgorithmic dropper element is considered inactive."whole agent. Managers should obtain new values for row creation in this table by reading diffServRandomDropNextFree." ::= {diffServAlgDropEntry 5diffServRandomDropEntry 1 }diffServAlgDropQThresholddiffServRandomDropMinThreshBytes OBJECT-TYPE SYNTAX Unsigned32 UNITS"Bytes""bytes" MAX-ACCESS read-create STATUS current DESCRIPTION"A threshold on the"The average queue depth inbytes of the queue being measured atbytes, beyond which traffic has atrigger is generated to the dropping algorithm. For the tailDrop(2) or headDrop(3) algorithms,non-zero probability of being dropped. Changes in thisrepresentsvariable may or may not be reflected in thedepthreported value ofthe queue diffServAlgDropQMeasure at which the drop action will take place. Other algorithms will need to define their own semantics for this threshold."diffServRandomDrop- MinThreshPkts." ::= {diffServAlgDropEntry 6diffServRandomDropEntry 2 }diffServAlgDropSpecificdiffServRandomDropMinThreshPkts OBJECT-TYPE SYNTAXOBJECT IDENTIFIERUnsigned32 UNITS "packets" MAX-ACCESS read-create STATUS current Baker, Chan, Smith ExpiresJanuaryJune 2001 [Page45]80] Internet Draft Differentiated Services MIBJulyNovember 2000STATUS currentDESCRIPTION"Points to a table (not an entry in the table) defined elsewhere that provides further detail regarding a drop algorithm. Entries"The average queue depth insuchpackets, beyond which traffic has atable are indexed by the same variables as this diffServAlgDropEntry but note that those entries must be managed independentlynon-zero probability ofthosebeing dropped. Changes in thistable. Entries with diffServAlgDropType equal to other(1)variable mayhave this point to a table definedor may not be reflected inanother MIB module. Entries with diffServAlgDropType equal to randomDrop(4) must have this point to diffServRandomDropTable. For all other algorithms, this should takethe reported valuezeroDotzero."of diffServRandomDropMinThresh- Bytes." ::= {diffServAlgDropEntry 7diffServRandomDropEntry 3 }diffServAlgDropOctetsdiffServRandomDropMaxThreshBytes OBJECT-TYPE SYNTAXCounter32Unsigned32 UNITS "bytes" MAX-ACCESSread-onlyread-create STATUS current DESCRIPTION "Thenumber of octets that have been dropped by this drop process. On high speed devices, this object implements the least significant 32 bits of diffServAlgDropHCOctets. Discontinuities in the value of this counter can occur at re- initialization of the management system and at other times asaverage queue depth beyond which traffic has a probability indicated bythe value of ifCounterDiscontinuityTime appropriate to this interface." ::= { diffServAlgDropEntry 8 } diffServAlgDropHCOctets OBJECT-TYPE SYNTAX Counter64 MAX-ACCESS read-only STATUS current DESCRIPTION "The numberdiffServRandomDropInvProbMax ofoctets that have beenbeing droppedbyor marked. Note that thisdrop process. This object should be used on high speed interfaces. Discontinuities indiffers from thevalue ofphysical queue limit, which is stored in diffServAlgDropQThreshold. Changes in thiscounter can occur at re- initialization of the management system and at other times as indicated byvariable may or may not be reflected in the reported value ofifCounterDiscontinuityTime appropriate to this interface."diffServRandomDropMaxThreshPkts." ::= {diffServAlgDropEntry 9diffServRandomDropEntry 4 }diffServAlgDropPktsdiffServRandomDropMaxThreshPkts OBJECT-TYPE SYNTAX Unsigned32 UNITS "packets" MAX-ACCESS read-create STATUS current DESCRIPTION "The average queue depth beyond which traffic has a probability indicated by diffServRandomDropInvProbMax of being dropped or marked. Note that this differs Baker, Chan, Smith ExpiresJanuaryJune 2001 [Page46]81] Internet Draft Differentiated Services MIBJulyNovember 2000 from the physical queue limit, which is stored in diffServAlgDropQThreshold. Changes in this variable may or may not be reflected in the reported value of diffServRandomDropMaxThreshBytes." ::= { diffServRandomDropEntry 5 } diffServRandomDropInvProbMax OBJECT-TYPE SYNTAXCounter32Unsigned32 MAX-ACCESSread-onlyread-create STATUS current DESCRIPTION "Thenumber of packets that have been dropped by thisworst case random dropprocess. On high speed devices, this object implementsprobability, expressed as theleast significant 32 bitsinverse ofdiffServAlgDropHCPkts. Discontinuities inthevaluedrop probability. With special case ofthis counter can occur at re- initializationthe value zero meaning zero probability of drop. For example, if every packet may be dropped in themanagement system and at other times as indicated byworst case (100%), this has the value ofifCounterDiscontinuityTime appropriate to this interface."4,294,967,295." ::= {diffServAlgDropEntry 10diffServRandomDropEntry 6 }diffServAlgDropHCPktsdiffServRandomDropInvWeight OBJECT-TYPE SYNTAXCounter64Unsigned32 MAX-ACCESSread-onlyread-create STATUS current DESCRIPTION "Thenumberweighting ofpackets that have been dropped by this drop process. This object should be used on high speed interfaces. Discontinuitiespast history in affecting the cal- culation of the current queue average. The moving average of the queue depth uses the inverse of this value as the factor for the new queue depth, and one minus that inverse as the factor for the historical average. Baker, Chan, Smith Expires June 2001 [Page 82] Internet Draft Differentiated Services MIB November 2000 Implementations may choose to limit the acceptable set of values to a specified set, such as powers ofthis counter can occur at re- initialization2." ::= { diffServRandomDropEntry 7 } diffServRandomDropSamplingRate OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS read-create STATUS current DESCRIPTION "The number ofthe management system and at othertimesas indicated byper second the queue is sampled for queue average calculation. A value ofifCounterDiscontinuityTime appropriate to this interface."zero means the queue is sampled approximately each time a packet is enqueued (or dequeued)." ::= {diffServAlgDropEntry 11diffServRandomDropEntry 8 }diffServAlgDropStatusdiffServRandomDropStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "The RowStatus variable controls the activation, deactivation, or deletion of this entry. Any writable variable may be modified whether the row is active or notInService." ::= {diffServAlgDropEntry 12diffServRandomDropEntry 9 }diffServAlgDropNextFreeBaker, Chan, Smith Expires June 2001 [Page 83] Internet Draft Differentiated Services MIB November 2000 -- -- Queue Table -- diffServQueue OBJECT IDENTIFIER ::= { diffServMIBObjects 6 } -- -- An entry of diffServQTable represents a FIFO queue diffserv -- functional datapath element as described in [MODEL] section -- 7.1.1. -- Notice the specification of scheduling parameters for a queue -- as part of the input to a scheduler functional datapath -- element as described in [MODEL] section 7.1.2. This allows -- building of hierarchical queueing/scheduling. -- A queue therefore is parameterized by: -- 1. Which scheduler will service this queue, diffServQNext. -- 2. How the scheduler will service this queue, with respect -- to all the other queues the same scheduler needs to service, -- diffServQSchdParam. -- -- Notice one or more upstream diffserv datapath element may share, -- point to, a diffServQTable entry as described in [MODEL] section -- 7.1.1. -- -- Each entry of the diffServQTable belongs to one and only one -- datapath. -- diffServQNextFree OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS read-only STATUS current DESCRIPTION "This object yields a value when read that iscurrently-unusedcurrently unused for adiffServAlgDropIddiffServQId instance. If a configuring system attempts to create a new row in thediffServAlgDropTablediffServQTable using thisvalue, that operation will fail if the value has, in the Baker, Chan, Smith Expires January 2001 [Page 47] Internet Draft Differentiated Services MIB July 2000value, that operation will fail if the value has, in the meantime, been used to create another row that is currently valid." ::= {diffServObjects 7diffServQueue 1 }diffServRandomDropTablediffServQTable OBJECT-TYPE SYNTAX SEQUENCE OFDiffServRandomDropEntryDiffServQEntry MAX-ACCESS not-accessible STATUS current Baker, Chan, Smith Expires June 2001 [Page 84] Internet Draft Differentiated Services MIB November 2000 DESCRIPTION "Therandom drop table augments the algorithmic drop table. It contains entries describing a process that drops packets randomly. This table is intended to be pointed to byQueue Table enumerates theassociated diffServAlgDropSpecific in such cases."individual queues." REFERENCE "[MODEL] section7.1.3"7.1.1" ::= {diffServTables 9diffServQueue 2 }diffServRandomDropEntrydiffServQEntry OBJECT-TYPE SYNTAXDiffServRandomDropEntryDiffServQEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entry in the Queue Table describes aprocess that drops packets accordingsingle queue. With each entry belonging toa random algorithm. Entries in this table share indexing with a parent diffServAlgDropEntry although they must be managed (e.g. created/deleted) by explicit management action, independently of the associated value of diffServAlgDropSpecific."one and only one datapath." INDEX {ifIndex, diffServAlgDropIfDirection, diffServAlgDropIddiffServQId } ::= {diffServRandomDropTablediffServQTable 1 }DiffServRandomDropEntryDiffServQEntry ::= SEQUENCE {diffServRandomDropMinThreshBytes Unsigned32, diffServRandomDropMinThreshPkts Unsigned32, diffServRandomDropMaxThreshBytes Unsigned32, diffServRandomDropMaxThreshPkts Unsigned32, diffServRandomDropInvWeight Unsigned32, diffServRandomDropProbMaxdiffServQId Unsigned32,diffServRandomDropStatusdiffServQNext RowPointer, diffServQSchdParam RowPointer, diffServQStatus RowStatus }diffServRandomDropMinThreshBytesdiffServQId OBJECT-TYPE SYNTAX Unsigned32UNITS "bytes"MAX-ACCESSread-createnot-accessible STATUS current DESCRIPTION "An index that enumerates the Queue entries. The set of such identifiers spans the whole agent. Managers should obtain new values for row creation in this table by reading diffServQNextFree." Baker, Chan, Smith ExpiresJanuaryJune 2001 [Page48]85] Internet Draft Differentiated Services MIBJulyNovember 2000DESCRIPTION "The average queue depth in bytes, beyond which traffic has a non-zero probability of being dropped. Changes in this variable may or may not be reflected in the reported value of diffServRandomDropMinThreshPkts."::= {diffServRandomDropEntrydiffServQEntry 1 }diffServRandomDropMinThreshPktsdiffServQNext OBJECT-TYPE SYNTAXUnsigned32 UNITS "packets"RowPointer MAX-ACCESS read-create STATUS current DESCRIPTION"The average queue depth in packets, beyond which"This selects the next diffserv functional datapath element to handle traffichas a non-zero probabilityfor this data path. This RowPointer must point to an instance ofbeing dropped. Changesone of: diffServSchedulerEntry A value of zeroDotZero in thisvariable may or mayattribute indicates an incomplete diffServQEntry instance. An illegal con- figuration. If the row pointed to does notbe reflected inexist, thereportedtreatment is as if this attribute contains a value ofdiffServRandomDropMinThreshBytes."zero- DotZero." ::= {diffServRandomDropEntrydiffServQEntry 2 }diffServRandomDropMaxThreshBytesdiffServQSchdParam OBJECT-TYPE SYNTAXUnsigned32 UNITS "bytes"RowPointer MAX-ACCESS read-create STATUS current DESCRIPTION"The average queue depth beyond which traffic has a probability indicated by diffServRandomDropInvMaxProb of being dropped or marked. Note that this differs from"This RowPointer indicates thephysical queue limit, which is storedentry indiffServAlgDropQThreshold. ChangesdiffServSchdParamTable the scheduler, pointed to by diffServQNext, should use to service this queue. A value of zeroDotZero in thisvariable may or mayattribute indicates an incomplete diffServQEntry instance. An illegal con- Baker, Chan, Smith Expires June 2001 [Page 86] Internet Draft Differentiated Services MIB November 2000 figuration. If the row pointed to does notbe reflected inexist, thereportedtreatment is as if this attribute contains a value ofdiffServRandomDropMaxThreshPkts."zero- DotZero." ::= {diffServRandomDropEntrydiffServQEntry 3 }diffServRandomDropMaxThreshPktsdiffServQStatus OBJECT-TYPE SYNTAXUnsigned32 UNITS "packets"RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "Theaverage queue depth beyond which traffic hasRowStatus variable controls the activation, deactivation, or deletion of aprobability indicatedqueue. Any writable variable may be modified whether the row is active or notInService." ::= { diffServQEntry 4 } -- -- Scheduler Table -- diffServScheduler OBJECT IDENTIFIER ::= { diffServMIBObjects 7 } -- -- The Scheduler Table is used for representing packet schedulers: -- it provides flexibility for multiple scheduling algorithms, each -- servicing multiple queues, to be used on the same logical/physical -- interface. -- Notice the servicing parameters the scheduler uses is -- specified bydiffServRandomDropInvMaxProbeach of its upstream functional datapath elements, -- most likely queues or schedulers. -- The coordination and coherency between the servicing parameters -- ofbeing dropped or marked. Note that this differs fromthephysical queue limit, which is stored in diffServAlgDropQThreshold. Changes in this variable may or may notscheduler's upstream functional datapath elements must -- bereflected inmaintained for thereported valuescheduler to function correctly. -- -- The diffServSchedulerSchdParam attribute is used for specifying -- the servicing parameters for output ofdiffServRandomDropMaxThreshBytes." ::= { diffServRandomDropEntry 4 }a scheduler when its -- downstream functional datapath element is another scheduler. -- This is used for building hierarchical queue/scheduler. -- Baker, Chan, Smith ExpiresJanuaryJune 2001 [Page49]87] Internet Draft Differentiated Services MIBJulyNovember 2000diffServRandomDropInvWeight-- More discussion of the scheduler functional datapath element -- is in [MODEL] section 7.1.2. -- diffServSchedulerNextFree OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESSread-createread-only STATUS current DESCRIPTION"The weighting of past history in affecting the calculation of the current queue average. The moving average of the queue depth uses the inverse of this"This object yields a valueas the factorwhen read that is currently unused forthea diffServSchedulerId instance. If a configuring system attempts to create a newqueue depth, and one minus that inverse asrow in thefactor fordiffServSchedulerTable using this value, that operation will fail if thehistorical average. Implementations may choose to limitvalue has, in theacceptable set of valuesmean- time, been used toa specified set, such as powers of 2."create another row that is currently valid." ::= {diffServRandomDropEntry 5diffServScheduler 1 }diffServRandomDropProbMaxdiffServSchedulerTable OBJECT-TYPE SYNTAXUnsigned32SEQUENCE OF DiffServSchedulerEntry MAX-ACCESSread-createnot-accessible STATUScurrent DESCRIPTION "The worst case random drop probability, expressed in drops per thousand packets. For example, if every packet may be dropped in the worst case (100%), this has the value 1000. Alternatively, if in the worst case one percent (1%) of traffic maycurrent DESCRIPTION "The Scheduler Table enumerates packet schedulers. Multiple scheduling algorithms can bedropped, it has the value 10."used on a given datapath, with each algorithm described by one diffServSchedulerEntry." REFERENCE "[MODEL] section 7.1.2" ::= {diffServRandomDropEntry 6diffServScheduler 2 }diffServRandomDropStatusdiffServSchedulerEntry OBJECT-TYPE SYNTAXRowStatusDiffServSchedulerEntry MAX-ACCESSread-createnot-accessible STATUS current DESCRIPTION"The RowStatus variable controls"An entry in theactivation, deactivation, or deletionScheduler Table describing a single instance ofthis entry. Any writable variable may be modified whether the row is active or notInService."a scheduling algorithm." INDEX { diffServSchedulerId } ::= {diffServRandomDropEntry 7diffServSchedulerTable 1 } DiffServSchedulerEntry ::= SEQUENCE { diffServSchedulerId Unsigned32, Baker, Chan, Smith ExpiresJanuaryJune 2001 [Page50]88] Internet Draft Differentiated Services MIBJulyNovember 2000-- -- Queue Table -- diffServQTablediffServSchedulerNext RowPointer, diffServSchedulerMethod INTEGER, diffServSchedulerSchdParam RowPointer, diffServSchedulerStatus RowStatus } diffServSchedulerId OBJECT-TYPE SYNTAXSEQUENCE OF DiffServQEntryUnsigned32 MAX-ACCESS not-accessible STATUS current DESCRIPTION"The Queue Table"An index that enumerates theindividual queues on an interface."Scheduler entries. The set of such identifiers spans the whole agent. Managers should obtain new values for row creation in this table by reading diffServSchedulerNextFree." ::= {diffServTables 10diffServSchedulerEntry 1 }diffServQEntrydiffServSchedulerNext OBJECT-TYPE SYNTAXDiffServQEntryRowPointer MAX-ACCESSnot-accessibleread-create STATUS current DESCRIPTION"An entry"This selects the next diffserv functional datapath element to handle traffic for this data path. This RowPointer should point to an instance of one of: diffServSchedulerEntry diffServQEntry As indicated by [MODEL] section 7.1.4. This should point to another diffServSchedulerEntry for implementation of multiple scheduler methods for the same datapath, and for implementation of hierarchical schedulers. Baker, Chan, Smith Expires June 2001 [Page 89] Internet Draft Differentiated Services MIB November 2000 A value of zeroDotZero in this attribute indicates no further Diffserv treatment is performed on traffic of this datapath. The use of zeroDotZero is the normal usage for the last functional datapath element. If the row pointed to does not exist, theQueue Table describestreatment is as if this attribute contains asingle queue in one direction on an interface." INDEX { ifIndex, diffServQIfDirection, diffServQId } ::=value of zero- DotZero." DEFVAL {diffServQTable 1zeroDotZero }DiffServQEntry::=SEQUENCE{diffServQIfDirection IfDirection, diffServQId Unsigned32, diffServQNext RowPointer, diffServQPriority Unsigned32, diffServQMinRateAbs Unsigned32, diffServQMinRateRel Unsigned32, diffServQMaxRateAbs Unsigned32, diffServQMaxRateRel Unsigned32, diffServQStatus RowStatusdiffServSchedulerEntry 2 }diffServQIfDirectiondiffServSchedulerMethod OBJECT-TYPE SYNTAXIfDirectionINTEGER { other(1), -- not listed here priorityq(2), -- Priority Queueing wrr(3), -- Weighted Round Robin wfq(4), -- Weighted Fair Queuing wirr(5), -- Weighted Interleaved Round Robin bsp(6) -- Bounded Strict Priority } MAX-ACCESSnot-accessibleread-create STATUS current DESCRIPTION"Specifies the direction for which"The scheduling algorithm used by thisqueue entry applies onScheduler. A value of priorityq(2) is used to indicate strict priority queueing: only the diffServSchdParamPriority attributes of the queues/schedulers feeding thisinterface." ::= { diffServQEntry 1 } diffServQId OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS not-accessiblescheduler are used when determining the next packet to schedule. A value of wrr(3) indicates weighted round-robin scheduling. Packets are scheduled from each of the Baker, Chan, Smith ExpiresJanuaryJune 2001 [Page51]90] Internet Draft Differentiated Services MIBJulyNovember 2000STATUS current DESCRIPTION "The Queue Id enumeratesqueues/schedulers feeding this scheduler according to all of theQueue entry. Managers should obtain new values for row creation inparameters of their respective diffServSchdParamEntry. A value of wfq(4) indicates weighted fair queueing scheduling. Packets are scheduled from each of the queues/schedulers feeding thistable by reading diffServQNextFree."scheduler according to all of the parameters of their respective diffServSchdParamEntry. A value of wirr(5) indicates weighted interleaved roundrobin queueing scheduling. Packets are scheduled from each of the queues/schedulers feeding this scheduler according to all the parameters of their respective diffServSchdParamEntry. A value of bsp(6) indicates bounded strict priority scheduling. Packets are scheduled from each of the queues/schedulers feeding this scheduler according to all the parameters of their respective diffServSchdParamEntry." REFERENCE "[MODEL] section 7.1.2" ::= {diffServQEntry 2diffServSchedulerEntry 3 }diffServQNextdiffServSchedulerSchdParam OBJECT-TYPE SYNTAX RowPointer MAX-ACCESS read-create STATUS current DESCRIPTION"The Next pointer"This RowPointer indicates thenext datapath element to handle the traffic e.g. a scheduler datapath element. Ifentry in diffServSchdParamTable therowhigher level scheduler, pointed todoes not exist,by diffServSchedulerNext, should use to service thequeue element is considered inactive." ::= { diffServQEntry 3 } diffServQPriority OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS read-create STATUS current DESCRIPTION "The priorityoutput of thisqueue, to bescheduler. This attribute is only usedas a parameter towhen there is more than one level of scheduler. And should have thenext scheduler element downstream from this one."value of zeroDotZero when not used." DEFVAL { zeroDotZero } ::= {diffServQEntrydiffServSchedulerEntry 4 }diffServQMinRateAbsdiffServSchedulerStatus OBJECT-TYPE Baker, Chan, Smith Expires June 2001 [Page 91] Internet Draft Differentiated Services MIB November 2000 SYNTAXUnsigned32 UNITS "kilobits per second"RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "Theminimum absolute rate, in kilobits/sec, thatRowStatus variable controls the activation, deactivation, or deletion of adownstream scheduler element should allocate to thisqueue.IfAny writable variable may be modified whether thevalue is zero, then thererow iseffectively no minimum rate guarantee. Ifactive or notInService." ::= { diffServSchedulerEntry 5 } Baker, Chan, Smith Expires June 2001 [Page 92] Internet Draft Differentiated Services MIB November 2000 -- -- Scheduling Parameter Table -- -- The scheduling parameters are separate from the Queue Entries -- for reusability and for usage by both queues and schedulers, -- and this follows the separation of datapath elements from -- parameterization approach used throught out this MIB. -- Usage of scheduling parameter table entry by schedulers allow -- building of hierarchical scheduling. -- -- The diffServSchdParamMaxRateAbs/Rel attributes are used to -- construct non-work-conserving scheduler for the purpose of -- traffic shaping. These attributes limits thevalue is non-zero,servicing of -- thescheduler will assurequeue/scheduler, in affect, shaping theservicingoutput ofthis queue to at least this rate. Note that this attribute'sthe -- queue/scheduler, as described in [MODEL] section 7.2. -- diffServSchdParamNextFree OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS read-only STATUS current DESCRIPTION "This object yields a value when read that iscoupledcurrently unused for a diffServSchdParamId instance. If a configuring system attempts to create a new row in the diffServSchdParamTable using this value, thatof diffServQMinRateRel: changes to oneoperation willaffectfail if the valueof the other. They are linked byhas, in thefollowing equation: diffServQMinRateRel = diffServQMinRateAbs * 10,000,000/ifSpeed or, if appropriate:mean- time, been used to create another row that is currently valid." ::= { diffServScheduler 3 } diffServSchdParamTable OBJECT-TYPE Baker, Chan, Smith ExpiresJanuaryJune 2001 [Page52]93] Internet Draft Differentiated Services MIBJulyNovember 2000diffServQMinRateRel = diffServQMinRateAbs * 10 / ifHighSpeed" REFERENCE "ifSpeed, ifHighSpeed from [IFMIB]" ::= { diffServQEntry 5 } diffServQMinRateRel OBJECT-TYPESYNTAXUnsigned32SEQUENCE OF DiffServSchdParamEntry MAX-ACCESSread-createnot-accessible STATUS current DESCRIPTION "Theminimum rate that a downstream scheduler element should allocate to this queue, relative to the maximum rate of the interface as reported by ifSpeed or ifHighSpeed, in units of 1/10,000 of 1. If the value is zero, then there is effectively no minimum rate guarantee. If the value is non-zero, the scheduler will assure the servicingScheduling Parameter Table enumerates individual sets ofthis queue to at least this rate. Note that this attribute's value is coupled toscheduling parameter thatof diffServQMinRateAbs: changes to one will affect the value of the other. They are linkedcan be used/reused bythe following equation: diffServQMinRateAbs = ifSpeed * diffServQMinRateRel/10,000,000 or, if appropriate: diffServQMinRateAbs = ifHighSpeed * diffServQMinRateRel / 10" REFERENCE "ifSpeed, ifHighSpeed from [IFMIB]"Queues and Schedulers." ::= {diffServQEntry 6diffServScheduler 4 }diffServQMaxRateAbsdiffServSchdParamEntry OBJECT-TYPESYNTAX Unsigned32 UNITS "kilobits per second"SYNTAX DiffServSchdParamEntry MAX-ACCESSread-createnot-accessible STATUS current DESCRIPTION"The maximum rate"An entry inkilobits/sec that a downstream scheduler element should allocate to this queue. If the value is zero, then there is effectively no maximum rate limit and that the scheduler should attempt to be work-conserving for this queue. If the value is non-zero, the scheduler will limittheservicing of this queue to, at most, this rate inScheduling Parameter Table describes anon-work-conserving manner. Note that this attribute's value is coupled to that of diffServQMaxRateRel: changes to one will affect the valuesingle set ofthe other. They are linkedscheduling parameter for use by queues and schedulers. Notice multiple inter-mixed of Queue and Scheduler entries can use thefollowing equation:same Scheduler Parameter entry." INDEX { diffServSchdParamId } ::= { diffServSchdParamTable 1 } DiffServSchdParamEntry ::= SEQUENCE { diffServSchdParamId Unsigned32, diffServSchdParamPriority Unsigned32, diffServSchdParamMinRateAbs Unsigned32, diffServSchdParamMinRateRel Unsigned32, diffServSchdParamMaxRateAbs Unsigned32, diffServSchdParamMaxRateRel Unsigned32, diffServSchdParamStatus RowStatus } Baker, Chan, Smith ExpiresJanuaryJune 2001 [Page53]94] Internet Draft Differentiated Services MIBJulyNovember 2000diffServQMaxRateRel = diffServQMaxRateAbs * 10,000,000/ifSpeed or, if appropriate: diffServQMaxRateRel = diffServQMaxRateAbs * 10 / ifHighSpeed" REFERENCE "ifSpeed, ifHighSpeed from [IFMIB]"diffServSchdParamId OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS not-accessible STATUS current DESCRIPTION "An index that enumerates the Scheduler Parameter entries. The set of such identifiers spans the whole agent. Managers should obtain new values for row creation in this table by reading diffServSchdParam- NextFree." ::= {diffServQEntry 7diffServSchdParamEntry 1 }diffServQMaxRateReldiffServSchdParamPriority OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS read-create STATUS current DESCRIPTION "Themaximum rate that a downstream scheduler element should allocate topriority of this queue,relativetothe maximum rate of the interfacebe used asreported by ifSpeed or ifHighSpeed,a parame- ter to the next scheduler element downstream from this one." ::= { diffServSchdParamEntry 2 } diffServSchdParamMinRateAbs OBJECT-TYPE SYNTAX Unsigned32 UNITS "kilobits per second" MAX-ACCESS read-create STATUS current DESCRIPTION "The minimum absolute rate, inunits of 1/10,000 of 1.kilobits/sec, that a downstream scheduler element should allocate to this queue. If the value is zero, then there iseffectivelyeffec- tively nomaximumminimum ratelimit and the scheduler should attempt to be work-conserving for this queue.guarantee. If the value is non-zero, the scheduler willlimitassure the servicing of this queueto,to atmost,least thisrate in a non-work-conserving manner.rate. Baker, Chan, Smith Expires June 2001 [Page 95] Internet Draft Differentiated Services MIB November 2000 Note that this attribute's value is coupled to that ofdiffServQMaxRateAbs:diffServSchdParamMinRateRel: changes to one will affect the value of the other. They are linked by the following equation:diffServQMaxRateAbsdiffServSchdParamMinRateRel =ifSpeeddiffServSchdParamMinRateAbs *diffServQMaxRateRel/10,000,00010,000,000/ifSpeed or,if appropriate: diffServQMaxRateAbs = ifHighSpeed * diffServQMaxRateRel / 10" REFERENCE "ifSpeed, ifHighSpeed from [IFMIB]" ::= { diffServQEntry 8 } diffServQStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "The RowStatus variable controls the activation, deactivation, or deletion of a queue. Any writable variable may be modified whether the row is active or notInService." ::= { diffServQEntry 9 } diffServQNextFree OBJECT-TYPE Baker, Chan, Smith Expires January 2001 [Page 54] Internet Draft Differentiated Services MIB July 2000 SYNTAX Unsigned32 MAX-ACCESS read-only STATUS current DESCRIPTION "This object yields a value when read that is currently-unused for a diffServQId instance. If a configuring system attempts to create a new row in the diffServQTable using this value, that operation will fail if the value has, in the meantime, been used to create another row that is currently valid." ::= { diffServObjects 8 } -- -- Scheduler Table -- -- The Scheduler Table is used for representing packet schedulers: -- it provides flexibility for multiple scheduling algorithms, each -- servicing multiple queues, to be used on the same logical/physical -- interface. diffServSchedulerTable OBJECT-TYPE SYNTAX SEQUENCE OF DiffServSchedulerEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "The Scheduler Table enumerates packet schedulers. Multiple scheduling algorithms can be used on a given interface, with each algorithm described by one diffServSchedulerEntry."if appropriate: diffServSchdParamMinRateRel = diffServSchdParamMinRateAbs * 10 / ifHighSpeed" REFERENCE"[MODEL] section 7.1.2""ifSpeed, ifHighSpeed from [IFMIB]" ::= {diffServTables 11diffServSchdParamEntry 3 }diffServSchedulerEntrydiffServSchdParamMinRateRel OBJECT-TYPE SYNTAXDiffServSchedulerEntryUnsigned32 MAX-ACCESSnot-accessibleread-create STATUS current DESCRIPTION"An entry"The minimum rate that a downstream scheduler element should allocate to this queue, relative to the max- imum rate of the interface as reported by ifSpeed or ifHighSpeed, in units of 1/10,000 of 1. If theScheduler Table describing a single instancevalue is zero, then there is effectively no minimum rate guarantee. If the value is non-zero, the scheduler will assure the servicing ofa scheduling algorithm." INDEX { ifIndex, diffServSchedulerIfDirection, diffServSchedulerId }this queue to at least this rate. Note that this attribute's value is coupled to that of diffServSchdParamMinRateAbs: changes to one will affect the value of the other. They are linked by the following equation: diffServSchdParamMinRateAbs = ifSpeed * diffServSchdParamMinRateRel/10,000,000 or, if appropriate: diffServSchdParamMinRateAbs = ifHighSpeed * diffServSchdParamMinRateRel / 10" REFERENCE "ifSpeed, ifHighSpeed from [IFMIB]" ::= {diffServSchedulerTable 1diffServSchdParamEntry 4 }DiffServSchedulerEntry ::= SEQUENCE { diffServSchedulerIfDirection IfDirection, diffServSchedulerId Unsigned32, diffServSchedulerMethod INTEGER,diffServSchdParamMaxRateAbs OBJECT-TYPE SYNTAX Unsigned32 UNITS "kilobits per second" Baker, Chan, Smith ExpiresJanuaryJune 2001 [Page55]96] Internet Draft Differentiated Services MIBJulyNovember 2000diffServSchedulerNext RowPointer, diffServSchedulerStatus RowStatus } diffServSchedulerIfDirection OBJECT-TYPE SYNTAX IfDirectionMAX-ACCESSnot-accessibleread-create STATUS current DESCRIPTION"Specifies the direction for which this"The maximum rate in kilobits/sec that a downstream schedulerentry applies onelement should allocate to thisinterface." ::= { diffServSchedulerEntry 1 } diffServSchedulerId OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS not-accessible STATUS current DESCRIPTION "This identifiesqueue. If the value is zero, then there is effectively no maximum rate limit and that the schedulerentry. Managersshouldobtain new valuesattempt to be work-conserving forrow creationthis queue. If the value is non-zero, the scheduler will limit the ser- vicing of this queue to, at most, this rate in a non-work-conserving manner. Note that thistableattribute's value is coupled to that of diffServSchdParamMaxRateRel: changes to one will affect the value of the other. They are linked byreading diffServSchedulerNextFree."the following equation: diffServSchdParamMaxRateRel = diffServSchdParamMaxRateAbs * 10,000,000/ifSpeed or, if appropriate: diffServSchdParamMaxRateRel = diffServSchdParamMaxRateAbs * 10 / ifHighSpeed" REFERENCE "ifSpeed, ifHighSpeed from [IFMIB]" ::= {diffServSchedulerEntry 2diffServSchdParamEntry 5 }diffServSchedulerMethoddiffServSchdParamMaxRateRel OBJECT-TYPE SYNTAXINTEGER { other(1), -- not listed here priorityq(2), -- Priority Queueing wrr(3) -- Weighed Round Robin }Unsigned32 MAX-ACCESS read-create STATUS current DESCRIPTION "Thescheduling algorithm used by this Scheduler. A value of priorityq(2) is used to indicate strict priority queueing: only the diffServQPriority attributes of the queues feeding thismaximum rate that a downstream schedulerare used when determining the next packetelement should allocate toschedule. A value of wrr(3) indicates weighted round-robin scheduling. Packets are scheduled from each of the queues feedingthisscheduler accordingqueue, relative toall oftheparameters of the diffServQueue entry." REFERENCE "[MODEL] section 7.1.2" ::= { diffServSchedulerEntry 3 }max- Baker, Chan, Smith ExpiresJanuaryJune 2001 [Page56]97] Internet Draft Differentiated Services MIBJulyNovember 2000diffServSchedulerNext OBJECT-TYPE SYNTAX RowPointer MAX-ACCESS read-create STATUS current DESCRIPTION "Selectsimum rate of thenext data path component, which can be another schedulerinterface as reported by ifSpeed orother TC elements. One usage of multiple scheduler elementsifHighSpeed, inseriesunits of 1/10,000 of 1. If the value is zero, then there is effectively no maximum rate limit and the scheduler should attempt to be work- conserving forClass Base Queueing (CBQ). The value zeroDotZero inthisvariable indicates no further DiffServ treatmentqueue. If the value isperformed on this flow bynon-zero, thecurrent interface forscheduler will limit the servicing of this queue to, at most, this rate in a non-work-conserving manner. Note that thisinterface direction. For example, for an inbound interface theattribute's valuezeroDotZero indicatesis coupled to thatthe packet flow has now completed inbound DiffServ treatment and should be forwarded onof diffServSchdParamMaxRateAbs: changes to one will affect theappropriate outbound interface. Ifvalue of therow pointed to does not exist,other. They are linked by thescheduler element is considered inactive." DEFVAL { zeroDotZero }following equation: diffServSchdParamMaxRateAbs = ifSpeed * diffServSchdParamMaxRateRel/10,000,000 or, if appropriate: diffServSchdParamMaxRateAbs = ifHighSpeed * diffServSchdParamMaxRateRel / 10" REFERENCE "ifSpeed, ifHighSpeed from [IFMIB]" ::= {diffServSchedulerEntry 4diffServSchdParamEntry 6 }diffServSchedulerStatusdiffServSchdParamStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "The RowStatus variable controls the activation, deactivation, or deletion of a queue. Any writable variable may be modified whether the row is active or notInService." ::= {diffServSchedulerEntry 5 } diffServSchedulerNextFree OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS read-only STATUS current DESCRIPTION "This object yields a value when read that is currently-unused for a diffServSchedulerId instance. If a configuring system attempts to create a new row in the diffServSchedulerTable using this value, that operation will fail if the value has, in the meantime, been used to create another row that is currently valid." ::= { diffServObjects 9diffServSchdParamEntry 7 } Baker, Chan, Smith ExpiresJanuaryJune 2001 [Page57]98] Internet Draft Differentiated Services MIBJulyNovember 2000 -- -- MIB Compliance statements. -- diffServMIBCompliances OBJECT IDENTIFIER ::= { diffServMIBConformance 1 } diffServMIBGroups OBJECT IDENTIFIER ::= { diffServMIBConformance 2 } diffServMIBCompliance MODULE-COMPLIANCE STATUS current DESCRIPTION "This MIB may be implemented as a read-only or as a read-create MIB. As a result, it may be used formonitoringmon- itoring or for configuration." MODULE -- This Module MANDATORY-GROUPS {diffServMIBClassifierGroup,diffServMIBDataPathGroup, diffServMIBClfrGroup, diffServMIBClfrElementGroup, diffServMIBSixTupleClfrGroup, diffServMIBActionGroup, diffServMIBAlgDropGroup,diffServMIBQueueGroup, diffServMIBSchedulerGroupdiffServMIBQGroup, diffServMIBSchedulerGroup, diffServMIBSchdParamGroup } -- The groups: -- diffServMIBCounterGroup -- diffServMIBHCCounterGroup -- diffServMIBVHCCounterGroup -- -- are mutually exclusive; at most one of these groups is implemented -- for a particular interface. When any of these groups is implemented Baker, Chan, Smith Expires June 2001 [Page 99] Internet Draft Differentiated Services MIB November 2000 -- for a particular interface, then ifCounterDiscontinuityGroup from -- [IFMIB] must also be implemented for that interface. -- note that the diffServMIBStaticGroup is -- mandatory for implementations that implement a -- read-write or read-create mode. GROUP diffServMIBCounterGroup DESCRIPTION "This group is mandatory for table objects indexed by ifIndex for which the value of the corresponding instance of ifSpeed is less than or equal to 20,000,000 bits/second." GROUP diffServMIBHCCounterGroup DESCRIPTION "This group is mandatory for table objects indexed by ifIndex for which the value of the corresponding instance of ifSpeed is greater than 20,000,000 bits/second." GROUP diffServMIBVHCCounterGroup DESCRIPTIONBaker, Chan, Smith Expires January 2001 [Page 58] Internet Draft Differentiated Services MIB July 2000"This group is mandatory for table objects indexed by ifIndex for which the value of the corresponding instance of ifSpeed is greater than 650,000,000 bits/second." GROUP diffServMIBMeterGroup Baker, Chan, Smith Expires June 2001 [Page 100] Internet Draft Differentiated Services MIB November 2000 DESCRIPTION "This group is mandatory for devices that implement metering functions." GROUPdiffServMIBTokenBucketMeterGroupdiffServMIBTBMeterGroup DESCRIPTION "This group is mandatory for devices that implement token-bucket metering functions." GROUPdiffServMIBDscpMarkActionGroupdiffServMIBDscpMarkActGroup DESCRIPTION "This group is mandatory for devices that implement DSCP-Marking functions." GROUP diffServMIBRandomDropGroup DESCRIPTION "This group is mandatory for devices that implement Random Drop functions." GROUP diffServMIBStaticGroup DESCRIPTION "This group is mandatory for devices that allowcreationcrea- tion of rows in any of the writable tables of this MIB." OBJECTdiffServClassifierFilterdiffServClfrStatus MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServClassifierNextdiffServClfrElementOrder MIN-ACCESS read-only Baker, Chan, Smith Expires June 2001 [Page 101] Internet Draft Differentiated Services MIB November 2000 DESCRIPTION "Write access is not required." OBJECTdiffServClassifierPrecedencediffServClfrElementNext MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServClassifierStatusdiffServClfrElementSpecific MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECT diffServClfrElementStatus MIN-ACCESS read-only DESCRIPTIONBaker, Chan, Smith Expires January 2001 [Page 59] Internet Draft Differentiated Services MIB July 2000"Write access is not required." OBJECT diffServSixTupleClfrDstAddrType MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECT diffServSixTupleClfrDstAddr MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECT diffServSixTupleClfrDstAddrMask MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECT diffServSixTupleClfrSrcAddrType MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServSixTupleClfrSrcAddrdiffServSixTupleClfrSrcAddr Baker, Chan, Smith Expires June 2001 [Page 102] Internet Draft Differentiated Services MIB November 2000 MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECT diffServSixTupleClfrSrcAddrMask MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServSixTupleClfrSrcAddrMaskdiffServSixTupleClfrDscp MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServSixTupleClfrDscpdiffServSixTupleClfrProtocol MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServSixTupleClfrProtocoldiffServSixTupleClfrSrcL4PortMin MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServSixTupleClfrSrcL4PortMindiffServSixTupleClfrSrcL4PortMax MIN-ACCESS read-only DESCRIPTION "Write access is not required." Baker, Chan, Smith ExpiresJanuaryJune 2001 [Page60]103] Internet Draft Differentiated Services MIBJulyNovember 2000 OBJECTdiffServSixTupleClfrSrcL4PortMaxdiffServSixTupleClfrDstL4PortMin MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServSixTupleClfrDstL4PortMindiffServSixTupleClfrDstL4PortMax MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServSixTupleClfrDstL4PortMaxdiffServSixTupleClfrStatus MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServSixTupleClfrStatusdiffServMeterSucceedNext MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServMeterSucceedNextdiffServMeterFailNext MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServMeterFailNextdiffServMeterSpecific MIN-ACCESS read-only DESCRIPTION "Write access is not required." Baker, Chan, Smith Expires June 2001 [Page 104] Internet Draft Differentiated Services MIB November 2000 OBJECTdiffServMeterSpecificdiffServMeterStatus MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServMeterStatusdiffServTBMeterType MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECT diffServTBMeterRate MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECT diffServTBMeterBurstSize MIN-ACCESS read-onlyBaker, Chan, Smith Expires January 2001 [Page 61] Internet Draft Differentiated Services MIB July 2000DESCRIPTION "Write access is not required." OBJECT diffServTBMeterInterval MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECT diffServTBMeterStatus MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECT diffServActionNext MIN-ACCESS read-only DESCRIPTION "Write access is not required." Baker, Chan, Smith Expires June 2001 [Page 105] Internet Draft Differentiated Services MIB November 2000 OBJECT diffServActionSpecific MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECT diffServActionType MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECT diffServActionStatus MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECT diffServCountActStatus MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECT diffServAlgDropType MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECT diffServAlgDropNext MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECT diffServAlgDropQMeasure MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECT diffServAlgDropQThreshold MIN-ACCESS read-only DESCRIPTION "Write access is not required." Baker, Chan, Smith ExpiresJanuaryJune 2001 [Page62]106] Internet Draft Differentiated Services MIBJulyNovember 2000 OBJECT diffServAlgDropSpecific MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECT diffServAlgDropStatus MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECT diffServRandomDropMinThreshBytes MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServRandomDropMaxThreshPktsdiffServRandomDropMinThreshPkts MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServRandomDropMinThreshBytesdiffServRandomDropMaxThreshBytes MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECT diffServRandomDropMaxThreshPkts MIN-ACCESS read-only DESCRIPTION "Write access is not required." Baker, Chan, Smith Expires June 2001 [Page 107] Internet Draft Differentiated Services MIB November 2000 OBJECT diffServRandomDropInvProbMax MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECT diffServRandomDropInvWeight MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServRandomDropProbMaxdiffServRandomDropSamplingRate MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECT diffServRandomDropStatus MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECT diffServQNext MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECT diffServQSchdParam MIN-ACCESS read-only DESCRIPTION "Write access is not required." Baker, Chan, Smith ExpiresJanuaryJune 2001 [Page63]108] Internet Draft Differentiated Services MIBJulyNovember 2000 OBJECT diffServQStatus MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECT diffServSchedulerNext MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServQPrioritydiffServSchedulerMethod MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServQMinRateAbsdiffServSchedulerSchdParam MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServQMinRateReldiffServSchedulerStatus MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServQMaxRateAbsdiffServSchdParamPriority MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServQMaxRateReldiffServSchdParamMinRateAbs MIN-ACCESS read-only DESCRIPTION "Write access is not required." Baker, Chan, Smith Expires June 2001 [Page 109] Internet Draft Differentiated Services MIB November 2000 OBJECTdiffServQueueStatusdiffServSchdParamMinRateRel MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServSchedulerMethoddiffServSchdParamMaxRateAbs MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServSchedulerNextdiffServSchdParamMaxRateRel MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServSchedulerStatusdiffServSchdParamStatus MIN-ACCESS read-only DESCRIPTION "Write access is not required."Baker, Chan, Smith Expires January 2001 [Page 64] Internet Draft Differentiated Services MIB July 2000::= { diffServMIBCompliances 1 } Baker, Chan, Smith ExpiresJanuaryJune 2001 [Page65]110] Internet Draft Differentiated Services MIBJulyNovember 2000diffServMIBClassifierGroupdiffServMIBDataPathGroup OBJECT-GROUP OBJECTS { diffServDataPathStart, diffServDataPathStatus } STATUS current DESCRIPTION "The Data Path Group defines the MIB Objects that describe a data path." ::= { diffServMIBGroups 1 } diffServMIBClfrGroup OBJECT-GROUP OBJECTS {diffServClassifierFilter, diffServClassifierNext, diffServClassifierPrecedence, diffServClassifierStatusdiffServClfrStatus } STATUS current DESCRIPTION "The Classifier Group defines the MIB Objects that describe a generic classifier." ::= { diffServMIBGroups 2 } diffServMIBClfrElementGroup OBJECT-GROUP OBJECTS { diffServClfrElementOrder, diffServClfrElementNext, diffServClfrElementSpecific, diffServClfrElementStatus } STATUS current DESCRIPTION "The Classifier Element Group defines the MIB Objects that describe the classifierelement."elements that make up a generic classifier." ::= { diffServMIBGroups13 } Baker, Chan, Smith Expires June 2001 [Page 111] Internet Draft Differentiated Services MIB November 2000 diffServMIBSixTupleClfrGroup OBJECT-GROUP OBJECTS { diffServSixTupleClfrDstAddrType, diffServSixTupleClfrDstAddr, diffServSixTupleClfrDstAddrMask,diffServSixTupleClfrDstAddrType,diffServSixTupleClfrSrcAddrType, diffServSixTupleClfrSrcAddr, diffServSixTupleClfrSrcAddrMask, diffServSixTupleClfrDscp, diffServSixTupleClfrProtocol, diffServSixTupleClfrDstL4PortMin, diffServSixTupleClfrDstL4PortMax, diffServSixTupleClfrSrcL4PortMin, diffServSixTupleClfrSrcL4PortMax, diffServSixTupleClfrStatus } STATUS current DESCRIPTION "The Six-tuple Classifier Group defines the MIB Objects that describe a classifier element formatchingmatch- ing on 6 fields of an IP and upper-layer protocol header." ::= { diffServMIBGroups24 } diffServMIBMeterGroup OBJECT-GROUP OBJECTS { diffServMeterSucceedNext, diffServMeterFailNext, diffServMeterSpecific, diffServMeterStatus } STATUS current DESCRIPTION "The Meter Group defines the objects used indescribingdescrib- ing a generic meter element." ::= { diffServMIBGroups3 } diffServMIBTokenBucketMeterGroup OBJECT-GROUP OBJECTS { diffServTBMeterRate, diffServTBMeterBurstSize diffServTBMeterStatus5 }STATUS current DESCRIPTIONBaker, Chan, Smith ExpiresJanuaryJune 2001 [Page66]112] Internet Draft Differentiated Services MIBJulyNovember 2000 diffServMIBTBMeterGroup OBJECT-GROUP OBJECTS { diffServTBMeterType, diffServTBMeterRate, diffServTBMeterBurstSize, diffServTBMeterInterval, diffServTBMeterStatus } STATUS current DESCRIPTION "The Token-Bucket Meter Group defines the objects used in describing asingle-ratetoken bucket meter element." ::= { diffServMIBGroups46 } diffServMIBActionGroup OBJECT-GROUP OBJECTS { diffServActionNext, diffServActionSpecific, diffServActionType, diffServActionStatus } STATUS current DESCRIPTION "The Action Group defines the objects used in describing a generic action element." ::= { diffServMIBGroups57 }diffServMIBDscpMarkActionGroupdiffServMIBDscpMarkActGroup OBJECT-GROUP OBJECTS {diffServDscpMarkActDscpdiffServDscpMarkActDscp, diffServDscpMarkActStatus } STATUS current DESCRIPTION "The DSCP Mark Action Group defines the objects used in describing a DSCP Marking Action element." ::= { diffServMIBGroups68 } diffServMIBCounterGroup OBJECT-GROUP Baker, Chan, Smith Expires June 2001 [Page 113] Internet Draft Differentiated Services MIB November 2000 OBJECTS { diffServCountActOctets, diffServCountActPkts, diffServCountActDiscontTime, diffServCountActStatus, diffServAlgDropOctets, diffServAlgDropPkts } STATUS current DESCRIPTION "A collection of objects providing information specific tonon- highnon-high speed (non-high speed interfaces transmit and receive at speeds less than or equal to 20,000,000 bits/second)packet- orientedpacket-oriented network interfaces." ::= { diffServMIBGroups79 } diffServMIBHCCounterGroup OBJECT-GROUP OBJECTS { diffServCountActOctets, diffServCountActHCOctets, diffServCountActPkts, diffServCountActDiscontTime, diffServCountActStatus, diffServAlgDropOctets, diffServAlgDropHCOctets, diffServAlgDropPkts } STATUS currentBaker, Chan, Smith Expires January 2001 [Page 67] Internet Draft Differentiated Services MIB July 2000DESCRIPTION "A collection of objects providing information specific tonon-high speed(non-high(high speed interfaces transmit and receive at speeds greater than 20,000,000 but less than orequalequals to20,000,000650,000,000 bits/second)packet- orientedpacket-oriented network interfaces." ::= { diffServMIBGroups810 } diffServMIBVHCCounterGroup OBJECT-GROUP OBJECTS { diffServCountActOctets, diffServCountActHCOctets, diffServCountActPkts, diffServCountActHCPkts, diffServCountActDiscontTime, diffServCountActStatus, diffServAlgDropOctets, diffServAlgDropHCOctets, diffServAlgDropPkts, diffServAlgDropHCPkts } STATUS current Baker, Chan, Smith Expires June 2001 [Page 114] Internet Draft Differentiated Services MIB November 2000 DESCRIPTION "A collection of objects providing information specific tonon- highvery-high speed(non-high(very-high speedinterfacesinter- faces transmit and receive at speedslessgreater thanor equal to 20,000,000650,000,000 bits/second)packet- orientedpacket-oriented network interfaces." ::= { diffServMIBGroups911 } diffServMIBAlgDropGroup OBJECT-GROUP OBJECTS { diffServAlgDropType, diffServAlgDropNext, diffServAlgDropQMeasure, diffServAlgDropQThreshold, diffServAlgDropSpecific, diffServAlgDropStatus } STATUS current DESCRIPTION "The Algorithmic Drop Group contains the objects that describe algorithmic dropper operation andconfiguration."configura- tion." ::= { diffServMIBGroups1012 } diffServMIBRandomDropGroup OBJECT-GROUP OBJECTS { diffServRandomDropMinThreshBytes, diffServRandomDropMinThreshPkts, diffServRandomDropMaxThreshBytes, diffServRandomDropMaxThreshPkts, diffServRandomDropInvProbMax, diffServRandomDropInvWeight,diffServRandomDropProbMaxdiffServRandomDropSamplingRate, diffServRandomDropStatus } Baker, Chan, Smith Expires June 2001 [Page 115] Internet Draft Differentiated Services MIB November 2000 STATUS current DESCRIPTION "The Random Drop Group augments the Algorithmic Drop Group forBaker, Chan, Smith Expires January 2001 [Page 68] Internet Draft Differentiated Services MIB July 2000random dropper operation and configuration." ::= { diffServMIBGroups1113 }diffServMIBQueueGroupdiffServMIBQGroup OBJECT-GROUP OBJECTS {diffServQPriority,diffServQNext,diffServQMinRateAbs, diffServQMinRateRel, diffServQMaxRateAbs, diffServQMaxRateRel,diffServQSchdParam, diffServQStatus } STATUS current DESCRIPTION "The Queue Group contains the objects that describe an interface's queues." ::= { diffServMIBGroups1214 } diffServMIBSchedulerGroup OBJECT-GROUP OBJECTS {diffServSchedulerMethod,diffServSchedulerNext, diffServSchedulerMethod, diffServSchedulerSchdParam, diffServSchedulerStatus } STATUS current DESCRIPTION "The Scheduler Group contains the objects that describe packet schedulers on interfaces." ::= { diffServMIBGroups1315 } diffServMIBSchdParamGroup OBJECT-GROUP OBJECTS { diffServSchdParamPriority, Baker, Chan, Smith Expires June 2001 [Page 116] Internet Draft Differentiated Services MIB November 2000 diffServSchdParamMinRateAbs, diffServSchdParamMinRateRel, diffServSchdParamMaxRateAbs, diffServSchdParamMaxRateRel, diffServSchdParamStatus } STATUS current DESCRIPTION "The Scheduler Parameter Group contains the objects that describe packet schedulers' parameters on inter- faces." ::= { diffServMIBGroups 16 } diffServMIBStaticGroup OBJECT-GROUP OBJECTS {diffServClassifierNextFree,diffServClfrNextFree, diffServClfrElementNextFree, diffServSixTupleClfrNextFree, diffServMeterNextFree, diffServTBMeterNextFree, diffServActionNextFree, diffServDscpMarkActNextFree, diffServCountActNextFree, diffServAlgDropNextFree, diffServRandomDropNextFree, diffServQNextFree,diffServSchedulerNextFreediffServSchedulerNextFree, diffServSchdParamNextFree } STATUS current DESCRIPTION "The Static Group contains readable scalar objects used in creating unique identifiers for classifiers, meters, actions and queues. These are requiredwheneverwhen- ever row creation operations on such tables aresupported."sup- ported." ::= { diffServMIBGroups1417 } END Baker, Chan, Smith ExpiresJanuaryJune 2001 [Page69]117] Internet Draft Differentiated Services MIBJulyNovember 20007.9. Acknowledgments This MIB builds on all the work that has gone into the Informal Management Model for Diffservrouters.routers, DiffServ PIB, and DiffServ Policy MIB (SNMPCONF WG). It has been developed with the active involvement of many people, but most notably Yoram Bernet, Steve Blake, Brian Carpenter, Dave Durham, Jeremy Greene, Dan Grossman, Roch Guerin, Scott Hahn, Keith McCloghrie, Bob Moore, Kathleen Nichols, Ping Pan, NabilSeddigh andSeddigh, BertWijnen. 8.Wijnen, Victor Firoiu, John Seligson, Michael Fine, Walter Weiss, Joel Halpern, and Harrie Hazewinkel. 10. Security Considerations It is clear that this MIB is potentially useful for configuration, and anything that can be configured can be misconfigured, with potentially disastrous effect. At this writing, no security holes have been identified beyond those that SNMP Security is itself intended to address. These relate primarily to controlled access to sensitive information and the ability to configure a device - or which might result from operator error, which is beyond the scope of any security architecture. There are a number of management objects defined in this MIB that have a MAX-ACCESS clause of read-write and/or read-create. Such objects may be considered sensitive or vulnerable in some network environments. The support for SET operations in a non-secure environment without proper protection can have a negative effect on network operations. The use of SNMP Version 3 is recommended over prior versions for configuration control as its security model is improved. There are a number of managed objects in this MIB that may contain information that may be sensitive from a business perspective, in that they may represent a customer's service contract or the filters that the service provider chooses to apply to a customer's ingress or egress traffic. There are no objects which are sensitive in their own right, such as passwords or monetary amounts. It may be important to control even GET access to these objects and possibly to even encrypt the values of these object when sending them over the network via SNMP. Not all versions of SNMP provide features for Baker, Chan, Smith Expires June 2001 [Page 118] Internet Draft Differentiated Services MIB November 2000 such a secure environment. SNMPv1 by itself is not a secure environment. Even if the network itself is secure (for example by using IPSec), even then, there is no control as to who on the secure network is allowed to access and GET/SET (read/change/create/delete) the objects in this MIB.Baker, Chan, Smith Expires January 2001 [Page 70] Internet Draft Differentiated Services MIB July 2000It is recommended that the implementers consider the security features as provided by the SNMPv3 framework. Specifically, the use of the User- based Security Model [12] and the View-based Access Control Model [15] is recommended. It is then a customer/user responsibility to ensure that the SNMP entity giving access to an instance of this MIB, is properly configured to give access to the objects only to those principals (users) that have legitimate rights to indeed GET or SET (change/create/delete) them.9.11. References [1] Harrington, D., Presuhn, R., and B. Wijnen, "An Architecture for Describing SNMP Management Frameworks", RFC 2571, Cabletron Systems, Inc., BMC Software, Inc., IBM T. J. Watson Research, April 1999 [2] Rose, M., and K. McCloghrie, "Structure and Identification of Management Information for TCP/IP-based Internets", RFC 1155, STD 16, Performance Systems International, Hughes LAN Systems, May 1990 [3] Rose, M., and K. McCloghrie, "Concise MIB Definitions", RFC 1212, STD 16, Performance Systems International, Hughes LAN Systems, March 1991 [4] M. Rose, "A Convention for Defining Traps for use with the SNMP", RFC 1215, Performance Systems International, March 1991 [5] McCloghrie, K., Perkins, D., Schoenwaelder, J., Case, J., Rose, M., and S. Waldbusser, "Structure of Management Information Version 2 (SMIv2)", RFC 2578, STD 58, Cisco Systems, SNMPinfo, TU Braunschweig, SNMP Research, First Virtual Holdings, International Network Services, April 1999 [6] McCloghrie, K., Perkins, D., Schoenwaelder, J., Case, J., Rose, M., and S. Waldbusser, "Textual Conventions for SMIv2", RFC 2579, STD 58, Cisco Systems, SNMPinfo, TU Braunschweig, SNMP Research, First Virtual Holdings, International Network Services, April 1999 Baker, Chan, Smith Expires June 2001 [Page 119] Internet Draft Differentiated Services MIB November 2000 [7] McCloghrie, K., Perkins, D., Schoenwaelder, J., Case, J., Rose, M., and S. Waldbusser, "Conformance Statements for SMIv2", RFC 2580, STD 58, Cisco Systems, SNMPinfo, TU Braunschweig, SNMP Research, First Virtual Holdings, International Network Services, April 1999 [8] Case, J., Fedor, M., Schoffstall, M., and J. Davin, "Simple Network Management Protocol", RFC 1157, STD 15, SNMP Research, PerformanceBaker, Chan, Smith Expires January 2001 [Page 71] Internet Draft Differentiated Services MIB July 2000Systems International, Performance Systems International, MIT Laboratory for Computer Science, May 1990. [9] Case, J., McCloghrie, K., Rose, M., and S. Waldbusser, "Introduction to Community-based SNMPv2", RFC 1901, SNMP Research, Inc., Cisco Systems, Inc., Dover Beach Consulting, Inc., International Network Services, January 1996. [10] Case, J., McCloghrie, K., Rose, M., and S. Waldbusser, "Transport Mappings for Version 2 of the Simple Network Management Protocol (SNMPv2)", RFC 1906, SNMP Research, Inc., Cisco Systems, Inc., Dover Beach Consulting, Inc., International Network Services, January 1996. [11] Case, J., Harrington D., Presuhn R., and B. Wijnen, "Message Processing and Dispatching for the Simple Network Management Protocol (SNMP)", RFC 2572, SNMP Research, Inc., Cabletron Systems, Inc., BMC Software, Inc., IBM T. J. Watson Research, April 1999 [12] Blumenthal, U., and B. Wijnen, "User-based Security Model (USM) for version 3 of the Simple Network Management Protocol (SNMPv3)", RFC 2574, IBM T. J. Watson Research, April 1999 [13] Case, J., McCloghrie, K., Rose, M., and S. Waldbusser, "Protocol Operations for Version 2 of the Simple Network Management Protocol (SNMPv2)", RFC 1905, SNMP Research, Inc., Cisco Systems, Inc., Dover Beach Consulting, Inc., International Network Services, January 1996. [14] Levi, D., Meyer, P., and B. Stewart, "SNMPv3 Applications", RFC 2573, SNMP Research, Inc., Secure Computing Corporation, Cisco Systems, April 1999 [15] Wijnen, B., Presuhn, R., and K. McCloghrie, "View-based Access Control Model (VACM) for the Simple Network Management Protocol (SNMP)", RFC 2575, IBM T. J. Watson Research, BMC Software, Inc., Cisco Systems, Inc., April 1999 [16] Case, J., Mundy, R., Partain, D., and B. Stewart, "Introduction to Version 3 of the Internet-standard Network Management Framework", Baker, Chan, Smith Expires June 2001 [Page 120] Internet Draft Differentiated Services MIB November 2000 RFC 2570, SNMP Research, Inc., TIS Labs at Network Associates, Inc., Ericsson, Cisco Systems, April 1999 [ACTQMGMT] V. Firoiu, M. Borden "A Study of Active Queue Management for Congestion Control", March 2000, In IEEE Infocom 2000, http://www.ieee-infocom.org/2000/papers/405.pdfBaker, Chan, Smith Expires January 2001 [Page 72] Internet Draft Differentiated Services MIB July 2000[AQMROUTER] V.Misra, W.Gong, D.Towsley "Fuid-based analysis of a network of AQM routers supporting TCP flows with an application to RED", In SIGCOMM 2000, http://www.acm.org/sigcomm/sigcomm2000/conf/paper/sigcomm2000-4- 3.ps.gz [AF-PHB] J. Heinanen, F. Baker, W. Weiss, J. Wroclawski, "Assured Forwarding PHB Group.", RFC 2597, June 1999. [DSARCH] S. Blake, D. Black, M. Carlson, E. Davies, Z. Wang, W. Weiss, "An Architecture for Differentiated Service", RFC 2475, December 1998. [DSFIELD] K. Nichols, S. Blake, F. Baker, D. Black, "Definition of the Differentiated Services Field (DS Field) in the IPv4 and IPv6 Headers", RFC 2474, December 1998. [DSPIB] M. Fine, K. McCloghrie, J. Seligson, K. Chan, S. Hahn, A. Smith, "Differentiated Services Policy Information Base", Internet Draft <draft-ietf-diffserv-pib-00.txt>, March 2000 [DSTERMS] D. Grossman, "New Terminology for Diffserv", Internet Draft<draft- ietf-diffserv-new-terms-02.txt>,<draft-ietf-diffserv-new-terms-02.txt>, November 1999. [EF-PHB] V. Jacobson, K. Nichols, K. Poduri, "An Expedited Forwarding PHB." RFC 2598, June 1999. [IFMIB] K. McCloghrie, F. Kastenholz, "The Interfaces Group MIB using SMIv2", RFC 2233, November 1997. [INETADDRESS] Daniele, M., Haberman, B., Routhier, S., Schoenwaelder, J., Baker, Chan, Smith Expires June 2001 [Page 121] Internet Draft Differentiated Services MIB November 2000 "Textual Conventions for Internet Network Addresses.", RFC 2851, June 2000. [INTSERVMIB] F. Baker, J. Krawczyk, A. Sastry, "Integrated Services Management Information Base using SMIv2", RFC 2213, September 1997. [MODEL] Y. Bernet, S. Blake, A. Smith, D. Grossman, "An Informal Management Model for Diffserv Routers", Internet Draft <draft-ietf-diffserv- model-04.txt>, July 2000. [POLTERM] F. Reichmeyer, D. Grossman, J. Strassner, M. Condell, "A Common Terminology for Policy Management", Internet Draft <draft-Baker, Chan, Smith Expires January 2001 [Page 73] Internet Draft Differentiated Services MIB July 2000reichmeyer-polterm-terminology-00.txt>, March 2000 [QUEUEMGMT] B. Braden et al., "Recommendations on Queue Management and Congestion Avoidance in the Internet", RFC 2309, April 1998. [RED93] "Random Early Detection", 1993.10.12. Authors' Addresses Fred Baker Cisco Systems 519 Lado Drive Santa Barbara, California 93111 fred@cisco.com Kwok Ho Chan Nortel Networks 600 Technology Park Drive Billerica, MA 01821 khchan@nortelnetworks.com Andrew Smith ah_smith@pacbell.net Baker, Chan, Smith Expires June 2001 [Page 122] Internet Draft Differentiated Services MIB November 2000 Table of Contents 1 The SNMP Management Framework ................................... 2 2 Introduction ....................................................34 2.1 Relationship to the Diffserv Informal Management Model ........34 2.2 Relationship to other MIBs and Policy Management ..............35 2.3 MIB Overview ..................................................45 3 Structure of this MIB ...........................................56 3.1 DiffServ Data Paths ........................................... 7 3.1.1 Data Path Table ............................................. 7 3.2 Classifiers ...................................................5 3.1.18 3.2.1 Classifier Table ............................................5 3.1.29 3.2.2 Classifier Element Table .................................... 9 3.2.3 Filter Table - IP Six-Tuple Classifier Table............................... 6 3.2................ 9 3.3 Meters ........................................................6 3.2.19 3.3.1 Meter Table .................................................6 3.2.210 3.3.2 Token-Bucket Meter Table ....................................7 3.310 3.4 Actions .......................................................7 3.3.110 3.4.1 DSCP Mark Action Table ......................................7 3.3.211 3.4.2 Count Action Table ..........................................8 Baker, Chan, Smith Expires January 2001 [Page 74] Internet Draft Differentiated Services MIB July 2000 3.3.311 3.4.3 Absolute Drop Action ........................................8 3.411 3.5 Queueing Elements .............................................8 3.4.111 3.5.1 Algorithmic Dropper Table ...................................8 3.4.211 3.5.2 Random Dropper Table ........................................9 3.4.313 3.5.3 Queues and Schedulers .......................................11 3.4.414 3.5.4 Example of Algorithmic Droppers, Queues and Schedulers ......1216 4 MIB Usage Example ............................................... 16 4.1 Data Path Example ............................................. 17 4.2 Data Path and Classifier Example Discussion ................... 17 4.3 Meter and Action Example Discussion ........................... 20 4.4 Queue and Scheduler Example Discussion ........................ 21 5 Conventions used in this MIB ....................................13 4.121 5.1 The use of RowPointer .........................................13 4.221 5.2 Conceptual row creation and deletion ..........................14 522 6 Editorial information ...........................................15 5.123 6.1 Open Issues resolved in previous drafts .......................15 5.223 6.2 Open Issues resolved in this draft ............................17 5.325 6.3 Still Open Issues .............................................18 626 7 MIB Outline ..................................................... 27 8 MIB Definition ..................................................19 733 9 Acknowledgments .................................................70 8118 10 Security Considerations......................................... 70 9........................................ 118 11 References...................................................... 71 10..................................................... 119 12 Authors' Addresses .............................................74122 Baker, Chan, Smith ExpiresJanuaryJune 2001 [Page75]123] Internet Draft Differentiated Services MIBJulyNovember 200011.13. Full Copyright Copyright (C) The Internet Society (2000). All Rights Reserved. This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implmentation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to the Internet Society or other Internet organizations, except as needed for the purpose of developing Internet standards in which case the procedures for copyrights defined in the Internet Standards process must be followed, or as required to translate it into languages other than English. The limited permissions granted above are perpetual and will not be revoked by the Internet Society or its successors or assigns. This document and the information contained herein is provided on an "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Baker, Chan, Smith ExpiresJanuaryJune 2001 [Page76]124] ----