view Side-By-Side changes
Internet Engineering Task Force F. Baker | Diffserv Working Group Cisco Systems INTERNET-DRAFT K. Chan ExpiresMayAugust 2001 Nortel Networksdraft-ietf-diffserv-mib-06.txt| draft-ietf-diffserv-mib-07.txt A. Smith | Allegro NetworksNovember 2000February 2001 | 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 | theDifferentiated Services RouterInformal Management Model for Diffserv Routers [MODEL]. Baker, Chan, Smith ExpiresMayAugust 2001 [Page 1] Internet Draft Differentiated Services MIBNovemberDecember 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 ExpiresMayAugust 2001 [Page 2] Internet Draft Differentiated Services MIBNovemberDecember 2000 readable information is not considered to change the semantics of the MIB. Baker, Chan, Smith ExpiresMayAugust 2001 [Page 3] Internet Draft Differentiated Services MIBNovemberDecember 2000 2. Introduction | 2.1. Relationship to theDiffservInformal Management Model for Diffserv | Router This MIB is designed according tothe Differentiated Services Informal Management Model documented in[MODEL]. The model describes the way | that ingress and egress interfaces of an 'n'-port router aremodelled.modeled. It | describes the configuration and management of a Diffserv interface in | terms ofaone or more Traffic Conditioning Block(TCB) which contains,(TCB), each containing, | arranged in the specified order, 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 bemodelledmodeled 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 the TCBs. The higher level concept of a TCB is not required in the parameterization or in the linking together of the individual elements, hence it is not used in the MIB itself and is only mentioned in the text for relating the MIB | with the [MODEL]. The actual distinguishing of which TCB a specific element is a part of is not needed for theinstructmentationinstrumentation of a device | to support thefunctionalitiesfunctionality ofDiffServ,Diffserv, but it is useful for | conceptual reasons. By notincludingusing the TCBnotion in its parameters,concept, this MIBallowallows any | grouping of elements to constructTCBs,TCBs using the rulesindicateddefined by | [MODEL]: that document should be consulted for the[MODEL].allowed combinations | of elements that make up a TCB. This will minimize changes to this MIB if rules in [MODEL] changes. The notion of a Data Path is used in this MIB to indicate theDiffServDiffserv | processing a packet may experience. This Data Path is 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 applyDiffServDiffserv treatment to the packet. Baker, Chan, Smith ExpiresMayAugust 2001 [Page 4] Internet Draft Differentiated Services MIBNovemberDecember 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 bythe Diffserv Informal Management Model for management.[MODEL]. These elements are | designed with their parameterization tables separated from their data path linkage tables, allowing reuse of each table as much as possible. | The data path linkage in this MIB is coupled with an interfacethruthrough | the use of the diffServDataPathTable. The concept of "interface" is asfor the| defined by InterfaceIndex/ifIndex of the IETF Interfaces MIB [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-HopBehaviour"-basedBehavior"-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 this MIB, especially the parameterization tables. The Data Path table will help in the reuse of the data path linkage tables by having 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 sequentialDiffServ| Diffserv treatments being applied to a packet, and the parameterization of these treatments. These two requirements are kept separatethru out| throughout the design of this MIB, and arefull-filledfulfilled using separate | tables and data definitions. In this MIB, we model the ingress and egress portions of aDiffServDiffserv | 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 stream is conforming or not conforming to its permitted rates Baker, Chan, Smith ExpiresMayAugust 2001 [Page 5] Internet Draft Differentiated Services MIBNovemberDecember 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 TableA general extensible framework for describingThis is the starting point ofDiffServ datapathsDiffserv data paths within a singleDiffServ| Diffserv device. Data paths defined by this table are interface and interface direction specific. Classifier and Filter Tables A general extensible framework and one example of aparameterization table -filter table | (an IP Six-Tuple Multi-Field Classification Table). Meter Tables A general extensible framework and one example of 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"| "multiplexer" and "null" actions described in [MODEL] are accomplished implicitly by means of the RowPointer structures of the other elements. Queue, Scheduler and Algorithmic Dropper Tables A general extensible framework for parameterizing queuing and scheduler systems. The queue measurement dependent algorithmic droppers are also described here. 3. Structure of this MIB This MIB is structured with separate tables for purpose ofDiffServDiffserv data | path description andDiffServDiffserv treatment parameterization of theDiffServDiffserv | device. The data path description and/or the treatment parameterization | tables can each bereusereused independently, allowing the flexibility to | maintain a common data construct forDiffServDiffserv device configuration andBaker, Chan, Smith Expires May 2001 [Page 6] Internet Draft Differentiated Services MIB November 2000| provisioning, independent of theconfiguration/provisioningconfiguration method used. The | definitions in this MIB areintentedintended to bereusedreusable bythe DiffServ PIB and SNMPCONF working group's DiffServ Policy MIB.other future | Baker, Chan, Smith Expires August 2001 [Page 6] Internet Draft Differentiated Services MIB December 2000 standards. The treatment parameters can also be reused by other IP based technologies. For example, IP packet filtering parameters most | likely can be reused by other IP basedtechnologies.technologies that rely on packet | classification. | 3.1.DiffServDiffserv Data Paths This part of the MIBprovideprovides instrumentation for connecting theDiffServ| Diffserv Functional Data path Elements within a singleDiffServDiffserv device. | Please refer to the [MODEL] for discussions on the valid sequencing and | grouping ofDiffServDiffserv Functional Data path Elements. Given some basic information, e.g. ifIndex and interface direction, the firstDiffServDiffserv | Functional Data path Element applied to a given packet on a given | interface is determined. SubsequentDiffServDiffserv Functional Elements are provided by the "Next" pointer attribute of each entry of data path tables. Description of how this "Next" pointer is used in each table is provided in their respective DESCRIPTION clause.The data path can be redefined to allow a different level of control other than interface level control currently defined in this MIB. There is on-going work in this area, most notably the development 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 the Data Path Table provide theDiffServDiffserv treatment starting | points for all packets ofDiffServDiffserv interfaces on this device.Notice notNot all | interfaces on this device need to beDiffServDiffserv interfaces, hence not all | entries in the ifTable need to have corresponding entries in the Data Path Table. Each entry in this table is indexed by ifIndex and the direction of the packet flow. There should be at most two entries for each interface, one for ingress and one for egress. Each entry provides | the firstDiffServDiffserv Functional Data path Element each packet at a | specific interface traveling a specific relative direction should experience.NoticeNOTE: this table is interface specific, with the use of | ifIndex.As indicated in section 2.2, with some modification/extension of the 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 canEntries may be created with zeroDotZero in the diffServDataPathStart attribute to indicatethis explicitly.that there are no further | diffserv elements in that data path. For example, a classifier that | should never match anything but is present to debug or detect traffic | might use this, although one could argue that it should transit to a | dropper. Thenone existencenon-existence ofDiffServ Treatment can also beany Diffserv treatment on an | interface/direction is indicated implicitly bynothavingtheno corresponding | entryat all. The explicit/implicit selection is up to the implementation.in this table. This meansallowallowing 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 theBaker, Chan, Smith Expires May 2001 [Page 7] Internet Draft Differentiated Services MIB November 2000device, for example, this can be forwarding the packet. 3.2. Classifiers The classifier, classifier element, and filter tables determine how traffic is sorted out. They identify separable classes of traffic, by reference to an appropriate filter, which may select anything from an Baker, Chan, Smith Expires August 2001 [Page 7] Internet Draft Differentiated Services MIB December 2000 individual micro-flow to aggregates identified by DSCP. The classification is used to send these separate streams to appropriate Meter, Action, Algorithmic Dropper, Queue,SchedulerandAlgorithmic DropperScheduler elements. For | example,to indicate a multi-stage meter,sub-classes of traffic may be sent to different meter stages: | e.g. in an implementation of the Assured Forwarding (AF) PHB [AF-PHB], | AF11 traffic might be sent to the first meter, AF12 traffic might be sent to the second and AF13 traffic sent to the second meter stage's out-of-profile action. The concept of a classifier is the same as described in [MODEL]. The structure of the classifier and classifier element tables, is the same as the classifier described in [MODEL]. Within each classifier, it must not be important in which order thetestsfilters aremade.applied. This is to | facilitate optimized implementations such as index trees.OrderPrecedence ispresent| used only to resolve ambiguity,by use of "order" here and "precedence"as described in [MODEL]. Filter with | higher values oforderprecedence are compared first; the order of tests for | entries of the sameorderprecedence is unimportant. Adatapathdata path may consist of more than one classifier. There may be | overlap of filter specification between filters of different classifiers. The first classifier functionaldatapathdata path element | encountered, as determined by the sequencing of diffserv functionaldatapathdata | path elements, will be used first. An important form of classification is "everything else": the final stage of the classifier i.e. the one with the lowest order, must be "complete" since the result of an incomplete classifier is not necessarily deterministic - see [MODEL] section 4.1.2. The definition of the actual filter to be used by the classifier is referenced via a StaticRowPointer: this enables the use of any sort of filter table that one might wish to design, standard or proprietary. The | filter table may be, but does not need to be, defined in this MIB | module.The classifiers specified hereClassifiers, used in various ingress and egress interfaces, areat| organized by theinterface level, they may be derived from some more general policies e.g. something based on interface roles, but such discussion is outsideclassifier table. Each classifier will isolate a number | of classes of traffic, identified by various kinds of filters. To | enumerate this, we define thescopeclassifier table, the classifier element | table, and the filter table. A data path entry points to a classifier | entry. A classifier entry identifies a list of classifier elements. A | classifier element effectively includes the filter entry, and points to | a "next" classifier entry or other data path functional element. There | are potentially many types of filters, only one of which is specified in | this MIB Module. Baker, Chan, Smith ExpiresMayAugust 2001 [Page 8] Internet Draft Differentiated Services MIBNovemberDecember 2000document. See e.g. [POLTERM] section 4 for a discussion of Roles.3.2.1. Classifier TableClassifiers are organized by entries of the Classifier Table. With each entry corresponds to a single Classifier. It is the entries inThe classifier table, therefore, identifies theClassifier Tableclassifiers thatget linked from the upstream diffserv functional datapath element, i.e. an entryare | used indiffServDataPathTable. A data path may consist of more than one Classifier, the order the classification processes aplies to the traffic is the same as the ordervarious interfaces. It organizes the list of classifiertable entries are linked inelements | that identify thedata path.various classes. 3.2.2. Classifier Element TableWhile theClassifierTable entries handleselements point to theinput sidefilters which identify various classes | of traffic. The separation between theClassifier, the Classifier Element Table enumerates each branch of"classifier element" and thefan-out| "filter" allows us to use many different kinds ofa Classifier, associating each fan-out branchfilters witha Filter for discriminatingthetraffic for that branch. Each Classifier Element table entry is partsame | essential semantics of "an identified set of traffic". The traffic | matching the filter corresponding to aClassifier, indicated by diffServClfrElementClfrId.classifier element is given to | the "next" data path functional element identified in the classifier | element. 3.2.3. Filter Table - IP Six-Tuple Classifier Table This MIB includes one Filter Table, a definition for an IP Six-Tuple Classifier, used for IP traffic classification. Entries in this filter table are referenced from the StaticRowPointer diffServClfrElementSpecific attributes of classifier element table entries. For example, 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 to the desired DSCP and all other classification attributes set to match-all, their default settings. Each entry in the IP 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 be configured are provided in [MODEL]. 3.3. Meters A meter, according to [MODEL] section 5, measures the rate at which packets making up a stream of traffic pass it, compares this rate to some set of thresholds and produces some number (two or more) ofBaker, Chan, Smith Expires May 2001 [Page 9] Internet Draft Differentiated Services MIB November 2000potential results. A given packet is said to "conform" to the meter if, at the time that the packet is being looked at, the stream appears to be within the meter'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 ofmodelling| Baker, Chan, Smith Expires August 2001 [Page 9] Internet Draft Differentiated Services MIB December 2000 modeling does not imply anything about the implementation being | "sequential": multi-rate/multi-profile meters e.g. those designed to support [SRTCM], [TRTCM], or [TSWTCM] can still bemodelledmodeled 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.3.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 is referenced via a pointer to a table containing those specifics. This enables the use of any sort of specific meter table that one might wish to design, standard or proprietary. The specific meter table may be, but does not need to be, defined in this MIB module. 3.3.2. Token-Bucket Meter Table This is included as an example of a common type of meter. Entries in this table are referenced from the StaticRowPointer diffServMeterSpecific attributes of meter table entries. The parameters are represented by a rate diffServTBMeterRate, a burst size diffServTBMeterBurstSize, and an interval diffServTBMeterInterval. How these parameters are used depends on the type of meter being parameterized, this is provided by the diffServTBMeterType attribute. Additional meter parameterization tables can be defined in other MIBs when necessary. 3.4. Actions Actions include "no action", "mark the traffic with a DSCP", "drop the traffic" or "count it". Other tasks such as "shape the traffic" or "drop | based on some algorithm" are handled elsewhere asqueueingqueuing mechanisms, rather than actions, consistent with [MODEL]. The "multiplexer", "replicator" and "null" actions described in [MODEL] are accomplished implicitly by means of the RowPointer structures of the other elements. This MIB uses the Action Table diffServActionTable to organize one Action's relationship with the element(s) before and after it. It allows Actions to be cascaded to enable multiple Actions be applied to a single traffic stream by using each entry's diffServActionNext attribute. The diffServActionNext attribute of the last action entry in the chainBaker, Chan, Smith Expires May 2001 [Page 10] Internet Draft Differentiated Services MIB November 2000points to the next element in the TCB, if any, e.g. aQueueingQueuing element. | It may also point at a next TCB. The parameters needed for each Action element will depend on the type of Action to be taken. Hence there are specific Action Tables for all the Baker, Chan, Smith Expires August 2001 [Page 10] Internet Draft Differentiated Services MIB December 2000 different Action types. This flexibility allows additional Actions be specified in future revisions of this MIB, or in other MIBs and also allows for the use of proprietary Actions without impact on those defined here. 3.4.1. DSCP Mark Action Table This Action is applied to traffic in order to mark it with a Diffserv Codepoint (DSCP) value, specified in the diffServDscpMarkActTable. Other marking actions might be specified elsewhere - these are outside the scope of this MIB. 3.4.2. Count Action Table Count Actions are used to count the traffic passing along a particular path through the model. 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. Note that there are counters contained directly in Algorithmic Dropper elements to indicate the amount of traffic dropped by those elements.Notice counter supportSince count actions are defined in this way, they are inherently | optional. However, the management information necessary to demonstrate | SLA compliance or non-compliance isimplementation specific. Where within a data path and for what purpose a counter exists cannot available from any other source. | Therefore, practically, count actions may bedifferent between implementations. It is advisableexpected tohave at least one counter within a data path and have different counts derived from DiffServ counters and counters definedbe included inother MIBs.| each set of actions that a network manager configures. 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 Drop Action 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.QueueingQueuing Elements These include Algorithmic Droppers, Queues and Schedulers which are all inter-related in their use ofqueueingqueuing techniques.Baker, Chan, Smith Expires May 2001 [Page 11] Internet Draft Differentiated Services MIB November 2000| 3.5.1. Algorithmic Dropper Table Algorithmic Droppershave a close relationship with queueing: theyare represented in this MIB by entries in an | Algorithmic Dropper Table.Entries contain a diffServAlgDropNext attribute which indicates to which queue they sink their traffic.An Algorithmic Dropper is assumed to operateindiscriminately on all packets that are presented| Baker, Chan, Smith Expires August 2001 [Page 11] Internet Draft Differentiated Services MIB December 2000 indiscriminately on all packets that are presented at itsinput. If it is necessary to perform additional classification on the stream then a separate TCB mustinput, all | traffic separation should beintroduced at this point: Classifier elements here can then distinguishdone by classifiers and meters preceding | it. Algorithmic Droppers have a close relationship with queuing, each | Algorithmic Dropper Table entry contains a diffServAlgDropQMeasure | attribute, indicating which queue's state affects thedifferent typescalculation oftraffic onthe | Algorithmic Dropper. Each entry also contains a diffServAlgDropNext | attribute whichdropping isindicates toact andwhich queue thetreatment for each type is described by a separate diffServAlgDropEntry.Algorithmic Dropper sinks | its traffic. Algorithmic Droppers may also contain a pointer to specific detail of | the drop algorithm, diffServAlgDropSpecific. This MIB defines the detail | for three drop algorithms: Tail Drop, Head Drop and Random Drop; other | algorithms are outside the scope of this MIB module but the general | framework is intended to allow for their inclusion via other MIB | modules. One generally-applicable parameter of a dropper is the specification of a queue-depth threshold at which some drop action is to start. This is | represented in this MIB, as a base attribute, diffServAlgDropQThreshold, | of the Algorithmic Dropper entry. Thequeue forattribute, | diffServAlgDropQMeasure, specifies which queue's depth | diffServAlgDropQThreshold is tobe compared and the depth threshold tocompareagainst, is specified with diffServAlgDropQMeasure.against. o A Tail Dropper requires the specification of a maximum queue depth threshold: when the queue pointed at by diffServAlgDropQMeasure reaches that depth threshold, diffServAlgDropQThresh, any new traffic arriving at the dropper is discarded. This algorithm uses only parameters that are part of the diffServAlgDropEntry. o A Head Dropper requires the specification of a maximum queue depth threshold: when the queue pointed at by diffServAlgDropQMeasure reaches that depth threshold, diffServAlgDropQThresh, traffic currently at the head of the queue is discarded. This algorithm uses only parameters that are part of the diffServAlgDropEntry. o Random Droppers are recommended as a way to control congestion, in [QUEUEMGMT] and called 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 a minimal set of controls for any random dropper, but expects that vendors will augment the table with additional controls andBaker, Chan, Smith Expires May 2001 [Page 12] Internet Draft Differentiated Services MIB November 2000| status in accordance with their implementation. This algorithm | requires additional parameters on top of those in | diffServAlgDropEntry: these are discussed below. Baker, Chan, Smith Expires August 2001 [Page 12] Internet Draft Differentiated Services MIB December 2000 3.5.2. Random Dropper Table One example of a random dropper is a RED-like dropper. An example of the | representation chosen in this MIB for this element is shown in Figure 1. Random droppers often have their drop probability function described as a plot of drop probability (P) against averaged queue length (Q). (Qmin,Pmin) then defines the start of the characteristic plot. Normally Pmin=0, meaning with average queue length below Qmin, there will be no drops. (Qmax,Pmax) defines a "knee" on the plot, after which point the drop probability become more progressive (greater slope). (Qclip,1) defines the queue length at which all packets will be dropped. Notice this is different from Tail Drop because this uses an averaged queue length.althoughAlthough it is possible for Qclip = Qmax. | In the MIB module, diffServRandomDropMinThreshBytes and diffServRandomDropMinThreshPkts represent Qmin. diffServRandomDropMaxThreshBytes and diffServRandomDropMaxThreshPkts represent Qmax. diffServAlgDropQThreshold represents Qclip. | diffServRandomDropInvProbMax representsPmax.Pmax (inverse). This MIB does | not represent Pmin (assumed to be zero unless otherwiserepresented) or Qclip (assumed to be Qmax unless otherwiserepresented).+-------------+ +-----------+ --->| Next -----+--+-->| Next --+------> to Scheduler | Thresh=100k | | | Min=none | | Measure ----+--+ | Max=none | | Type=random | | Pri=10| In addition, since message memory is finite, queues generally have some |Specific ---+--+upper bound above which they are incapable of storing additional |Type=fifotraffic. Normally this number is equal to Qclip, specified by |+-------------+diffServeAlgDropQThreshold. Each random dropper specification is associated with a queue. This allows multiple drop processes (of same or different types) to be |+-----------+ AlgDrop.3associated with the same queue, as different PHB implementations may require. This also allows for sequences of multiple droppers if AlgDrop Queue | +-----------------+ +-------+ |Queue.4--->| Next ---------+--+------------------->| Next -+--> ... | |+--------------+ +-->| Minthresh=10k|QMeasure -------+--+ |Maxthresh=80k|... |Weight=1/16| |ProbMax= 0.5QThreshold | RandomDrop +-------+ | | Type=randomDrop | +----------------+ | | Specific -------+---->| MinThreshBytes | | +-----------------+ | MaxThreshBytes | | | InvProbMax | | | InvWeight | | | SamplingRate | | +----------------+ |+--------------+ RandomDrop.3Figure 1: Example Use of the RandomDropTable for Random Droppers * Baker, Chan, Smith ExpiresMayAugust 2001 [Page 13] Internet Draft Differentiated Services MIBNovemberDecember 2000Each random dropper specification is associated with a queue. This allows multiple drop processes (of same or different types) be associated with the same queue, as different PHB implementations may require. This also allows for sequences of multiple droppers ifnecessary. The calculation of a smoothed queue length may also have an important | bearing on thebehaviourbehavior of the dropper: parameters may include the | samplingrateinterval or rate, and the weight of each sample. The | performance may be very sensitive to the values of these parameters and a wide range of possible values may be required due to a wide range of link speeds. Most algorithms include a sample weight, represented here by diffServRandomDropInvWeight. The availability of diffServRandomDropSamplingRate as readable is important, the information provided by Sampling Rate is essential to the configuration of diffServRandomDropInvWeight. Having Sampling Rate be configurable is also helpful, as line speed increases, the ability 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] and [AQMROUTER]. Additional parameters may be added in an enterprise MIB module, e.g. by using AUGMENTS on this table, to handle aspects of random drop | algorithms that are notstandardisedstandardized here. NOTE: Deterministic Droppers can be viewed as a special case of Random Droppers with the 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 Schedulers The Queue Table models simple FIFO queues, as described in [MODEL] section 7.1.1. The Scheduler Table allows flexibility in constructing both simple and somewhat more complexqueueingqueuing 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. Queue Table entries are pointed at by the "next" attributes of the upstream 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 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 entryBaker, Chan, Smith Expires May 2001 [Page 14] Internet Draft Differentiated Services MIB November 2000in the Queue Table.NoticeNOTE: Queue Table and Scheduler Table entries are for data path | description, they both uses Scheduler Parameterization Table entries for Baker, Chan, Smith Expires August 2001 [Page 14] Internet Draft Differentiated Services MIB December 2000 diffserv treatment parameterization. Queue Table entries specify the scheduler it wants service from by use of its Next pointer. Each Scheduler Table entry represents 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: this is represented in the MIB by having the scheduling parameters be associated with each input. In this way, sets of Queues can be grouped together as inputs to the same Scheduler. This table serves to represent the example scheduler described in the [MODEL]. More complex queuing and scheduling structures are possible using the tables defined in this MIB. When necessary, more complex constructs may be created outside of this MIB. Scheduler Parameter Table entries are used toparameterizedparameterize each input | that feeds into a scheduler. The inputs can be a mixture of Queue Table and Scheduler Table entries. Scheduler Parameter Table entries can be used/reused by one or more Queue and/or Scheduler Table entries. For representing a Strict Priority scheduler, each scheduler input is assigned a priority with respect to all the other inputs feeding the same scheduler, with default values for the other parameters. A | higher-priority input which contains traffic that is not being delayed | for shaping will be servicedfirst overbefore a lower-priorityinput, assuming that all guarantees have already been met.input. Forweighted scheduling methodWeighted Queuing methods 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, as were token-bucket meters, by a rate | diffServSchdParamMinRateAbs and a burst sizediffServSchdParamBurstSize.| diffServSchdParamMinBurstSize. The rate may, alternatively, be | represented by a relative value, as a fraction of the interface's | current line rate, diffServSchdParamMinRateRel to assist in cases where | line rates are variable or where a higher-level policy might be | expressed in terms of fractions of network resources. The two rate | parameters areinter- relatedinter-related and changes in one may be reflected in the | other. For weighted scheduling methods, one can say loosely, that WRR focuses on meeting bandwidth sharing, without concern for relative delay amongst the queues; where WFQ control both queue service order and amount of traffic serviced, providing meeting bandwidth sharing and relative delay ordering amongst the queues. A queue or scheduled set of queues (which is an input to a scheduler) | may also be capable of acting as a non-work-conserving [MODEL] traffic Baker, Chan, Smith ExpiresMayAugust 2001 [Page 15] Internet Draft Differentiated Services MIBNovemberDecember 2000An input may also be capable of acting as a non-work-conserving [MODEL] trafficshaper: this is done by defining a Maximum Service Rateleaky- bucketleaky-bucket profile in order to limit the scheduler bandwidth available to that input. This is represented, similarly to the minimum rate, by a rate | diffServSchdParamMaxRateAbs and a burst sizediffServSchdParamBurstSize.| diffServSchdParamMaxBurstSize. The rate may, alternatively, be represented by a relative value, as a fraction of the interface's current line rate, diffServSchdParamMaxRateRel.Other types of priority and weighted scheduling methods can be defined using existing parametersThere was discussion indiffServSchdParamEntry. Notice diffServSchedulerMethod uses OBJECT IDENTIFIER syntax, with| thedifferentworking group about alternative modeling approaches, such as | defining a shaping action or a shaping element. We did not take this | approach because shaping is in fact something a scheduler does to its | inputs, and we felt it was simpler and more elegant to simply describe | it in that context. Other types of priority and weighted scheduling methods can be defined | using existing parameters in diffServSchdParamEntry. NOTE: diffServSchedulerMethod uses OBJECT IDENTIFIER syntax, with the different types of scheduling methods defined as OBJECT-IDENTITY.When new| Future scheduling methodsneed tomay bedefined, and no new scheduling parameters are needed, just need to add a new OBJECT-IDENTITY definitiondefined insomeotherMIB, withMIBs. This require an | OBJECT-IDENTITY definition, a description of how the existingscheduling parameters will be used by the new scheduling method. If the existing scheduling parametersobjects | arenot sufficient,reused, if they are, and any newscheduling parameter tables can be defined in some other MIB. Noticeobjects they require. NOTE: hierarchical schedulers can be parameterized using this MIB by | having Scheduler Table entries feeds into Scheduler Table entry. | 4. MIB Usage Example This section provides some examples on how the different table entries | of this MIB may be used together for aDiffServDiffserv Device, with the usage of each individual attribute be defined within the MIB module itself. 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. "0.0" is being used to mean zeroDotZero. And for Scheduler Method "= X" means "using the OID of diffServSchedulerX". 4.1. Model's Example As an example, when this MIB's structures are used for the hypothetical configuration in [MODEL] section 8.1, the result is shown in Figure 2, 3, and 4. The parameterization table entries' values are not specified in detail here, they can be obtained from [MODEL] section 8.1.This example has been explained in sufficient detail in [MODEL] section 8.1, please use that as a reference.* Baker, Chan, Smith ExpiresMayAugust 2001 [Page 16] Internet Draft Differentiated Services MIBNovemberDecember 2000 +---------------------+ +------------------------> Q_EF |DataPath | | | ifIndex=1 | | +--------------+ | IfDirection=Ingress | +------+ | +--->|Action | | Start --------------+--->|Clfr | | | | Id=EF2 | +---------------------+ | Id=1 | | | | Next=0.0 | +------+ | | | Specific=0.0 | | | | Type=AbsDrop | | | +--------------+ | | | +-------------------+ | | +------------+ +--------------+ | +-----------+ | |ClfrElement | +-->|Meter | | +->|Action | | | Id=EF | | | Id=EF | | | | Id=EF1 | | | ClfrId=1 | | | SucceedNext -+-+ | | Next -----+----+ | Order=NA | | | FailNext ----+----+ | Specific -+--+ | Next ------+--+ | Specific -+ | | Type=Spcf | | | Specific --+-+ +-----------+--+ +-----------+ | +------------+ | | | | | +-------+ | | | | +--------+ | +---------+ | +--------------+ +-->|FilterEF| +-->|TBMeterEF| +->|CountActEFDrop| +--------+ +---------+ +--------------+ +------------+ +----------+ +--------------+ |ClfrElement | +-->|Action | +-->|AlgDrop | | Id=AF11 | | | Id=AF11 | | | Id=AF11 | | ClfrId=1 | | | Next ----+--+ | Type=tailDrop| | Order=NA | | | Specific +-+ | Next --------+--+->Q_AF11Q_AF1 | | Next ------+--+ | Type=Spcf| | | QMeasure ----+--+ | Specific --+-+ +----------+ | | QThreshold | +------------+ | | | Specific=0.0 | | | +--------------+ | | | +----------+ | +------------+ +->|FilterAF11| +->|CountActAF11| +----------+ +------------+ Figure 2: Example from Model Section 8.1 part 1 Baker, Chan, Smith ExpiresMayAugust 2001 [Page 17] Internet Draft Differentiated Services MIBNovemberDecember 2000 +------------+ +--------------+ +-------------+ |ClfrElement | +-->|Meter | +-->|Action | | Id=AF21 | | | Id=AF21 | | | Id=AF21S | | ClfrId=1 | | | SucceedNext -+--+ | Next -------+---->Q_AF21Q_AF2 | | Order=NA | | | FailNext + | | Specific -+ | | Next ------+--+ | Specific --+ | | Type=Spcf | | | Specific --+-+ +----------+-+-+ +-----------+-+ +------------+ | | | | | | | +---+ | | | | | +----------+ | | +-----------+ | +-------------+ +->|FilterAF21| | +->|TBMeterAF21| +->|CountActAF21S| +----------+ | +-----------+ +-------------+ |+--------------++--------------------+ | | | | +-----------+ +-----------+ | +-->|Action | +-->|Action | | | Id=AF21F1 | | | Id=AF21F2 | | | Next -----+--+ | Next -----+------>Q_BEQ_AF2 | | Specific -+-+ | Specific -+-+ | | Type=Spcf | | | Type=Spcf | | | +-----------+ | +-----------+ | | | |+-------------+| | +-------------+ | +---------------+ | +->|CountActAF21F|+->|DscpMarkActBE| +-------------++->|DscpMarkActAF22| | +-------------+ +---------------+ | +------------+ |ClfrElement | +-----------------------------------------> Q_BE | Id=WildCard| | | ClfrId=1 | | | Order=NA | | | Next ------+--+ +--------------+ | Specific --+------>|FilterMatchAll| +------------+ +--------------+ Figure 3: Example from Model Section 8.1 part 2 Baker, Chan, Smith ExpiresMayAugust 2001 [Page 18] Internet Draft Differentiated Services MIBNovemberDecember 2000 +-------------+ Q_EF--->|Q | | Id=EF +--+--------------------------+ | Next ----+ | +-----------+ | | SchdParam --+-->|SchdParamEF| | +-------------+ +-----------+ | | +-------------++----------------+| +----------------+Q_AF11->|Q|+->|SchedulerQ_AF1-->|Q | +->|Scheduler | |Id=AF11 | | | Id=AF11Shaper| Id=AF1 +--+--------------------------+ | Id=Diffserv |Id=DiffServ| | Next-------+---+----+ |Next ----------+--++------------+ |Next=0.0| Next=0.0 |SchdParam --+-+|Method=Shaping| SchdParam --+-->|SchdParamAF1| | | Method=Priority|+-------------+ | | SchdParam -+| +-------------+ +------------+ | | SchdParam=0.0 | |+------------+---+| +----------------++---------------+ | | | +------------+|| +--------------+ | +-------------+ | +->|SchdParamAF11S| +->|SchdParamAF11| | +--------------++-------------+ | Q_AF2-->|Q |+-------------+ | Q_AF21->|Q| | |Id=AF21Id=AF2 +--+--------------------------+ | | Next ----+ |+-------------++------------+ | | | SchdParam--+-->|SchdParamAF21|--+-->|SchdParamAF2| | | +-------------++-------------++------------+ | | | +-------------+ | Q_BE--->|Q | | | Id=BE +--+--------------------------+ | Next ----+ | +-----------+ | SchdParam --+-->|SchdParamBE| +-------------+ +-----------+ Figure 4: Example from Model Section 8.1 part 3 4.2. Additional Data Path Example 4.2.1. Data Path and Classifier Example Discussion The example in Figure 5 shows a singleDataPathTablediffServDataPathTable entry | feeding into a single Classifier entry, with threeClfrElementClassifier Element | 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.Baker, Chan, Smith Expires May 2001 [Page 19] Internet Draft Differentiated Services MIB November 2000 +---------------------+ |DataPathAnother level of classification can be defined that follows the Action | functional DataPath elements in Figure 5. This multi-level classification allow the construction of traffic separations and | specific actions at each level, like: if (dept1) then take dept1-action { Baker, Chan, Smith Expires August 2001 [Page 19] Internet Draft Differentiated Services MIB December 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| +-->|CountAct1| +-------+ +--------+ +---------+ +------------+ +--------------+ +-----------+ |ClfrElement | +-->|Meter | +-->|Action | | Id=102 | | | Id=102 | | | Id=102 | | ClfrId=1 | | | SucceedNext -+--+ | Next -----+---->... | Order=NA | | | FailNext ----+->... | Specific -+-+ | Next ------+--+ | Specific -+ | | Type=Spcf | | | Specific --+-+ +-----------+--+ +-----------+ | +------------+ | | +-------+ | +-------+ | +--------+ | +---------+ +-->|Filter2| +-->|TBMeter2| +-->|CountAct2| +-------+ +--------+ +---------+ +------------+ +--------------+ +-----------+ |ClfrElement | +-->|Meter | +-->|Action | | Id=103 | | | Id=103 | | | Id=103 | | ClfrId=1 | | | SucceedNext -+--+ | Next -----+---->... | Order=NA | | | FailNext ----+->... | Specific -+-+ | Next ------+--+ | Specific -+ | | Type=Spcf | | | Specific --+-+ +-----------+--+ +-----------+ | +------------+ | | +-------+ | +-------+ | +--------+ | +---------+ +-->|Filter3| +-->|TBMeter3| +-->|CountAct3| +-------+ +--------+ +---------+ Figure 5: Additional Data Path Example Part 1 Baker, Chan, Smith ExpiresMayAugust 2001 [Page 20] Internet Draft Differentiated Services MIBNovemberDecember 2000 +-------------+ +-----------------++----------------+| ---->|Q | +->|Scheduler |+->|Scheduler| | Id=EF | | |Id=DiffServ | | | Id=ShapingId=Diffserv | |Next -------+---+| Next-----------+--+-------+-----------------------+ | Next=0.0 | | | SchdParam -+| | | Method=Priority | |Method=Shaping |+------------++ | |SchdParam -+SchdParam=0.0 | |SchdParam=0.0| | +-----------------+ |+------------+----+ +----------------++------------+ | | | |+------------+| | +-----------+ | | +->|SchdParamEF| | |+----------------++-----------+ +---------------------+ |+->|SchdParamShaping| | +----------------+ | +-----------------------------------------+| +----------------+ +-------------+ | --->|AlgDrop | +->|Q | | | Id=AF11 | | |Id=AF1XId=AF1 | +-------------+ | | | Type=randomDrop| | | Next -------+--->|Scheduler | | | Next ----------+-+--+ | SchdParam -+| | Id=AF | | | QMeasure ------+-+ | +------------++ | Next -------+--+ | QThreshold | | | | Method=WFQ | | Specific -+ | | +------------+ | SchdParam --+--+ +-----------+----+ | | +-------------+ | | | |+-------------++------------+ | | +-----------+ |+->|SchdParamAF1X|+->|SchdParamAF1| +----------------+ | | +--------------+ |+-------------++------------+ | | +->|RandomDropAF11| | | +-----------+ +--------------+ | +->|SchdParamAF| | +-----------+ +----------------+ | --->|AlgDrop | | | Id=AF12 | | | Type=randomDrop| | | Next ----------+-+--+ | QMeasure ------+-+ | QThreshold | | Specific -+ | +-----------+----+ | +-----------+ | +--------------+ +->|RandomDropAF12| +--------------+ Figure 6: Additional Data Path Example Part 2 if (appl1) then take dept1-appl1-action. if (appl2) then take dept1-appl2-action. Baker, Chan, Smith ExpiresMayAugust 2001 [Page 21] Internet Draft Differentiated Services MIBNovemberDecember 2000Another level of classification can be defined that follows the Action functional datapath elements in Figure 5. This second level of classifiers and their subsequent functional datapath elements would be considered as in another TCB. This multi-level classification allow the construction of traffic seperations like: if (dept1) then take dept1-action { if (appl1) then take dept1-appl1-action. if (appl2) then take dept1-appl2-action.if (appl3) then take dept1-appl3-action. } if (dept2) then take dept2-action { if (appl1) then take dept2-appl1-action. if (appl2) then take dept2-appl2-action. if (appl3) then take dept2-appl3-action. } if (dept3) then take dept3-action { if (appl1) then take dept3-appl1-action. if (appl2) then take dept3-appl2-action. if (appl3) then take dept3-appl3-action. }Minimumly,Minimally, the filters for appl1, appl2, appl3 may be reused for the | above setup. 4.2.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 requiremutliplemultiple TBMeter entries for parameterization, a second level Meter and TBMeter table entries may be used. For example, fortrTCM,[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 5. This is purposely done | toindicateindicates that alldatapathsDataPath should have at least one CountAct Action. Other actions can be pointed to by the Next pointer of the CountAct action, like DscpMarkAct action.Baker, Chan, Smith Expires May 2001 [Page 22] Internet Draft Differentiated Services MIB November 20004.2.3. Queue and Scheduler Example Discussion Example in Figure 6 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 6, 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 fairqueueingqueuing method. The AF2X and AF3X | queues are not shown in Figure 6, they can be very much like AF1X queue Baker, Chan, Smith Expires August 2001 [Page 22] Internet Draft Differentiated Services MIB December 2000 setup. Another traffic stream, EF, is handled by the EF queue. SchedulerDiffServ| Diffserv services output of EF queue using SchdParamEF, and output of AF scheduler using SchdParamAF, with Priority Queue scheduling 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 6. For shaping, the diffServSchdParamMaxRate attributes should be used. The Shaping Scheduler is indicated as the last diffserv functional element of this data path by using its Next pointer with value of zeroDotZero. 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 to indicate succession, for pointing to data path linkage table entries. 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 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 functionaldatapathDataPath elementsBaker, Chan, Smith Expires May 2001 [Page 23] Internet Draft Differentiated Services MIB November 2000| 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. Guidance is provided in the MIB module's DESCRIPTION-clause for each of the linkage attribute. In general, for both zeroDotZero and dangling RowPointer, it is assumed the data path ends and the traffic should be given to the none-diffserv part of the device. Any variation from this usage is indicated by the attribute affected. Baker, Chan, Smith Expires August 2001 [Page 23] Internet Draft Differentiated Services MIB December 2000 5.2. The use of StaticRowPointer StaticRowPointer, like 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 to indicate parameterization, for pointing to parameterization table entries. For indirection as in the diffServClfrElementTable, the idea is to allow other MIBs, including proprietary ones, to define new and arcane filters - MAC headers, IPv4 and IPv6 headers, BGP Communities and all sorts of | other things - whilst stillutilisingutilizing 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. StaticRowPointer also clearly indicate the identified conceptual row's content does not change, hence they can be simultaneously used, pointed to, by more than one data path linkage table entries. The identification of StaticRowPointer allows higher level policy mechanisms to take advantage of this characteristic. 5.3. 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. diffServClfrNextFree which provides a suitable value for the index of the next row to be created e.g. diffServClfrId. A special value, 0, is used to indicate that no more entries can becreatedconfigured by the agent. | The table also has a columnar Status attribute with RowStatus syntax [6].Baker, Chan, Smith Expires May 2001 [Page 24] Internet Draft Differentiated Services MIB November 2000If 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 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 Baker, Chan, Smith Expires August 2001 [Page 24] Internet Draft Differentiated Services MIB December 2000 NextFree value and the first manager's row-creation attempt. The use of RowStatus is covered in more detail in [6]. 6. Extending this MIB With the structures of this MIB divided into data path linkage tables and parameterization tables, and with the use of RowPointer and StaticRowPointer, new data path linkage and parameterization tables can be defined in other MIB modules, and used with tables defined in this MIB. This MIB does not limit on the type of entries its RowPointer attributes can point to, hence new functional data path elements can be defined in other MIBs and integrated with functional data path elements of this MIB. For example, new Action functional data path element can be defined for Traffic Engineering and be integrated withDiffServDiffserv | functional data path elements, possibly used within the same data path sharing the same classifiers and meters. It is more likely that new parameterization tables will be created in other MIBs as new methods or proprietary methods get deployed for existing diffserv functional data path elements. For example, different kinds of filters can be defined by using new filter parameterization tables. New scheduling methods can be deployed by defining new scheduling method OIDs and new scheduling parameter tables. Notice both new data path linkage tables and parameterization tables can be added without needing to change this MIB document or affect existing tables and their usage. Baker, Chan, Smith ExpiresMayAugust 2001 [Page 25] Internet Draft Differentiated Services MIBNovemberDecember 2000 7. MIB DefinitionDIFF-SERV-MIB| DIFFSERV-DSCP-TC DEFINITIONS ::= BEGIN | | IMPORTS Integer32,Unsigned32, Counter32, Counter64,MODULE-IDENTITY,OBJECT-TYPE, OBJECT-IDENTITY, zeroDotZero,mib-2 | FROM SNMPv2-SMITEXTUAL-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| TEXTUAL-CONVENTION | FROMINTEGRATED-SERVICES-MIB; diffServMibSNMPv2-TC; | | | diffServDSCPTC MODULE-IDENTITY | LAST-UPDATED"200011190000Z""200101080000Z" | 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 | | | Andrew Smith | Allegro Networks | 6399 San Ignacio Ave | San Jose, CA 95119, USA | E-mail: andrew@allegronetworks.com"Baker, Chan, Smith Expires May 2001 [Page 26] Internet Draft Differentiated Services MIB November 2000| DESCRIPTION"This MIB defines the objects necessary to manage a device that uses the Differentiated Services Archi- tecture described| "The Textual Conventions defined inRFC 2475 andthis module should be used | whenever theInformal Management Model for DiffServ RoutersDiffserv Code Point is used indraft-ietf- diffserv-model-05.txt."a MIB." | REVISION"200011190000Z""200101080000Z" | DESCRIPTION | "Initial version, published as RFC xxxx." | ::= { mib-212345 } -- anybody who uses this unassigned -- number deserves the wrath of IANA diffServMIBObjects OBJECT IDENTIFIER ::= { diffServMib 1 } diffServMIBConformance OBJECT IDENTIFIER ::= { diffServMib 212344 } --These textual conventions have no effect on either the syntax -- nor the semantics of any managed object. Objects defined -- using this convention are always encodedto be assigned bymeans of the -- rules that define their primitive type.IANA | | | Dscp ::= TEXTUAL-CONVENTION | DISPLAY-HINT "d" | STATUS current | Baker, Chan, Smith Expires August 2001 [Page 26] Internet Draft Differentiated Services MIB December 2000 DESCRIPTION | "The IP header Diffserv Code-Point that may be used for | discriminating or marking a trafficstream. The value -1 ( 4294967295 for Integer32 ) is used to indicate a wildcard i.e. any value."stream." | REFERENCE | "RFC 2474, RFC 2780" | SYNTAX Integer32(4294967295(0..63) |0..63) SixTupleClfrL4Port| | DscpOrAny ::= TEXTUAL-CONVENTION | DISPLAY-HINT "d" | STATUS current | DESCRIPTION"A| "The IP header Diffserv Code-Point that may be used for | discriminating or marking a traffic stream. The valueindicating-1 is used | to indicate aLayer-4 protocol port number."wildcard i.e. any value." | REFERENCE | "RFC 2474, RFC 2780" | SYNTAXUnsigned32 (0..65535) IfDirectionInteger32 (-1 | 0..63) | END | SNMP-ROWPOINTER-TC-MIB DEFINITIONS ::= BEGIN | IMPORTS | MODULE-IDENTITY, mib-2 | FROM SNMPv2-SMI | TEXTUAL-CONVENTIONSTATUS current DESCRIPTION| FROM SNMPv2-TC; | | | snmpRowPointerTCMIB MODULE-IDENTITY | LAST-UPDATED "200012150000Z" | ORGANIZATION "IETF Diffserv WG" | CONTACT-INFO | " Bob Moore | IBM Corporation, BRQA/502 | PO Box 12195 | Research Triangle Park, NC 27709, USA | Phone: +1 919 254 4436 | E-Mail: remoore@us.ibm.com | | | Kwok Ho Chan | Nortel Networks | 600 Technology Park Drive | Billerica, MA 01821, USA | E-Mail: khchan@nortelnetworks.com" | Baker, Chan, Smith ExpiresMayAugust 2001 [Page 27] Internet Draft Differentiated Services MIBNovemberDecember 2000"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 } -- The followingDESCRIPTION | "This MIB module defines textualconvention, StaticRowPointer, -- is similiarconventions similar to the | RowPointer textual convention,-- but embodywith additionalsemantics to indicate whether -- a single instance of the target object can be pointedsementics." | REVISION "200012150000Z" | DESCRIPTION | "Initial version, published as RFC xxxx." | ::= { mib-2 12343 } -- to be assigned bymore than one parent objects. -- ThisIANA | | StaticRowPointer ::= TEXTUAL-CONVENTION | STATUS current | DESCRIPTION | "Like a RowPointer, this textual conventionallowsrepresents aclearer definition -- of parameterization table entries, as compared to -- datapath linking table entries. -- Objects pointed to by StaticRowPointers, parameterization -- table entries, can be reused by one or more data path -- functional elements in one or more TCBs, belonging to one -- or more data paths. -- This textual convention also allow easier reuse of -- data definitions in this MIB by higher level configuration -- and provisioning mechanisms. StaticRowPointer ::= TEXTUAL-CONVENTION STATUS current DESCRIPTION "Like a RowPointer, this textual convention represents a pointerpointer | to a conceptual row. The value is the name of the instance of the | first accessible columnar object in the conceptual row. | The additional semantics of this textual convention, relative to | RowPointer, are related to the object the pointer is pointing to. | The pointed-to object may have more than one parent object | pointing to it, indicating the pointed-to object can be shared by | one or more parent objects. This textual convention allows a clearer definition of | parameterization table entries, as compared to datapath linking | table entries. Objects pointed to by StaticRowPointers, | parameterization table entries, can be reused by one or more data | path functional elements, belonging to one or more data paths. This textual convention also allow easier reuse of data | definitions in this MIB by higher level configuration and | provisioning mechanisms. This additional semantics facilitates the creation ofinstance-specificinstance- | specific objects by cloning, used by higher level | configuration/provisioning mechanisms. The objects being cloned | may either be special ones that express configuration information | at theBaker, Chan, Smith Expires May 2001 [Page 28] Internet Draft Differentiated Services MIB November 2000 implementation-specificmechanism-specific level, or simplyinstance- specificinstance-specific ones | that already exist at the time the cloning is done. When an | object with the syntaxSta- ticRowPointerStaticRowPointer is cloned, the | StaticRowPointer in the newly cloned object is set to point to | the samecon- ceptualconceptual row that the StaticRowPointer in the cloned- | from object pointed to. The cloning operations may be | accomplished either with the script-based technique defined by | SNMP Configuration, or by ordinary SNMP Get and Set operations, | or other mechanisms. | Support of this additional semantics and cloning functionality is | Baker, Chan, Smith Expires August 2001 [Page 28] Internet Draft Differentiated Services MIB December 2000 not required for conformance to this MIB. When the additional | semantics is not supported, this textual convention behaves | identically to the RowPointer textual convention." | SYNTAX OBJECT IDENTIFIER-- -- Data Path -- diffServDataPath OBJECT IDENTIFIER| | END | DIFFSERV-MIB DEFINITIONS ::={ 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 at most -- two entries for each DiffServ capable 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-accessibleBEGIN | | IMPORTS | Unsigned32, Counter32, Counter64, | MODULE-IDENTITY, OBJECT-TYPE, 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 | BurstSize | FROM INTEGRATED-SERVICES-MIB; | Dscp, DscpOrAny | FROM DIFFSERV-DSCP-TC; | StaticRowPointer | FROM SNMP-ROWPOINTER-TC-MIB; | | diffServMib MODULE-IDENTITY | LAST-UPDATED "200012150000Z" | 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 ExpiresMayAugust 2001 [Page 29] Internet Draft Differentiated Services MIBNovemberDecember 2000STATUS current| | Andrew Smith | Allegro Networks | 6399 San Ignacio Ave | San Jose, CA 95119, USA | E-mail: andrew@allegronetworks.com" | DESCRIPTION"The data path table| "This MIB defines thedata pathsobjects necessary to manage a device that | uses the Differentiated Services Architecture described inthis device. Each data path is defined by the interfaceRFC | 2475 andtraffic direction. The first diffserv functional datapath element to handle trafficthe Informal Management Model forthis data path is defined by a RowPointer, diffServDataPathStart,Diffserv Routers inthe entries of this table."| draft-ietf-diffserv-model-05.txt." | REVISION "200012150000Z" | DESCRIPTION | "Initial version, published as RFC xxxx." | ::= {diffServDataPath 1mib-2 12345 }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-- anybody who uses thisdevice." INDEX { ifIndex, diffServDataPathIfDirection }unassigned | -- number deserves the wrath of IANA | | | diffServMIBObjects OBJECT IDENTIFIER ::= {diffServDataPathTablediffServMib 1 }DiffServDataPathEntry| diffServMIBConformance OBJECT IDENTIFIER ::=SEQUENCE{diffServDataPathIfDirection IfDirection, diffServDataPathStart RowPointer, diffServDataPathStatus RowStatusdiffServMib 2 }diffServDataPathIfDirection OBJECT-TYPE| | | | -- 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. | | | SixTupleClfrL4Port ::= TEXTUAL-CONVENTION | DISPLAY-HINT "d" | STATUS current | DESCRIPTION | "A value indicating a Layer-4 protocol port number." | SYNTAX Unsigned32 (0..65535) | | | IfDirectionMAX-ACCESS not-accessible::= TEXTUAL-CONVENTION | STATUS current | DESCRIPTION | "Specifiesthea directionfor which thisof datapath entry appliestravel onthisan interface. 'inbound' | traffic is operated on during reception from the interface, while | 'outbound' traffic is operated on prior to transmission on the | interface."::= { diffServDataPathEntry 1 } diffServDataPathStart OBJECT-TYPE| SYNTAXRowPointer 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:INTEGER { | inbound(1), -- ingress interface | Baker, Chan, Smith ExpiresMayAugust 2001 [Page 30] Internet Draft Differentiated Services MIBNovemberDecember 2000diffServClfrEntry diffServMeterEntry diffServActionEntry diffServAlgDropEntry diffServQEntry 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 of the current data path. If the row pointed to does not exist, the treatment is as if this attribute contains a value of zero- DotZero." ::= { 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 3outbound(2) -- egress interface | } | | | -- | --ClassifiersData Path | --diffServClassifierdiffServDataPath OBJECT IDENTIFIER ::= { diffServMIBObjects21 } | | -- | --ClassifierData Path 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,The Data Path Table enumerates the Differentiated Services | -- Data Paths within thismeans all traffic handled by a classifier must matchdevice. Each entry in this table | --at least one classifier element within the classifier,is indexed by ifIndex and ifDirection. Each entry provides | --withtheclassifierfirst diffserv functional datapath elementparameters specified by a filter.to process data | -- flow for each specific datapath. This table should have at most | --If there is ambiguity between classifiertwo entries for each DiffServ capable interface on this device; | -- ingress and egress. | -- | -- Notice all diffserv functional datapath elementsof different Baker, Chan, Smith Expires May 2001 [Page 31] Internet Draft Differentiated Services MIB November 2000linked together | --classifier, the precedence is indicatedusing their individual next pointers and anchored bythe order the classifiersan entry | --are linked, the first classifier inof thelink is applieddiffServDataPathTable must belong to the same datapath. | --traffic first.The use of next pointer to point to diffserv functional datapath | --diffServClfrNextFreeelement of a different datapath is not allowed. | -- | | diffServDataPathTable OBJECT-TYPE | SYNTAXUnsigned32SEQUENCE OF DiffServDataPathEntry | MAX-ACCESSread-onlynot-accessible | STATUS current | DESCRIPTION"This object yields a value when read that| "The data path table defines the data paths in this device. Each | data path iscurrently unused for a diffServClfrId instance. If a configuring system attemptsdefined by the interface and traffic direction. The | first diffserv functional datapath element tocreatehandle traffic for | this data path is defined by anew rowRowPointer, diffServDataPathStart, | in thediffServClfrTable usingentries of thisvalue, that opera- tion will fail if the value has, in the meantime, been used to create another row that is currently valid."table." | ::= {diffServClassifierdiffServDataPath 1 }diffServClfrTable| | | diffServDataPathEntry OBJECT-TYPE | SYNTAXSEQUENCE 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 } diffServClfrEntry OBJECT-TYPE SYNTAX DiffServClfrEntryDiffServDataPathEntry | MAX-ACCESS not-accessible | STATUS current | DESCRIPTION | Baker, Chan, Smith Expires August 2001 [Page 31] Internet Draft Differentiated Services MIB December 2000 "An entry in theclassifierdata path table describes a singleclassifier. All classifier elements belonging to the same classifier uses the classifier's diffServClfrIddiffserv | datapath inthier diffServClfrElementClfrId attribute."this device." | INDEX {diffServClfrIdifIndex, diffServDataPathIfDirection } | ::= {diffServClfrTablediffServDataPathTable 1 }Baker, Chan, Smith Expires May 2001 [Page 32] Internet Draft Differentiated Services MIB November 2000 DiffServClfrEntry| | | DiffServDataPathEntry ::= SEQUENCE {diffServClfrId Unsigned32, diffServClfrStatus| diffServDataPathIfDirection IfDirection, | diffServDataPathStart RowPointer, | diffServDataPathStatus RowStatus | }diffServClfrId| | | diffServDataPathIfDirection OBJECT-TYPE | SYNTAXUnsigned32IfDirection | MAX-ACCESS not-accessible | STATUS current | DESCRIPTION"An index that enumerates the classifier entries. The set of such identifiers spans| "Specifies thewhole agent. Managers should obtain new valuesdirection forrow creation inwhich thistable by reading diffServClfrNextFree."data path entry applies | on this interface." | ::= {diffServClfrEntrydiffServDataPathEntry 1 }diffServClfrStatus| | | diffServDataPathStart OBJECT-TYPE | SYNTAXRowStatusRowPointer | 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 -- the anchor for each classification pattern, defined -- in filter table entries. Each classifier element -- table entry also specifies| "This selects thesubsequent downstream --first diffserv functional datapath elementwhen the -- classification pattern is satisfied. -- Each entryto | 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. The | use of zeroDotZero is theclassifiernormal usage for the last functional | datapath elementtable describes -- one branchof thefan-out characteristic of a classifier -- indicated in [MODEL] section 4.1. A classifiercurrent data path. | If the row pointed to does not exist, the treatment ismadeup --as if this | attribute contains a value ofone or more classifier elements. -- diffServClfrElementNextFree OBJECT-TYPEzeroDotZero." | ::= { diffServDataPathEntry 2 } | | | Baker, Chan, Smith ExpiresMayAugust 2001 [Page33]32] Internet Draft Differentiated Services MIBNovemberDecember 2000 diffServDataPathStatus OBJECT-TYPE | SYNTAXUnsigned32RowStatus | MAX-ACCESSread-onlyread-create | 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 RowStatus variable controls thevalue has, inactivation, deactivation, or | deletion of a row/entry. Any writable variable may be modified | whether themeantime, been used to create anotherrowthatiscurrently valid."active or notInService." | ::= {diffServClassifierdiffServDataPathEntry 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- quent downstream diffserv functional datapath ele- ments. Classification parameters are defined by entries of filter tables pointed to by diffServClfrElementSpecific. There can be filter tables| | | -- -- Classifiers | -- | | diffServClassifier OBJECT IDENTIFIER ::= { diffServMIBObjects 2 } | | -- | -- Classifier Table | -- | -- Classifier allows multiple classifier elements, of same or different | -- types,and they canto beinter- mixed andused 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, | -- with the classifier element parameters specified by aclassifier. An examplefilter. | -- | -- If there is ambiguity between classifier elements ofa filter table defineddifferent | -- classifier, the precedence is indicated by the order the classifiers | -- are linked, the first classifier inthis MIBthe link isdiffServSixTu- pleClfrTable, for IP Multi-Field Classifiers (MFCs). Filter tables for other filter types may be defined elsewhere." REFERENCE "[MODEL] section 4.1" ::= { diffServClassifier 4 } diffServClfrElementEntryapplied to the | -- traffic first. | -- | | | diffServClfrNextFree OBJECT-TYPE | SYNTAXDiffServClfrElementEntryUnsigned32 | MAX-ACCESSnot-accessibleread-only | STATUS current | DESCRIPTION"An entry| "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 theclassifier element table describes a single element ofdiffServClfrTable using this value, | that operation will fail if theclassifier." INDEX { diffServClfrElementClfrId, diffServClfrElementId }value has, in the meantime, been | used to create another row that is currently valid." | ::= {diffServClfrElementTablediffServClassifier 1 } | | | Baker, Chan, Smith ExpiresMayAugust 2001 [Page34]33] Internet Draft Differentiated Services MIBNovemberDecember 2000DiffServClfrElementEntry ::=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" | ::= {diffServClfrElementId Unsigned32,diffServClassifier 2 } | | | 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 in thier diffServClfrElementClfrId | attribute." | INDEX { diffServClfrId } | ::= { diffServClfrTable 1 } | | | DiffServClfrEntry ::= SEQUENCE { | diffServClfrId Unsigned32,diffServClfrElementOrder Unsigned32, diffServClfrElementNext RowPointer, diffServClfrElementSpecific StaticRowPointer, diffServClfrElementStatus| diffServClfrStatus RowStatus | }diffServClfrElementId| | | diffServClfrId OBJECT-TYPE | SYNTAX Unsigned32 | MAX-ACCESS not-accessible | STATUS current | DESCRIPTION | "An index that enumerates theClassifier Elementclassifier entries. The set of such | identifiers spans the whole agent. Managers should obtain new | values for row creation in this table by readingdiffServClfrElementNextFree."| diffServClfrNextFree." | ::= {diffServClfrElementEntrydiffServClfrEntry 1 }diffServClfrElementClfrId| | | diffServClfrStatus OBJECT-TYPE | SYNTAXUnsigned32RowStatus | Baker, Chan, Smith Expires August 2001 [Page 34] Internet Draft Differentiated Services MIB December 2000 MAX-ACCESSnot-accessibleread-create | STATUS current | DESCRIPTION"A classifier Id identifies which classifier this classifier element is| "The RowStatus variable controls the activation, deactivation, or | deletion of apart of. This needs toclassifier. Any writable variable may be modified | whether thevalue of diffServClfrId attribute for an existingrowin diffServClfrTable."is active or notInService." | ::= {diffServClfrElementEntrydiffServClfrEntry 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.| | | -- | -- Classifierelements with the same order must be unambiguous i.e. they must define non-overlapping patterns, and are con- sidered to be applied simultaneously to the traffic stream. Clas- sifier elements with different Baker, Chan, Smith Expires May 2001 [Page 35] Internet Draft Differentiated Services MIB November 2000 order may overlapElement Table | -- | -- Entries intheir filters:theclassif- ierclassifier elementwithtable serves as | -- thehighest order that matches is taken. On a given interface, there must be a complete clas- sifier in place at all timesanchor for each classification pattern, defined | -- in filter table entries. Each classifier element | -- table entry also specifies theingress direction. This means that there will always be one or more filters that match every possible pat- tern that could be presented in an incoming packet. Theresubsequent downstream | -- diffserv functional datapath element when the | -- classification pattern isno such requirementsatisfied. | -- Each entry in theegress direc- tion." DEFVAL { 0 } ::= { diffServClfrElementEntry 3 } diffServClfrElementNext OBJECT-TYPE SYNTAX RowPointer MAX-ACCESS read-create STATUS current DESCRIPTION "This attribute providesclassifier element table describes | -- one branch of the fan-outfunctionalitycharacteristic of a classifierdescribed| -- indicated in [MODEL] section 4.1.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 diffServQEntryAvalue of zeroDotZero in this attribute indicates no further Diffserv treatmentclassifier isperformed on traffic of this datapath. The usemadeup | -- ofzeroDotZero is the normal usage for the last functional datapath element of the current data path. If the row pointed to does not exist, the treatment is as if this attribute contains a value of zero- DotZero." ::= { diffServClfrElementEntry 4 } diffServClfrElementSpecific OBJECT-TYPE SYNTAX StaticRowPointer Baker, Chan, Smith Expires May 2001 [Page 36] Internet Draft Differentiated Services MIB November 2000 MAX-ACCESS read-create STATUS current DESCRIPTION "A pointer to a valid entry in another table, filter table, that describes the applicable classif- ication parameters, e.g. an entry in diffServSixTu- pleClfrTable. If the row pointed to does not exist, the classifier element is ignored. The value zeroDotZero is interpreted to match anything not matched by another classifier element - onlyonesuch 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 the activation, deactivation,ordeletion of amore classifierelement. 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 to be IP-version-independent. -- Filters, entries in this table, may be shared, pointed to, -- by multiple diffServClfrElementEntry, of same or different -- datapaths in the same system.elements. | --diffServSixTupleClfrNextFree| | | diffServClfrElementNextFree OBJECT-TYPE | SYNTAX Unsigned32 | MAX-ACCESS read-only | STATUS current | DESCRIPTION | "This object yields a value when read that is currently | unusedBaker, Chan, Smith Expires May 2001 [Page 37] Internet Draft Differentiated Services MIB November 2000for adiffServSixTupleClfrIddiffServClfrElementId instance. If a configuring | system attempts to create a new row in thediffServSixTupleClfrTable| diffServClfrElementTable using this value, thatoperationopera- tion will | fail if the value has, in the meantime, been used to | create another row that is currently valid." | ::= { diffServClassifier53 }diffServSixTupleClfrTable| | | diffServClfrElementTable OBJECT-TYPE | SYNTAX SEQUENCE OFDiffServSixTupleClfrEntryDiffServClfrElementEntry | MAX-ACCESS not-accessible | STATUS current | DESCRIPTION"A| "The classifier element table enumerates the relationship between | classification patterns and subsequent downstream diffserv | functional datapath elements. Classification parameters are | Baker, Chan, Smith Expires August 2001 [Page 35] Internet Draft Differentiated Services MIB December 2000 defined by entries ofIP Six-Tuple Classifierfilterentries that a system may usetables pointed toidentifyby | diffServClfrElementSpecific. There can be filter tables of | different types, and they can be inter-mixed and used within a | classifier. An example of a filter table defined in this MIB is | diffServSixTupleClfrTable, for IPtraffic."Multi-Field Classifiers (MFCs). | Filter tables for other filter types may be defined elsewhere." | REFERENCE | "[MODEL] section4.2.2"4.1" | ::= { diffServClassifier64 }diffServSixTupleClfrEntry| | | diffServClfrElementEntry OBJECT-TYPE | SYNTAXDiffServSixTupleClfrEntryDiffServClfrElementEntry | MAX-ACCESS not-accessible | STATUS current | DESCRIPTION | "AnIP Six-Tuple Classifierentry in the classifier element table describes a singlefilter."| element of the classifier." | INDEX {diffServSixTupleClfrIddiffServClfrElementClfrId, diffServClfrElementId } | ::= {diffServSixTupleClfrTablediffServClfrElementTable 1 }DiffServSixTupleClfrEntry| | | DiffServClfrElementEntry ::= SEQUENCE {diffServSixTupleClfrId Unsigned32, diffServSixTupleClfrDstAddrType InetAddressType, diffServSixTupleClfrDstAddr InetAddress, diffServSixTupleClfrDstAddrMask| diffServClfrElementId Unsigned32,diffServSixTupleClfrSrcAddrType InetAddressType, diffServSixTupleClfrSrcAddr InetAddress, diffServSixTupleClfrSrcAddrMask| diffServClfrElementClfrId Unsigned32,diffServSixTupleClfrDscp Dscp, diffServSixTupleClfrProtocol| diffServClfrElementPrecedence Unsigned32,diffServSixTupleClfrDstL4PortMin SixTupleClfrL4Port, diffServSixTupleClfrDstL4PortMax SixTupleClfrL4Port, diffServSixTupleClfrSrcL4PortMin SixTupleClfrL4Port, diffServSixTupleClfrSrcL4PortMax SixTupleClfrL4Port, diffServSixTupleClfrStatus| diffServClfrElementNext RowPointer, | diffServClfrElementSpecific StaticRowPointer, | diffServClfrElementPkts Counter32, | diffServClfrElementHCPkts Counter64, | diffServClfrElementStatus RowStatus | }Baker, Chan, Smith Expires May 2001 [Page 38] Internet Draft Differentiated Services MIB November 2000 diffServSixTupleClfrId| | | diffServClfrElementId OBJECT-TYPE | SYNTAX Unsigned32 | MAX-ACCESS not-accessible | STATUS current | DESCRIPTION | "An index that enumerates theSix TupleClassifierfilterElement entries. The set | of such identifiers spans the whole agent. Managers should obtain | new values for row creation in this table by readingdiffServSixTupleClfrNextFree."| diffServClfrElementNextFree." | ::= {diffServSixTupleClfrEntrydiffServClfrElementEntry 1 }diffServSixTupleClfrDstAddrType| | | diffServClfrElementClfrId OBJECT-TYPESYNTAX InetAddressType MAX-ACCESS read-create STATUS current DESCRIPTION "The type of IP destination address used by this classifier entry." ::= { diffServSixTupleClfrEntry 2 } diffServSixTupleClfrDstAddr OBJECT-TYPE SYNTAX InetAddress MAX-ACCESS read-create STATUS current DESCRIPTION "The IP address to match against the packet's desti- nation IP address." ::= { diffServSixTupleClfrEntry 3 } diffServSixTupleClfrDstAddrMask OBJECT-TYPE SYNTAX Unsigned32 UNITS "bits" MAX-ACCESS read-create STATUS current DESCRIPTION "The length of a mask for the matching of the desti- nation IP address. Masks are constructed by setting bits in sequence from the most-significant bit down- wards for diffServSixTupleClfrDstAddrMask bits length. All other bits in the mask, up to the number needed to fill the length of the address diffServSix- TupleClfrDstAddr are cleared to zero. A zero bit in the mask then means that the corresponding bit in the| Baker, Chan, Smith ExpiresMayAugust 2001 [Page39]36] Internet Draft Differentiated Services MIBNovemberDecember 2000address always matches." DEFVAL {0} ::= { diffServSixTupleClfrEntry 4 } diffServSixTupleClfrSrcAddrType OBJECT-TYPESYNTAXInetAddressTypeUnsigned32 | MAX-ACCESSread-createnot-accessible | STATUS current | DESCRIPTION"The type of IP source address used by| "A classifier Id identifies which classifier thisclassif- ier entry." ::= { diffServSixTupleClfrEntry 5 } diffServSixTupleClfrSrcAddr OBJECT-TYPE SYNTAX InetAddress MAX-ACCESS read-create STATUS current DESCRIPTION "The IP addressclassifier | element is a part of. This needs tomatch againstbe thesource IP addressvalue ofeach packet."| diffServClfrId attribute for an existing row in | diffServClfrTable." | ::= {diffServSixTupleClfrEntry 6diffServClfrElementEntry 2 }diffServSixTupleClfrSrcAddrMask| | | diffServClfrElementPrecedence OBJECT-TYPE | SYNTAX Unsigned32UNITS "bits"| MAX-ACCESS read-create | STATUS current | DESCRIPTION | "Thelength of a mask for the matching of the source IP address. Masks are constructed by setting bitsrelative order insequence fromwhich classifier elements are applied: | higher numbers represent classifier element with higher | precedence. Classifier elements with themost-significant bit downwards for diffServSixTupleClfrSrcAddrMask bits length. All other bits in the mask, upsame order must be | unambiguous i.e. they must define non-overlapping patterns, and | are considered tothe number neededbe applied simultaneously tofillthelength oftraffic | stream. Clas- sifier elements with different order may overlap | in their filters: theaddress diffServSixTu- pleClfrSrcAddr are cleared to zero. A zero bitclassifier element with the highest order | that matches is taken. | On a given interface, there must be a complete clas- sifier in | place at all times in themask theningress direction. This means | thatthe corresponding bitthere will always be one or more filters that match every | possible pat- tern that could be presented in an incoming | packet. There is no such requirement in theaddress always matches."egress direction." | DEFVAL{0}{ 0 } | ::= {diffServSixTupleClfrEntry 7diffServClfrElementEntry 3 }diffServSixTupleClfrDscp| | | diffServClfrElementNext OBJECT-TYPE | SYNTAXDscpRowPointer | MAX-ACCESS read-create | STATUS current | DESCRIPTION | "This attribute provides one branch of the fan-out functionality | of a classifier described in [MODEL] section 4.1. | 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 | Baker, Chan, Smith ExpiresMayAugust 2001 [Page40]37] Internet Draft Differentiated Services MIBNovemberDecember 2000STATUS current DESCRIPTION "The value that the DSCP in the packet must have to match this entry.diffServActionEntry | diffServAlgDropEntry | diffServQEntry | A value of-1zeroDotZero in this attribute indicatesthat a specific DSCP value has not been defined and thus all DSCP values are considered a match." DEFVAL {-1} ::= { diffServSixTupleClfrEntry 8 } diffServSixTupleClfrProtocol OBJECT-TYPE SYNTAX Unsigned32 (0..255) MAX-ACCESS read-create STATUS current DESCRIPTION "The IP protocol to match against the IPv4 protocol number orno further | Diffserv treatment is performed on traffic of this datapath. The | use of zeroDotZero is theIPv6 Next-Header number innormal usage for thepacket. A valuelast functional | datapath element of255 means match all. Notetheprotocol number of 255current data path. | If the row pointed to does not exist, the treatment isreserved by IANA, and Next-Header numberas if this | attribute contains a value of0 is used in IPv6." DEFVAL {255}zeroDotZero." | ::= {diffServSixTupleClfrEntry 9diffServClfrElementEntry 4 }diffServSixTupleClfrDstL4PortMin| | | diffServClfrElementSpecific OBJECT-TYPE | SYNTAXSixTupleClfrL4PortStaticRowPointer | MAX-ACCESS read-create | STATUS current | DESCRIPTION"The minimum value| "A pointer to a valid entry in another table, filter table, | that describes thelayer-4 destination port numberapplicable classification parameters, e.g. an | entry in diffServSixTupleClfrTable. | If thepacket must have in orderrow pointed to does not exist, the classifier element is | ignored. | The value zeroDotZero is interpreted to matchthisanything not | matched by another classifierentry."element - only one such entry may | exist for each classifier." | DEFVAL{0}{ zeroDotZero } | ::= {diffServSixTupleClfrEntry 10diffServClfrElementEntry 5 }diffServSixTupleClfrDstL4PortMax| | | diffServClfrElementPkts OBJECT-TYPE | SYNTAXSixTupleClfrL4PortCounter32 | MAX-ACCESSread-createread-only | STATUS current | DESCRIPTION | "Themaximum valuenumber of packets that have passed throught this process. On | high speed devices, this object implements thelayer-4 destination port numberleast significant | 32 bits of diffServClfrElementHCPkts. | Discontinuities in thepacket must have in order to match this classifier entry. Thisvaluemust be equal to or greater thanof this counter can occur at re- | initialization of the management system and at other times as | indicated by the valuespecified forof ifCounterDiscontinuityTime appropriate | to thisentry in diffServSixTupleClfrDstL4PortMin." DEFVAL {65535}interface." | ::= { diffServClfrElementEntry 6 } | Baker, Chan, Smith ExpiresMayAugust 2001 [Page41]38] Internet Draft Differentiated Services MIBNovemberDecember 2000::= { diffServSixTupleClfrEntry 11 } diffServSixTupleClfrSrcL4PortMin| | diffServClfrElementHCPkts OBJECT-TYPE | SYNTAXSixTupleClfrL4PortCounter64 | MAX-ACCESSread-createread-only | STATUS current | DESCRIPTION | "Theminimum value that the layer-4 source portnumberin the packet must have in order to match this classifier entry." DEFVAL {0} ::= { diffServSixTupleClfrEntry 12 } diffServSixTupleClfrSrcL4PortMax OBJECT-TYPE SYNTAX SixTupleClfrL4Port MAX-ACCESS read-create STATUS current DESCRIPTION "The maximum valueof packets thatthe layer-4 source port number in the packet musthavein oder to matchbeen dropped by thisclassifier entry.drop | process. Thisvalue mustobject should beequal to or greater thanused on high speed interfaces. | Discontinuities in the valuespecified forof thisentry in diffServSixTupleClfrSrcL4PortMin." DEFVAL {65535}counter can occur at re- | initialization of the management system and at other times as | indicated by the value of ifCounterDiscontinuityTime appropriate | to this interface." | ::= {diffServSixTupleClfrEntry 13diffServClfrElementEntry 7 }diffServSixTupleClfrStatus| | | diffServClfrElementStatus OBJECT-TYPE | SYNTAX RowStatus | MAX-ACCESS read-create | STATUS current | DESCRIPTION | "The RowStatus variable controls the activation, | deactivation, or deletion of aclassifier.classifier element. Any writ- | able variable may be modified whether the row is active or | notInService." | ::= {diffServSixTupleClfrEntry 14diffServClfrElementEntry 8 } | | | -- | --MetersIP Six-Tuple Classification Table | --diffServMeter OBJECT IDENTIFIER ::= { diffServMIBObjects 3 } Baker, Chan, Smith Expires May 2001 [Page 42] Internet Draft Differentiated Services MIB November 2000| -- Classification based on 6 different fields in the IP | -- header. ThisMIB 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 mayis intended to belogically cascaded using -- their diffServMeterSucceedNext and diffServMeterFailNext -- pointers if required.IP-version-independent. | --One example ofFilters, entries in thismighttable, may befor an AF PHB implementationshared, pointed to, | --that usesby multiplelevel conformance meters. -- -- CascadingdiffServClfrElementEntry, ofindividual meter elementssame or different | -- datapaths in theMIB is -- intended to be functionally equivalent to multiple levelsame system. | --conformance determination of| | | diffServSixTupleClfrNextFree OBJECT-TYPE | SYNTAX Unsigned32 | MAX-ACCESS read-only | STATUS current | DESCRIPTION | "This object yields apacket. The sequential -- nature of the representationvalue when read that ismerely a notational -- conveniencecurrently unused | forthis MIB. -- -- For example: -- Conforminga diffServSixTupleClfrId instance. | Baker, Chan, Smith Expires August 2001 [Page 39] Internet Draft Differentiated Services MIB December 2000 If a configuring system attempts toRFC 2697, srTCM can be parameterized using -- two sets of diffServMeterEntry and diffServTBMeterEntry. -- Withcreate a new row | in thefirst set parameterizingdiffServSixTupleClfrTable using this value, that operation | will fail if theCommitted Burst Size -- token-bucket, second set parameterizingvalue has, in theExcess Burst Size -- token-bucket. With both set's diffServTBMeterRate parameters -- being used to reflect the Committed Information Rate value. -- -- Conforming to RFC 2698, trTCM can be parameterized using -- two sets of diffServMeterEntry and diffServTBMeterEntry. -- With the first set parameterizing the Peak Information Rate -- and Peak Burst Size token-bucket, second set parameterizing -- the Committed Information Rate and Committed Burst Size -- token-bucket. -- -- Conforming to RFC 2859, tswTCM can be parameterized using -- two sets of diffServMeterEntry and diffServTBMeterEntry. -- With the first set parameterizing the Committed Target Rate, -- second set parametering the Peak Target Rate. -- With both set's diffServTBMeterInterval being used to -- reflect the Average Interval as specified by RFC 2859. -- diffServMeterNextFree OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS read-only STATUS current Baker, Chan, Smith Expires May 2001 [Page 43] Internet Draft Differentiated Services MIB November 2000 DESCRIPTION "This object yields a value when read that is currently unused for a diffServMeterId instance. If a configuring system attempts to create a new row in the diffServMeterTable using this value, that opera- tion will fail if the value has, in the meantime, beenmeantime, been used | to create another row that is currently valid." | ::= {diffServMeter 1diffServClassifier 5 }diffServMeterTable| | | diffServSixTupleClfrTable OBJECT-TYPE | SYNTAX SEQUENCE OFDiffServMeterEntryDiffServSixTupleClfrEntry | MAX-ACCESS not-accessible | STATUS current | DESCRIPTION"This| "A tableenumerates specific metersof IP Six-Tuple Classifier filter entries that a system | may use topolice, or shape, a stream of traffic. The traffic stream to be metered is determined by the diffserv functional datapath 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 table entry referenced by diffServMeterSpecific."identify IP traffic." | REFERENCE | "[MODEL] section5.1"4.2.2" | ::= {diffServMeter 2diffServClassifier 6 }diffServMeterEntry| | | diffServSixTupleClfrEntry OBJECT-TYPE | SYNTAXDiffServMeterEntryDiffServSixTupleClfrEntry | MAX-ACCESS not-accessible | STATUS current | DESCRIPTION | "An IP Six-Tuple Classifier entryin the meter tabledescribes a singlecon- formance level of a meter."filter." | INDEX {diffServMeterIddiffServSixTupleClfrId } | ::= {diffServMeterTablediffServSixTupleClfrTable 1 }DiffServMeterEntry| | | DiffServSixTupleClfrEntry ::= SEQUENCE {diffServMeterId| diffServSixTupleClfrId Unsigned32,diffServMeterSucceedNext RowPointer, diffServMeterFailNext RowPointer, diffServMeterSpecific StaticRowPointer,| diffServSixTupleClfrDstAddrType InetAddressType, | diffServSixTupleClfrDstAddr InetAddress, | diffServSixTupleClfrDstAddrMask Unsigned32, | diffServSixTupleClfrSrcAddrType InetAddressType, | diffServSixTupleClfrSrcAddr InetAddress, | diffServSixTupleClfrSrcAddrMask Unsigned32, | diffServSixTupleClfrDscp DscpOrAny, | diffServSixTupleClfrProtocol Unsigned32, | diffServSixTupleClfrDstL4PortMin SixTupleClfrL4Port, | diffServSixTupleClfrDstL4PortMax SixTupleClfrL4Port, | diffServSixTupleClfrSrcL4PortMin SixTupleClfrL4Port, | diffServSixTupleClfrSrcL4PortMax SixTupleClfrL4Port, | diffServSixTupleClfrStatus RowStatus | } | | | Baker, Chan, Smith ExpiresMayAugust 2001 [Page44]40] Internet Draft Differentiated Services MIBNovemberDecember 2000diffServMeterStatus RowStatus } diffServMeterIddiffServSixTupleClfrId OBJECT-TYPE | SYNTAX Unsigned32 | MAX-ACCESS not-accessible | STATUS current | DESCRIPTION | "An index that enumerates theMeterSix Tuple Classifier filter | entries. The set of such identifiers spans the whole agent. | Managers should obtain new values for row creation in this table | by readingdiffServMeterNextFree."diffServSixTupleClfrNextFree." | ::= {diffServMeterEntrydiffServSixTupleClfrEntry 1 }diffServMeterSucceedNext| | | diffServSixTupleClfrDstAddrType OBJECT-TYPE | SYNTAXRowPointerInetAddressType | MAX-ACCESS read-create | STATUS current | DESCRIPTION"If the traffic does conform, 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. The use of zeroDotZero is the normal usage for the last functional datapath element| "The type ofthe current data path. If the row pointed to does not exist, the treatment is as ifIP destination address used by thisattribute contains a value of zero- DotZero." DEFVAL { zeroDotZero }classifier | entry." | ::= {diffServMeterEntrydiffServSixTupleClfrEntry 2 }diffServMeterFailNext| | | diffServSixTupleClfrDstAddr OBJECT-TYPE SYNTAXRowPointerInetAddress MAX-ACCESS read-createBaker, Chan, Smith Expires May 2001 [Page 45] Internet Draft Differentiated Services MIB November 2000STATUS current DESCRIPTION"If the traffic does not conform, 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. The use of zeroDotZero is the normal usage for the last functional datapath element of the current data path. If the row pointed"The IP address todoes not exist,match against thetreatment is as if this attribute contains a value of zero- DotZero." DEFVAL { zeroDotZero }packet's destination IP address." ::= {diffServMeterEntrydiffServSixTupleClfrEntry 3 }diffServMeterSpecificdiffServSixTupleClfrDstAddrMask OBJECT-TYPE SYNTAXStaticRowPointerUnsigned32 UNITS "bits" MAX-ACCESS read-create STATUS current DESCRIPTION"This indicates"The length of a mask for thebehaviourmatching of themeterdestination IP address. Masks are constructed bypoint- ingsetting bits in sequence from the most-significant bit downwards for diffServSixTupleClfrDstAddrMask bits length. All other bits in the mask, up toan entry containing detailed parameters. Note that entriesthe number needed to fill the length of the address diffServSixTupleClfrDstAddr are cleared to zero. A zero bit in the mask then means thatspecific table must be managed explicitly. For example, diffServMeterSpecific may point to an entrythe corresponding bit indiffServTBMeterTable, which contains an instance of a single set of Token Bucket parameters." ::= { diffServMeterEntry 4 } diffServMeterStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "The RowStatus variable controlstheactivation,address always matches." DEFVAL {0} Baker, Chan, Smith ExpiresMayAugust 2001 [Page46]41] Internet Draft Differentiated Services MIBNovemberDecember 2000deactivation, or deletion of a meter. Any writable variable may be modified whether the row is active or notInService."::= {diffServMeterEntry 5diffServSixTupleClfrEntry 4 }-- -- 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 -- entries. -- diffServTBMeterNextFreediffServSixTupleClfrSrcAddrType OBJECT-TYPE SYNTAXUnsigned32InetAddressType MAX-ACCESSread-onlyread-create STATUS current DESCRIPTION"This object yields a value when read that is currently unused for a diffServTBMeterId instance. If a configuring system attempts to create a new row in the diffServTBMeterTable using this value, that operation will fail if the value has, in the mean- time, been"The type of IP source address usedto create another row that is currently valid."by this classifier entry." ::= {diffServMeter 3diffServSixTupleClfrEntry 5 }diffServTBMeterTablediffServSixTupleClfrSrcAddr OBJECT-TYPE SYNTAXSEQUENCE OF DiffServTBMeterEntryInetAddress MAX-ACCESSnot-accessibleread-create STATUS current DESCRIPTION"This table enumerates a single set of token bucket meter parameters that a system may use"The IP address topolice a streammatch against the source IP address oftraffic. Such meters are modelled here as having a single rate and a single burst size." REFERENCE "[MODEL] section 5.1"each packet." ::= {diffServMeter 4diffServSixTupleClfrEntry 6 }Baker, Chan, Smith Expires May 2001 [Page 47] Internet Draft Differentiated Services MIB November 2000 diffServTBMeterEntrydiffServSixTupleClfrSrcAddrMask OBJECT-TYPE SYNTAXDiffServTBMeterEntryUnsigned32 UNITS "bits" MAX-ACCESSnot-accessibleread-create STATUS current DESCRIPTION"An entry that describes"The length of asingle setmask for the matching oftoken bucket meter parameters." INDEX { diffServTBMeterId } ::= { diffServTBMeterTable 1 } DiffServTBMeterEntry ::= SEQUENCE { diffServTBMeterId Unsigned32, diffServTBMeterType INTEGER, diffServTBMeterRate Unsigned32, diffServTBMeterBurstSize BurstSize, diffServTBMeterInterval Unsigned32, diffServTBMeterStatus RowStatus } diffServTBMeterId OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS not-accessible STATUS current DESCRIPTION "An index that enumeratestheTBMeter entries. The set of such identifiers spanssource IP address. Masks are constructed by setting bits in sequence from thewhole agent. Managers should obtain new valuesmost- significant bit downwards forrow creationdiffServSixTupleClfrSrcAddrMask bits length. All other bits inthis table by reading diffServTBMeterNextFree."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} ::= {diffServTBMeterEntry 1diffServSixTupleClfrEntry 7 }diffServTBMeterTypediffServSixTupleClfrDscp OBJECT-TYPE SYNTAXINTEGER { 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 }DscpOrAny | MAX-ACCESS read-create STATUS current DESCRIPTION "The value that the DSCP in the packet must have to match this entry. A value of -1 indicates that a specific DSCP value has not been defined and thus all DSCP values are considered a match." Baker, Chan, Smith ExpiresMayAugust 2001 [Page48]42] Internet Draft Differentiated Services MIBNovemberDecember 2000 DEFVAL {-1} ::= { diffServSixTupleClfrEntry 8 } diffServSixTupleClfrProtocol OBJECT-TYPE SYNTAX Unsigned32 (0..255) MAX-ACCESS read-create STATUS current DESCRIPTION "Thetype of meter using parameters specified by this TBMeter entry. Value of tokenBucket(2) indicatesIP protocol to match against theuse of Two Parameter Token Bucket Meter as described in [MODEL] section 5.2.3. Value of avgRate(3) indicatesIPv4 protocol number or theuse of Average Rate Meter as describedIPv6 Next-Header number in[MODEL] section 5.2.1. Valuethe packet. A value ofsrTCMBlind(4) and srTCMAware(5) indicates255 means match all. Note theuseprotocol number ofSingle Rate Three Color Marker Metering as defined255 is reserved byRFC 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'IANA, and`Color Aware' mode as described by the RFC. Value of tswTCM(8) indicates the useNext-Header number ofTime Sliding Window Three Color Marker Metering as defined by RFC 2859." REFERENCE "[MODEL] section 5"0 is used in IPv6." DEFVAL {255} ::= {diffServTBMeterEntry 2diffServSixTupleClfrEntry 9 }diffServTBMeterRatediffServSixTupleClfrDstL4PortMin OBJECT-TYPE SYNTAXUnsigned32 UNITS "kilobits per second"SixTupleClfrL4Port MAX-ACCESS read-create STATUS current DESCRIPTION "Thetoken-bucket rate,minimum value that the layer-4 destination port number inkilobits per second (kbps). This attribute is used for: 1. CIRthe packet must have inRFC 2697 for srTCM 2. PIR and CIRorder to match this classifier entry." DEFVAL {0} ::= { diffServSixTupleClfrEntry 10 } diffServSixTupleClfrDstL4PortMax OBJECT-TYPE SYNTAX SixTupleClfrL4Port MAX-ACCESS read-create STATUS current DESCRIPTION "The maximum value that the layer-4 destination port number inRFC 2698 for trTCM 3. CTR and PTRthe packet must have inRFC 2859order to match this classifier entry. This value must be equal to or greater than the value specified forTSWTCM 4. AverageRate usedthis entry in[MODEL] section 5."diffServSixTupleClfrDstL4PortMin." DEFVAL {65535} ::= {diffServTBMeterEntry 3diffServSixTupleClfrEntry 11 }diffServTBMeterBurstSizediffServSixTupleClfrSrcL4PortMin OBJECT-TYPE SYNTAXBurstSize UNITS "Bytes"SixTupleClfrL4Port MAX-ACCESS read-create STATUS current DESCRIPTION "The minimum value that the layer-4 source port number in the Baker, Chan, Smith ExpiresMayAugust 2001 [Page49]43] Internet Draft Differentiated Services MIBNovemberDecember 2000 packet must have in order to match this classifier entry." DEFVAL {0} ::= { diffServSixTupleClfrEntry 12 } diffServSixTupleClfrSrcL4PortMax OBJECT-TYPE SYNTAX SixTupleClfrL4Port MAX-ACCESS read-create STATUS current DESCRIPTION "The maximum value that the layer-4 source port numberof bytesina single transmission burst. This attribute is used for: 1. CBS and EBS in RFC 2697 for srTCM 2. CBS and PBSthe packet must have inRFC 2698oder to match this classifier entry. This value must be equal to or greater than the value specified fortrTCM 3. Burst Size usedthis entry in[MODEL] section 5." ::= { diffServTBMeterEntry 4 } diffServTBMeterInterval OBJECT-TYPE SYNTAX Unsigned32 UNITS "microseconds" MAX-ACCESS read-create STATUS current DESCRIPTION "The time interval used 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."diffServSixTupleClfrSrcL4PortMin." DEFVAL {65535} ::= {diffServTBMeterEntry 5diffServSixTupleClfrEntry 13 }diffServTBMeterStatusdiffServSixTupleClfrStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "The RowStatus variable controls the activation, deactivation, or deletion of ameter.classifier. Any writable variable may be modified whether the row is active or notInService." ::= {diffServTBMeterEntry 6diffServSixTupleClfrEntry 14 } -- | --ActionsMeters --diffServActiondiffServMeter OBJECT IDENTIFIER ::= { diffServMIBObjects43 } -- --The Action Table allows enumerationThis MIB supports a variety ofthe differentMeters. It includes a --typesspecific 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 ofactions tothis might beapplied to a traffic flow.for an AF PHB implementation -- that uses multiple level conformance meters. Baker, Chan, Smith ExpiresMayAugust 2001 [Page50]44] Internet Draft Differentiated Services MIBNovemberDecember 2000diffServActionNextFree OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS read-only STATUS current DESCRIPTION "This object yields a value when read that-- -- Cascading of individual meter elements in the MIB iscurrently unused for a diffServActionId instance. If-- intended to be functionally equivalent to multiple level -- conformance determination of a packet. The sequential -- 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 diffServTBParamEntry. | -- With the first set parameterizing the Committed Burst Size -- token-bucket, second set parameterizing the Excess Burst Size -- token-bucket. With both set's diffServTBParamRate parameters | -- being used to reflect the Committed Information Rate value. -- -- Conforming to RFC 2698, trTCM can be parameterized using -- two sets of diffServMeterEntry and diffServTBParamEntry. | -- With the first set parameterizing the Peak Information Rate -- and Peak Burst Size token-bucket, second set parameterizing -- the Committed Information Rate and Committed Burst Size -- token-bucket. -- -- Conforming to RFC 2859, tswTCM can be parameterized using -- two sets of diffServMeterEntry and diffServTBParamEntry. | -- With the first set parameterizing the Committed Target Rate, -- second set parametering the Peak Target Rate. -- With both set's diffServTBParamInterval being used to | -- reflect the Average Interval as specified by RFC 2859. -- diffServMeterNextFree OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS read-only STATUS current DESCRIPTION "This object yields a value when read that is currently unused for a diffServMeterId instance. If a configuring system attempts to create a new row in thediffServActionTablediffServMeterTable using this value, thatopera- tionoperation will fail if the value has, in the meantime, been used to create another row that is currently valid." ::= {diffServActiondiffServMeter 1 }diffServActionTablediffServMeterTable OBJECT-TYPE SYNTAX SEQUENCE OFDiffServActionEntryDiffServMeterEntry MAX-ACCESS not-accessible Baker, Chan, Smith Expires August 2001 [Page 45] Internet Draft Differentiated Services MIB December 2000 STATUS current DESCRIPTION"The Action Table"This table enumeratesactionsspecific meters thatcan be per- formed toastream of traffic. Multiple actions can be concatenated. For example, after markingsystem may use to police, or shape, a stream of traffic. The trafficexiting from a meter, a device can then perform a count actionstream to be metered is determined by the diffserv functional datapath element(s) upstream of theconforming or non- conforming traffic. Specific actions are indicatedmeter i.e. bydiffServAction- Specific which pointsthe object(s) that point toaneach entryof a specific action type parameterizing the actionindetail."this table. This may include all traffic on an interface. Specific meter details are to be found in table entry referenced by diffServMeterSpecific." REFERENCE "[MODEL] section6."5.1" ::= {diffServActiondiffServMeter 2 }diffServActionEntrydiffServMeterEntry OBJECT-TYPE SYNTAXDiffServActionEntryDiffServMeterEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION"Each"An entry in theactionmeter tableallows descriptiondescribes a single conformance level ofone specific action to be applied to traffic."a meter." INDEX {diffServActionIddiffServMeterId } ::= {diffServActionTablediffServMeterTable 1 }DiffServActionEntryDiffServMeterEntry ::= SEQUENCE {Baker, Chan, Smith Expires May 2001 [Page 51] Internet Draft Differentiated Services MIB November 2000 diffServActionIddiffServMeterId Unsigned32,diffServActionNextdiffServMeterSucceedNext RowPointer,diffServActionSpecificdiffServMeterFailNext RowPointer, diffServMeterSpecific StaticRowPointer,diffServActionType INTEGER, diffServActionStatusdiffServMeterStatus RowStatus }diffServActionIddiffServMeterId OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS not-accessible STATUS current DESCRIPTION "An index that enumerates theActionMeter entries. The set of such identifiers spans the whole agent. Managers should obtain new values for row creation in this table by readingdiffServActionNextFree."diffServMeterNextFree." ::= {diffServActionEntrydiffServMeterEntry 1 }diffServActionNextBaker, Chan, Smith Expires August 2001 [Page 46] Internet Draft Differentiated Services MIB December 2000 diffServMeterSucceedNext OBJECT-TYPE SYNTAX RowPointer MAX-ACCESS read-create STATUS current DESCRIPTION"This"If the traffic does conform, 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. The use of zeroDotZero is the normal usage for the last functional datapath element of the current data path. If the row pointed to does not exist, the treatment is as if this attribute contains a value ofzero- DotZero."zeroDotZero." DEFVAL { zeroDotZero } ::= {diffServActionEntrydiffServMeterEntry 2 }Baker, Chan, Smith Expires May 2001 [Page 52] Internet Draft Differentiated Services MIB November 2000 diffServActionSpecificdiffServMeterFailNext OBJECT-TYPE SYNTAXStaticRowPointerRowPointer MAX-ACCESS read-create STATUS current DESCRIPTION"A pointer to an object instance providing additional information for"If thetype of action indicated bytraffic does not conform, thisaction table entry. Forselects thestandard actions defined by this MIB module,next diffserv functional datapath element to handle traffic for this data path. This RowPointer should point toone of the following: a diffServDscpMarkActEntry, a diffServCountActEntry. For other actions, it may point toanobjectinstancedefinedof one of: diffServClfrEntry diffServMeterEntry diffServActionEntry diffServAlgDropEntry diffServQEntry A value of zeroDotZero insome other MIB."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 of the current data path. If the row pointed to does not exist, the treatment is as if this attribute contains a value of zeroDotZero." DEFVAL { zeroDotZero } Baker, Chan, Smith Expires August 2001 [Page 47] Internet Draft Differentiated Services MIB December 2000 ::= {diffServActionEntrydiffServMeterEntry 3 }diffServActionTypediffServMeterSpecific OBJECT-TYPE SYNTAXINTEGER { other(1), -- types not specified here specific(2), -- follow the Specific pointer absoluteDrop(3) -- disallow traffic }StaticRowPointer MAX-ACCESS read-create STATUS current DESCRIPTION"Indicates"This indicates thetypebehaviour ofaction. The values specific(2)the meter by pointing to an entry containing detailed parameters. Note that entries in that specific table must beassociated with additional information, pointedmanaged explicitly. For example, diffServMeterSpecific may point toby diffServActionSpecific, with the actual action type indicated by the object being pointed to. The value absoluteDrop(3) has no associated informa- tion and will have a diffServActionSpecific value of zeroDotZero. The usean entry in | diffServTBParamTable, which contains an instance ofother(1) is outside the scopea single set ofthis definition, although the diffServAc- tionSpecific pointer may be used in this case, to indicate other information."Token Bucket parameters." ::= {diffServActionEntrydiffServMeterEntry 4 }diffServActionStatusdiffServMeterStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "The RowStatus variable controls the activation,deactivationdeactivation, or deletion ofan action element.a meter. Any writable variable may be modified whether the row isBaker, Chan, Smith Expires May 2001 [Page 53] Internet Draft Differentiated Services MIB November 2000active or notInService." ::= {diffServActionEntrydiffServMeterEntry 5 } -- --DSCP Mark ActionToken Bucket Parameter Table | -- diffServTBParam OBJECT IDENTIFIER ::= { diffServMIBObjects 4 } | --RowsEach entry in the Token Bucket Parameter Table parameterize | -- a single token bucket. Multiple token buckets can be -- used together to parameterize multiple levels of -- conformance. -- -- Entries of this table arepointed to by diffServActionSpecific -- to provide detailed parameters specific to the DSCPused for both policing, as token | --Mark action.bucket parameters, and shaping, as leaky bucket parameters. | -- | --A singleNote that an entry inthis tablethe Token Bucket Parameter Table can | -- be shared, pointed to, by--multiplediffServActionTable entries, of same or differentdiffServMeterTable --datapaths.and diffServSchedulerTable entries. | --diffServDscpMarkActTable OBJECT-TYPE SYNTAX SEQUENCE OF DiffServDscpMarkActEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This table enumerates specific DSCPs used for mark- ing or remarking the DSCP field of IP packets. The entries of this table may be referenced by a diffSer- vActionSpecific attribute." REFERENCE "[MODEL] section 6.1" ::= { diffServAction 3 } diffServDscpMarkActEntry OBJECT-TYPE SYNTAX DiffServDscpMarkActEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entry in the DSCP mark action table that describes a single DSCP used for marking." INDEX { diffServDscpMarkActDscp } ::= { diffServDscpMarkActTable 1 } DiffServDscpMarkActEntry ::= SEQUENCE { diffServDscpMarkActDscp Dscp }Baker, Chan, Smith ExpiresMayAugust 2001 [Page54]48] Internet Draft Differentiated Services MIBNovemberDecember 2000diffServDscpMarkActDscpdiffServTBParamNextFree OBJECT-TYPE | SYNTAXDscpUnsigned32 MAX-ACCESS read-only STATUS current DESCRIPTION"The DSCP that this Action uses for marking/remarking traffic. Note that"This object yields aDSCPvalueof -1when read that isnot permit- tedcurrently unused | for a diffServTBParamId instance. If a configuring system attempts to create a new row in the diffServTBParamTable using | thistable. It is quite possiblevalue, thatthe only packets subject to this Action are already marked with this DSCP. Note also that Diffserv may result in packet remarking both on ingress to a net- work and on egress from it and it is quite possible that ingress and egress would occur in the same router." ::= { diffServDscpMarkActEntry 1 } -- -- 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 -- 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 is currently unused for a diffServCountActId instance. If a configuring system attempts to create a new row in the diffServCountActTable using this value, that operation will fail ifoperation will fail if the value has, in the meantime, been used to create another row that is currently valid." ::= {diffServAction 4diffServTBParam 1 }Baker, Chan, Smith Expires May 2001 [Page 55] Internet Draft Differentiated Services MIB November 2000 diffServCountActTable| diffServTBParamTable OBJECT-TYPE | SYNTAX SEQUENCE OFDiffServCountActEntryDiffServTBParamEntry | MAX-ACCESS not-accessible STATUS current DESCRIPTION "This tablecontains counters for all the traffic passing through an action element." REFERENCE "[MODEL] section 6.4" ::= { diffServAction 5 } diffServCountActEntry OBJECT-TYPE SYNTAX DiffServCountActEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Anenumerates a single set of token bucket meter parameters that a system may use to police or shape a stream of | traffic. Such meters are modelled here as having a single rate | and a single burst size. Multiple entries are used when multiple | rates/burst sizes are needed." REFERENCE "[MODEL] section 5.1" ::= { diffServTBParam 2 } | diffServTBParamEntry OBJECT-TYPE | SYNTAX DiffServTBParamEntry | MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entryin the count action tablethat describes asin- glesingle set oftraffic counters."token bucket | parameters." INDEX {diffServCountActIddiffServTBParamId } | ::= {diffServCountActTablediffServTBParamTable 1 }DiffServCountActEntry| DiffServTBParamEntry ::= SEQUENCE {diffServCountActId| diffServTBParamId Unsigned32,diffServCountActOctets Counter32, diffServCountActHCOctets Counter64, diffServCountActPkts Counter32, diffServCountActHCPkts Counter64, diffServCountActDiscontTime TimeStamp, diffServCountActStatus| diffServTBParamType OBJECT IDENTIFIER, | diffServTBParamRate Unsigned32, | diffServTBParamBurstSize BurstSize, | diffServTBParamInterval Unsigned32, | diffServTBParamStatus RowStatus | Baker, Chan, Smith Expires August 2001 [Page 49] Internet Draft Differentiated Services MIB December 2000 }diffServCountActIddiffServTBParamId OBJECT-TYPE | SYNTAX Unsigned32 MAX-ACCESS not-accessible STATUS current DESCRIPTION "An index that enumerates theCount ActionTBParam entries. The set of such | identifiers spans the whole agent. Managers should obtain new values for row creation in this table by readingdiffServCountActNextFree."| diffServTBParamNextFree." ::= {diffServCountActEntrydiffServTBParamEntry 1 }diffServCountActOctets| diffServTBParamType OBJECT-TYPEBaker, Chan, Smith Expires May 2001 [Page 56] Internet Draft Differentiated Services MIB November 2000| SYNTAXCounter32OBJECT IDENTIFIER | MAX-ACCESSread-onlyread-create STATUS current DESCRIPTION "Thenumber of octets atMetering/Shaping algorithm associated with theAction datapath element. On high speed devices,Token/Leaky | Bucket parameters. {0 0} indicates thisobject implements the least significant 32 bits of diffServCountActHCOc- tets. Discontinuitiesis unknown. | Standard values for generic algorithms: | diffServTBParamSimpleTokenBucket, diffServTBParamAvgRate, | diffServTBParamSrTCMBlind, diffServTBParamSrTCMAware, | diffServTBParamTrTCMBlind, diffServTBParamTrTCMAware, | diffServTBParamTswTCM are specified inthe value ofthiscounter can occur at re-initialization of the management system and at other timesMIB asindicated by the value of diffServCountActDiscontTime for this entry."OBJECT-IDENTITYS; additional values | may be further specified in other MIBs." REFERENCE "[MODEL] section 5" ::= {diffServCountActEntrydiffServTBParamEntry 2 }diffServCountActHCOctets| diffServTBParamRate OBJECT-TYPE | SYNTAXCounter64Unsigned32 UNITS "kilobits per second" MAX-ACCESSread-onlyread-create STATUS current DESCRIPTION "Thenumber of octets at the Action datapath element. This object should betoken-bucket rate, in kilobits per second (kbps). This attribute is usedon high speed interfaces. Discontinuitiesfor: 1. CIR inthe value of this counter can occur at re-initialization of the management system and at other times as indicated by the value of diffServCountActDiscontTimeRFC 2697 forthis entry." ::= { diffServCountActEntry 3 } diffServCountActPkts OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS current DESCRIPTION "The 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 in the value of this counter can occur at re-initialization of the management systemsrTCM 2. PIR andat other times as indicated by the value of diffServCountActDiscontTime for this entry." ::= { diffServCountActEntry 4 }Baker, Chan, Smith ExpiresMayAugust 2001 [Page57]50] Internet Draft Differentiated Services MIBNovemberDecember 2000diffServCountActHCPktsCIR in RFC 2698 for trTCM 3. CTR and PTR in RFC 2859 for TSWTCM 4. AverageRate used in [MODEL] section 5." ::= { diffServTBParamEntry 3 } | diffServTBParamBurstSize OBJECT-TYPE | SYNTAXCounter64BurstSize UNITS "Bytes" MAX-ACCESSread-onlyread-create STATUS current DESCRIPTION "The maximum number ofpackets at the Action datapath ele- ment.bytes in a single transmission burst. Thisobject should beattribute is usedon high speed interfaces. Discontinuitiesfor: 1. CBS and EBS inthe value of this counter can occur at re-initialization of the management systemRFC 2697 for srTCM 2. CBS andat other times as indicated by the value of diffServCountActDiscontTimePBS in RFC 2698 forthis entry."trTCM 3. Burst Size used in [MODEL] section 5." ::= {diffServCountActEntry 5diffServTBParamEntry 4 }diffServCountActDiscontTime| diffServTBParamInterval OBJECT-TYPE | SYNTAXTimeStampUnsigned32 UNITS "microseconds" MAX-ACCESSread-onlyread-create STATUS current DESCRIPTION "Thevalue of sysUpTime ontime interval used with themost 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, then this object contains a zero value."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." ::= {diffServCountActEntry 6diffServTBParamEntry 5 }diffServCountActStatus| diffServTBParamStatus OBJECT-TYPE | SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "The RowStatus variable controls the activation, deactivation, or deletion ofthis entry.a meter. Any writable variable may be modified whether the row is active or notInService." ::= {diffServCountActEntry 7 } -- -- Algorithmic Drop Table -- diffServAlgDrop OBJECT IDENTIFIER ::= { diffServMIBObjects 5diffServTBParamEntry 6 } | diffServTBParamSimpleTokenBucket OBJECT-IDENTITY | STATUS current | DESCRIPTION | Baker, Chan, Smith ExpiresMayAugust 2001 [Page58]51] Internet Draft Differentiated Services MIBNovemberDecember 2000diffServAlgDropNextFree OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS read-only STATUS current DESCRIPTION "This object yields a value when read that is currently unused for a diffServAlgDropId instance. If a configuring system attempts to create a new row in the diffServAlgDropTable using this value, that operation will fail if"Value of tokenBucket(2) indicates thevalue has,use of Two Parameter Token | Bucket Meter as described inthe mean- time, been used to create another row that is currently valid."[MODEL] section 5.2.3." | REFERENCE | "[MODEL] sections 5 and 7.1.2" | ::= {diffServAlgDrop 1diffServTBParam 3 }diffServAlgDropTable OBJECT-TYPE SYNTAX SEQUENCE OF DiffServAlgDropEntry MAX-ACCESS not-accessible| diffServTBParamAvgRate OBJECT-IDENTITY | STATUS current | DESCRIPTION"The algorithmic drop table contains entries describ- ing an element that drops packets according to some algorithm."| "Value of avgRate(3) indicates the use of Average Rate Meter as | described in [MODEL] section 5.2.1." | REFERENCE | "[MODEL]section 7.1.3"sections 5 and 7.1.2" | ::= {diffServAlgDrop 2diffServTBParam 4 }diffServAlgDropEntry OBJECT-TYPE SYNTAX DiffServAlgDropEntry MAX-ACCESS not-accessible| diffServTBParamSrTCMBlind OBJECT-IDENTITY | STATUS current | DESCRIPTION"An entry describes a process that drops packets according to some algorithm. Further details| "Value ofthe algorithm type are to be found in diffServAlgDropTypesrTCMBlind(4) and srTCMAware(5) indicates the use of | Single Rate Three Color Marker Metering as defined by RFC 2697, | withmore detail parameter entry pointed to`Color Blind' and `Color Aware' mode as described bydiffServAlgDropSpecific when necessary." INDEX { diffServAlgDropId }the | RFC." | REFERENCE | "[MODEL] sections 5 and 7.1.2" | ::= {diffServAlgDropTable 1diffServTBParam 5 }DiffServAlgDropEntry| diffServTBParamSrTCMAware OBJECT-IDENTITY | STATUS current | DESCRIPTION | "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." | REFERENCE | "[MODEL] sections 5 and 7.1.2" | ::=SEQUENCE{diffServAlgDropId Unsigned32, diffServAlgDropType INTEGER, diffServAlgDropNext RowPointer, diffServAlgDropQMeasure RowPointer,diffServTBParam 6 } | diffServTBParamTrTCMBlind OBJECT-IDENTITY | STATUS current | DESCRIPTION | "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." | Baker, Chan, Smith ExpiresMayAugust 2001 [Page59]52] Internet Draft Differentiated Services MIBNovemberDecember 2000diffServAlgDropQThreshold Unsigned32, diffServAlgDropSpecific StaticRowPointer, diffServAlgDropOctets Counter32, diffServAlgDropHCOctets Counter64, diffServAlgDropPkts Counter32, diffServAlgDropHCPkts Counter64, diffServAlgDropStatus RowStatusREFERENCE | "[MODEL] sections 5 and 7.1.2" | ::= { diffServTBParam 7 }diffServAlgDropId OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS not-accessible| diffServTBParamTrTCMAware OBJECT-IDENTITY | STATUS current | DESCRIPTION"An index that enumerates the Algorithmic Dropper entries. The set| "Value ofsuch identifiers spanstrTCMBlind(6) and trTCMAware(7) indicates thewhole agent. Managers should obtain new values for row creation in this table by reading diffServAlgDrop- NextFree." ::= { diffServAlgDropEntry 1 } diffServAlgDropType OBJECT-TYPE SYNTAX INTEGERuse of | Two Rate Three Color Marker Metering as defined by RFC 2698, with | `Color Blind' and `Color Aware' mode as described by the RFC." | REFERENCE | "[MODEL] sections 5 and 7.1.2" | ::= {other(1), tailDrop(2), headDrop(3), randomDrop(4)diffServTBParam 8 }MAX-ACCESS read-create| diffServTBParamTswTCM OBJECT-IDENTITY | STATUS current | DESCRIPTION"The type| "Value ofalgorithm used by this dropper. A valuetswTCM(8) indicates the use oftailDrop(2) or headDrop(3) represents an algorithm that is completely specifiedTime Sliding Window | Three Color Marker Metering as defined bythis MIB. A value of other(1) requires further specification in some other MIB module.RFC 2859." | REFERENCE | "[MODEL] sections 5 and 7.1.2" | ::= { diffServTBParam 9 } | -- -- Actions -- diffServAction OBJECT IDENTIFIER ::= { diffServMIBObjects 5 } | -- -- ThetailDrop(2) algorithm is described as follows: diffServAlgDropQThreshold represents the depthAction Table allows enumeration of thequeue, pointeddifferent -- types of actions toby diffServAlgDropQMeasure, at which all newly arriving packets willbedropped. The headDrop(3) algorithm is described as follows: ifapplied to apacket arrivestraffic flow. -- diffServActionNextFree OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS read-only STATUS current DESCRIPTION "This object yields a value when read that is currently unused for a diffServActionId instance. If a configuring system attempts to create a new row in thecurrent depth ofdiffServActionTable using this value, that operation will fail if the value has, in thequeue, pointed to by diffServAlgDropQMeasure, is at diffSer-Baker, Chan, Smith ExpiresMayAugust 2001 [Page60]53] Internet Draft Differentiated Services MIBNovemberDecember 2000vAlgDropQThreshold, packets currently at the head of the queue are droppedmeantime, been used tomake 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, diffServAlgDropSpecific points to a diffServRandom- DropEntrycreate another row thatdescribes the algorithm. For this algorithm, diffServAlgQThresholdisunderstood to be the absolute maximum size of the queue and additional parameters are described in diffServRandomDropTable."currently valid." ::= {diffServAlgDropEntry 2diffServAction 1 }diffServAlgDropNextdiffServActionTable OBJECT-TYPE SYNTAXRowPointerSEQUENCE OF DiffServActionEntry MAX-ACCESSread-createnot-accessible STATUS current DESCRIPTION"This selects the next diffserv functional datapath element to handle traffic for this data path. This RowPointer should point"The Action Table enumerates actions that can be performed toan instancea stream ofone of: diffServClfrEntry diffServMeterEntry diffServActionEntry diffServAlgDropEntry diffServQEntry A valuetraffic. Multiple actions can be concatenated. For example, after marking a stream ofzeroDotZero in this attribute indicates no further Diffserv treatment is performed ontrafficof this datapath. The use of zeroDotZero is the normal usage for the last functional datapath elementexiting from a meter, a device can then perform a count action of thecurrent data path. If the row pointedconforming or non-conforming traffic. Specific actions are indicated by diffServActionSpecific which points todoes not exist, the treatment is as if this attribute contains a valuean entry ofzero- DotZero."a specific action type parameterizing the action in detail." REFERENCE "[MODEL] section 6." ::= {diffServAlgDropEntry 3diffServAction 2 }diffServAlgDropQMeasurediffServActionEntry OBJECT-TYPE SYNTAXRowPointerDiffServActionEntry MAX-ACCESSread-createnot-accessible STATUS currentBaker, Chan, Smith Expires May 2001 [Page 61] Internet Draft Differentiated Services MIB November 2000DESCRIPTION"Points to an"Each entry in thediffServQTable to indicate the queue that a drop algorithm is to monitor when deciding whetheraction table allows description of one specific action todrop a packet. If the row pointedbe applied todoes not exist, the algorithmic dropper element is considered inactive."traffic." INDEX { diffServActionId } ::= {diffServAlgDropEntry 4diffServActionTable 1 }diffServAlgDropQThresholdDiffServActionEntry ::= SEQUENCE { diffServActionId Unsigned32, diffServActionNext RowPointer, diffServActionSpecific StaticRowPointer, diffServActionType INTEGER, diffServActionStatus RowStatus } diffServActionId OBJECT-TYPE SYNTAX Unsigned32UNITS "Bytes"MAX-ACCESSread-createnot-accessible Baker, Chan, Smith Expires August 2001 [Page 54] Internet Draft Differentiated Services MIB December 2000 STATUS current DESCRIPTION"A threshold on the depth 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"An index that enumerates thedepthAction entries. The set of such identifiers spans thequeue, pointed to by diffServAlgDropQMeasure, at which the drop action will take place. Other algorithms will need to define their own semanticswhole agent. Managers should obtain new values for row creation in thisthreshold."table by reading diffServActionNextFree." ::= {diffServAlgDropEntry 5diffServActionEntry 1 }diffServAlgDropSpecificdiffServActionNext OBJECT-TYPE SYNTAXStaticRowPointerRowPointer MAX-ACCESS read-create STATUS current DESCRIPTION"Points to a table entry that provides further detail regarding a drop algorithm. Entries with diffServAlgDropType equal to other(1) may have this point to a table defined in another MIB module. Entries with diffServAlgDropType equal"This selects the next diffserv functional datapath element torandom- Drop(4) must havehandle traffic for this data path. This RowPointer should point to anentryinstance of one of: diffServClfrEntry diffServMeterEntry diffServActionEntry diffServAlgDropEntry diffServQEntry A value of zeroDotZero indiffSer- vRandomDropTable. For all other algorithms,thisshould takeattribute 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 of the current data path. If the row pointed to does not exist, the treatment is as if this attribute contains a valuezeroDotzero."of zeroDotZero." DEFVAL { zeroDotZero } ::= {diffServAlgDropEntry 6diffServActionEntry 2 } diffServActionSpecific OBJECT-TYPE SYNTAX StaticRowPointer MAX-ACCESS read-create STATUS current DESCRIPTION "A pointer to an object instance providing additional information for the type of action indicated by this action table entry. For the standard actions defined by this 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." ::= { diffServActionEntry 3 } Baker, Chan, Smith ExpiresMayAugust 2001 [Page62]55] Internet Draft Differentiated Services MIBNovemberDecember 2000diffServAlgDropOctetsdiffServActionType OBJECT-TYPE SYNTAXCounter32INTEGER { other(1), -- types not specified here specific(2), -- follow the Specific pointer absoluteDrop(3) -- disallow traffic } MAX-ACCESSread-onlyread-create STATUS current DESCRIPTION"The number"Indicates the type ofoctets that have been droppedaction. The values specific(2) must be associated with additional information, pointed to bythis drop process. On high speed devices, this object implementsdiffServActionSpecific, with theleast significant 32 bits of diffSer- vAlgDropHCOctets. Discontinuities inactual action type indicated by the object being pointed to. The value absoluteDrop(3) has no associated information and will have a diffServActionSpecific value ofthis counter can occur at re-initializationzeroDotZero. The use of other(1) is outside themanagement system and at other times as indicated by the valuescope ofifCounterDiscontinuityTime appropriate tothisinter- face." ::= { diffServAlgDropEntry 7 } diffServAlgDropHCOctets OBJECT-TYPE SYNTAX Counter64 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of octets that have been dropped by this drop process. This object shoulddefinition, although the diffServActionSpecific pointer may be usedon high speed interfaces. Discontinuitiesinthe value ofthiscounter can occur at re-initialization of the management system and at other times as indicated by the value of ifCounterDiscontinuityTime appropriatecase, tothis inter- face."indicate other information." ::= {diffServAlgDropEntry 8diffServActionEntry 4 }diffServAlgDropPktsdiffServActionStatus OBJECT-TYPE SYNTAXCounter32RowStatus MAX-ACCESSread-onlyread-create STATUS current DESCRIPTION "Thenumber of packets that have been dropped by this drop process. On high speed devices, this object implementsRowStatus variable controls theleast significant 32 bitsactivation, deactivation or deletion ofdiffSer- vAlgDropHCPkts. Discontinuities inan action element. Any writable variable may be modified whether thevaluerow is active or notInService." ::= { diffServActionEntry 5 } -- -- DSCP Mark Action Table -- -- Rows of thiscountertable are pointed to by diffServActionSpecific -- to provide detailed parameters specific to the DSCP -- Mark action. -- -- A single entry in this table canoccur at re-initializationbe shared, pointed to, by -- multiple diffServActionTable entries, ofthe management systemsame or different -- datapaths. -- diffServDscpMarkActTable OBJECT-TYPE SYNTAX SEQUENCE OF DiffServDscpMarkActEntry MAX-ACCESS not-accessible Baker, Chan, Smith ExpiresMayAugust 2001 [Page63]56] Internet Draft Differentiated Services MIBNovemberDecember 2000and at other times as indicated bySTATUS current DESCRIPTION "This table enumerates specific DSCPs used for marking or remarking thevalueDSCP field of IP packets. The entries ofifCounterDiscontinuityTime appropriate tothisinter- face."table may be referenced by a diffServActionSpecific attribute." REFERENCE "[MODEL] section 6.1" ::= {diffServAlgDropEntry 9diffServAction 3 }diffServAlgDropHCPktsdiffServDscpMarkActEntry OBJECT-TYPE SYNTAXCounter64DiffServDscpMarkActEntry MAX-ACCESSread-onlynot-accessible STATUS current DESCRIPTION"The number of packets"An entry in the DSCP mark action table thathave been dropped by this drop process. This object should bedescribes a single DSCP usedon 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 ifCounterDiscontinuityTime appropriate to this inter- face."for marking." INDEX { diffServDscpMarkActDscp } ::= {diffServAlgDropEntry 10diffServDscpMarkActTable 1 }diffServAlgDropStatusDiffServDscpMarkActEntry ::= SEQUENCE { diffServDscpMarkActDscp Dscp } diffServDscpMarkActDscp OBJECT-TYPE SYNTAXRowStatusDscp MAX-ACCESSread-createread-only STATUS current DESCRIPTION "TheRowStatus variable controls the activation, deactivation, or deletionDSCP that this Action uses for marking/remarking traffic. Note that a DSCP value of -1 is not permitted in thisentry. Any writable variable may be modified whethertable. It is quite possible that therowonly packets subject to this Action are already marked with this DSCP. Note also that Diffserv may result in packet remarking both on ingress to a network and on egress from it and it isactive or notInService."quite possible that ingress and egress would occur in the same router." ::= {diffServAlgDropEntry 11diffServDscpMarkActEntry 1 } -- --Random DropCount Action Table --diffServRandomDropNextFree OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS read-only STATUS current DESCRIPTION "This object yields a value when read-- Due to the fact thatis currently unusedthe MIB structure allows multiple -- cascading diffServActionEntry be used to describe -- multiple actions for adiffServRandomDropId instance.datapath, the counter became an Baker, Chan, Smith ExpiresMayAugust 2001 [Page64]57] Internet Draft Differentiated Services MIBNovemberDecember 2000If a configuring system attempts to create-- optional action type. In normal implementation, anew row in-- datapath either have counters or it doesn't, it is not -- an element thediffServRandomDropTable using this value, that operation will failmanagement 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 -- 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 is currently unused for a diffServCountActId instance. If a configuring system attempts to create a new row in the diffServCountActTable using this value, that operation will fail if the value has, in themean- time,meantime, been used to create another row that is currently valid." ::= {diffServAlgDrop 3diffServAction 4 }diffServRandomDropTablediffServCountActTable OBJECT-TYPE SYNTAX SEQUENCE OFDiffServRandomDropEntryDiffServCountActEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION"The random drop"This table containsentries describing a process that drops packets randomly. Entries in this table is intended to be pointed to by diffSer- vAlgDropSpecific."counters for all the traffic passing through an action element." REFERENCE "[MODEL] section7.1.3"6.4" ::= {diffServAlgDrop 4diffServAction 5 }diffServRandomDropEntrydiffServCountActEntry OBJECT-TYPE SYNTAXDiffServRandomDropEntryDiffServCountActEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entry in the count action table describes aprocess that drops packets according to a random algorithm."single set of traffic counters." INDEX {diffServRandomDropIddiffServCountActId } ::= {diffServRandomDropTablediffServCountActTable 1 }DiffServRandomDropEntry ::= SEQUENCE { diffServRandomDropId Unsigned32, diffServRandomDropMinThreshBytes Unsigned32, diffServRandomDropMinThreshPkts Unsigned32, diffServRandomDropMaxThreshBytes Unsigned32, diffServRandomDropMaxThreshPkts Unsigned32, diffServRandomDropInvProbMax Unsigned32, diffServRandomDropInvWeight Unsigned32, diffServRandomDropSamplingRate Unsigned32, diffServRandomDropStatus RowStatus } diffServRandomDropId OBJECT-TYPEBaker, Chan, Smith ExpiresMayAugust 2001 [Page65]58] Internet Draft Differentiated Services MIBNovemberDecember 2000 DiffServCountActEntry ::= SEQUENCE { diffServCountActId Unsigned32, diffServCountActOctets Counter32, diffServCountActHCOctets Counter64, diffServCountActPkts Counter32, diffServCountActHCPkts Counter64, diffServCountActDiscontTime TimeStamp, diffServCountActStatus RowStatus } diffServCountActId OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS not-accessible STATUS current DESCRIPTION "An index that enumerates theRandom DropCount Action entries. The set of such identifiers spans the whole agent. Managers should obtain new values for row creation in this table by readingdiffServRandomDropNextFree."diffServCountActNextFree." ::= {diffServRandomDropEntrydiffServCountActEntry 1 }diffServRandomDropMinThreshBytesdiffServCountActOctets OBJECT-TYPE SYNTAXUnsigned32 UNITS "bytes"Counter32 MAX-ACCESSread-createread-only STATUS current DESCRIPTION "Theaverage queue depth in bytes, beyond which traffic has a non-zero probabilitynumber ofbeing dropped. Changes in this variable may or may not be reflected inoctets at thereported valueAction datapath element. On high speed devices, this object implements the least significant 32 bits ofdiffServRandomDrop- MinThreshPkts." ::= { diffServRandomDropEntry 2 } diffServRandomDropMinThreshPkts OBJECT-TYPE SYNTAX Unsigned32 UNITS "packets" MAX-ACCESS read-create STATUS current DESCRIPTION "The average queue depthdiffServCountActHCOctets. Discontinuities inpackets, beyond which traffic has a non-zero probabilitythe value ofbeing dropped. Changes inthisvariable may or may not be reflected incounter can occur at re- initialization of the management system and at other times as indicated by thereportedvalue ofdiffServRandomDropMinThresh- Bytes."diffServCountActDiscontTime for this entry." ::= {diffServRandomDropEntry 3diffServCountActEntry 2 }diffServRandomDropMaxThreshBytesdiffServCountActHCOctets OBJECT-TYPE SYNTAXUnsigned32 UNITS "bytes"Counter64 MAX-ACCESSread-createread-only STATUS current DESCRIPTION "Theaverage queue depth beyond which traffic has a probability indicated by diffServRandomDropInvProbMaxnumber of octets at the Action datapath element. This object should be used on high speed interfaces. Baker, Chan, Smith ExpiresMayAugust 2001 [Page66]59] Internet Draft Differentiated Services MIBNovemberDecember 2000 Discontinuities in the value ofbeing dropped or marked. Note thatthisdiffers fromcounter can occur at re- initialization of thephysical queue limit, which is stored in diffServAlgDropQThreshold. Changes in this variable may or may not be reflected inmanagement system and at other times as indicated by thereportedvalue ofdiffServRandomDropMaxThreshPkts."diffServCountActDiscontTime for this entry." ::= {diffServRandomDropEntry 4diffServCountActEntry 3 }diffServRandomDropMaxThreshPktsdiffServCountActPkts OBJECT-TYPE SYNTAXUnsigned32 UNITS "packets"Counter32 MAX-ACCESSread-createread-only STATUS current DESCRIPTION "Theaverage queue depth beyond which traffic has a probability indicated by diffServRandomDropInvProbMaxnumber ofbeing dropped or marked. Note that this differs frompackets at thephysical queue limit, which is stored in diffServAlgDropQThreshold. Changes inAction datapath element. On high speed devices, thisvariable may or may not be reflected inobject implements thereported valueleast significant 32 bits ofdiffServRandomDropMaxThreshBytes."diffServCountActHCPkts. 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." ::= {diffServRandomDropEntry 5diffServCountActEntry 4 }diffServRandomDropInvProbMaxdiffServCountActHCPkts OBJECT-TYPE SYNTAXUnsigned32Counter64 MAX-ACCESSread-createread-only STATUS current DESCRIPTION "Theworst case random drop probability, expressed as the inverse of the drop probability. With special casenumber of packets at thevalue zero meaning zero probability of drop. For example, if every packet mayAction datapath element. This object should bedroppedused on high speed interfaces. Discontinuities in theworst case (100%),value of thishascounter can occur at re- initialization of the management system and at other times as indicated by the value of4,294,967,295."diffServCountActDiscontTime for this entry." ::= {diffServRandomDropEntry 6diffServCountActEntry 5 }diffServRandomDropInvWeightdiffServCountActDiscontTime OBJECT-TYPE SYNTAXUnsigned32TimeStamp MAX-ACCESSread-createread-only STATUS current DESCRIPTION "Theweightingvalue ofpast history in affectingsysUpTime on thecal- culationmost 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 thecurrent queue average. The movinglocal management subsystem, then this Baker, Chan, Smith ExpiresMayAugust 2001 [Page67]60] Internet Draft Differentiated Services MIBNovemberDecember 2000average 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. Implementations may choose to limit the acceptable set of values toobject contains aspecified set, such as powers of 2."zero value." ::= {diffServRandomDropEntry 7diffServCountActEntry 6 }diffServRandomDropSamplingRatediffServCountActStatus OBJECT-TYPE SYNTAXUnsigned32RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "ThenumberRowStatus variable controls the activation, deactivation, or deletion oftimes per secondthis entry. Any writable variable may be modified whether thequeue is sampled for queue average calculation. A value of zero means the queue is sampled approximately each time a packet is enqueued (or dequeued)." ::= { diffServRandomDropEntry 8 } diffServRandomDropStatus 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 rowrow is active or notInService." ::= {diffServRandomDropEntry 9diffServCountActEntry 7 } -- | --QueueAlgorithmic Drop Table --diffServQueuediffServAlgDrop 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 Baker, Chan, Smith Expires May 2001 [Page 68] Internet Draft Differentiated Services MIB November 2000 -- 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| diffServAlgDropNextFree OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS read-only STATUS current DESCRIPTION "This object yields a value when read that is currently unused for adiffServQIddiffServAlgDropId instance. If a configuring system attempts to create a new row in thediffServQTablediffServAlgDropTable using this value, that operation will fail if the value has, in the meantime, been used to create another row that is currently valid." ::= {diffServQueuediffServAlgDrop 1 }diffServQTablediffServAlgDropTable OBJECT-TYPE SYNTAX SEQUENCE OFDiffServQEntryDiffServAlgDropEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "TheQueue Table enumerates the individual queues."algorithmic drop table contains entries describing an element that drops packets according to some algorithm." REFERENCE "[MODEL] section7.1.1"7.1.3" ::= {diffServQueuediffServAlgDrop 2 }diffServQEntry OBJECT-TYPE SYNTAX DiffServQEntry MAX-ACCESS not-accessible STATUS current DESCRIPTIONBaker, Chan, Smith ExpiresMayAugust 2001 [Page69]61] Internet Draft Differentiated Services MIBNovemberDecember 2000 diffServAlgDropEntry OBJECT-TYPE SYNTAX DiffServAlgDropEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entryin the Queue Tabledescribes asingle queue. With each entry belongingprocess that drops packets according toonesome algorithm. Further details of the algorithm type are to be found in diffServAlgDropType andonly one datapath."with more detail parameter entry pointed to by diffServAlgDropSpecific when necessary." INDEX {diffServQIddiffServAlgDropId } ::= {diffServQTablediffServAlgDropTable 1 }DiffServQEntryDiffServAlgDropEntry ::= SEQUENCE {diffServQIddiffServAlgDropId Unsigned32,diffServQNextdiffServAlgDropType INTEGER, diffServAlgDropNext RowPointer,diffServQSchdParamdiffServAlgDropQMeasure RowPointer, diffServAlgDropQThreshold Unsigned32, diffServAlgDropSpecific StaticRowPointer,diffServQStatusdiffServAlgDropOctets Counter32, diffServAlgDropHCOctets Counter64, diffServAlgDropPkts Counter32, diffServAlgDropHCPkts Counter64, diffServAlgDropStatus RowStatus }diffServQIddiffServAlgDropId OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS not-accessible STATUS current DESCRIPTION "An index that enumerates theQueueAlgorithmic Dropper entries. The set of such identifiers spans the whole agent. Managers should obtain new values for row creation in this table by readingdiffServQNextFree."diffServAlgDropNextFree." ::= {diffServQEntrydiffServAlgDropEntry 1 }diffServQNextdiffServAlgDropType OBJECT-TYPE SYNTAXRowPointer MAX-ACCESS read-create STATUS current DESCRIPTION "This selects the next diffserv functional datapath element to handle traffic for this data path. This RowPointer must point to an instance of one of: diffServSchedulerEntry A value of zeroDotZero in this attribute indicates an incomplete diffServQEntry instance. An illegal con- figuration. If the row pointed to does not exist, the treatment is as if this attribute contains a value of zero- DotZero." ::=INTEGER {diffServQEntry 2other(1), tailDrop(2), headDrop(3), randomDrop(4) } Baker, Chan, Smith ExpiresMayAugust 2001 [Page70]62] Internet Draft Differentiated Services MIBNovemberDecember 2000diffServQSchdParam OBJECT-TYPE SYNTAX StaticRowPointerMAX-ACCESS read-create STATUS current DESCRIPTION"This StaticRowPointer indicates the entry in diffServSchdParamTable the scheduler, pointed to"The type of algorithm used bydiffServQNext, should use to servicethisqueue.dropper. A value ofzeroDotZero in this attribute indicatestailDrop(2) or headDrop(3) represents anincomplete diffServQEntry instance. An illegal con- figuration. If the row pointed to does not exist, the treatmentalgorithm that isas ifcompletely specified by thisattribute contains aMIB. A value ofzero- DotZero." ::= { diffServQEntry 3 } diffServQStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "The RowStatus variable controlsother(1) requires further specification in some other MIB module. The tailDrop(2) algorithm is described as follows: diffServAlgDropQThreshold represents theactivation, deactivation, or deletiondepth ofa queue. Any writable variable may be modified whethertherow is active or notInService." ::= { diffServQEntry 4 } -- -- Scheduler Table -- diffServScheduler OBJECT IDENTIFIER ::= { diffServMIBObjects 7 } -- --queue, pointed to by diffServAlgDropQMeasure, at which all newly arriving packets will be dropped. TheScheduler TableheadDrop(3) algorithm isused for representingdescribed as follows: if a packetschedulers: -- it provides flexibility for multiple scheduling algorithms, each -- servicing multiple queues, to be used on the same logical/physical -- interface. -- Noticearrives when theservicing parameterscurrent depth of thescheduler uses is -- specifiedqueue, pointed to byeach of its upstream functional datapath elements, -- most likely queues or schedulers. -- The coordination and coherency betweendiffServAlgDropQMeasure, is at diffServAlgDropQThreshold, packets currently at theservicing parameters --head of thescheduler's upstream functional datapath elements must Baker, Chan, Smith Expires May 2001 [Page 71] Internet Draft Differentiated Services MIB November 2000 -- be maintainedqueue are dropped to make room for theschedulernew packet tofunction correctly. -- -- The diffServSchedulerSchdParam attribute is used for specifying --be enqueued at theservicing parameters for output of a scheduler when its -- downstream functional datapath element is another scheduler. -- This is used for building hierarchical queue/scheduler. -- -- More discussiontail of thescheduler functional datapath element --queue. The randomDrop(4) algorithm isin [MODEL] section 7.1.2. -- diffServSchedulerPriority OBJECT-IDENTITY STATUS current DESCRIPTION "For use with diffServSchedulerMethod to indicate Priority scheduling method, defineddescribed as follows: on packet arrival, an algorithminis executed which may randomly drop thepresence of data in a queuepacket, orset of queues absolutely precludes dequeuedrop other packet(s) fromanotherthe queueor set of queues. Notice attributes from diffServSchdParamEntryin its place. The specifics of thequeues/schedulers feed- ingalgorithm may be proprietary. For thisscheduler are used when determiningalgorithm, diffServAlgDropSpecific points to a diffServRandomDropEntry that describes thenext packetalgorithm. For this algorithm, diffServAlgQThreshold is understood toschedule." REFERENCE "[MODEL] section 7.1.2"be the absolute maximum size of the queue and additional parameters are described in diffServRandomDropTable." ::= {diffServScheduler 1diffServAlgDropEntry 2 }diffServSchedulerWRR OBJECT-IDENTITYdiffServAlgDropNext OBJECT-TYPE SYNTAX RowPointer MAX-ACCESS read-create STATUS current DESCRIPTION"For use with diffServSchedulerMethod"This selects the next diffserv functional datapath element toindicate Weighted Round Robin scheduling method, defined as any algorithm in which a set of queues are visited in a fixed order, and varying amounts ofhandle trafficare removed from each queue in turnfor this data path. This RowPointer should point toimplementanaver- age output rate by class. Notice attributes from diffServSchdParamEntryinstance ofthe queues/schedulers feed- ingone of: diffServClfrEntry diffServMeterEntry diffServActionEntry diffServAlgDropEntry diffServQEntry A value of zeroDotZero in thisscheduler are used when determining the next packet to schedule." REFERENCE "[MODEL] section 7.1.2" ::= { diffServScheduler 2 } diffServSchedulerWFQ OBJECT-IDENTITY STATUS currentattribute indicates no further Diffserv treatment is performed on traffic of this datapath. The Baker, Chan, Smith ExpiresMayAugust 2001 [Page72]63] Internet Draft Differentiated Services MIBNovemberDecember 2000DESCRIPTION "Forusewith diffServSchedulerMethod to indicate Weighted Fair Queueing scheduling method, defined as any algorithm in which a setofqueues are conceptu- ally visited in some order, to implement an average output rate by class. Notice attributes from diffServSchdParamEntryzeroDotZero is the normal usage for the last functional datapath element of thequeues/schedulers feed- ing this scheduler are used when determiningcurrent data path. If thenext packetrow pointed toschedule." REFERENCE "[MODEL] section 7.1.2"does not exist, the treatment is as if this attribute contains a value of zeroDotZero." ::= {diffServSchedulerdiffServAlgDropEntry 3 }diffServSchedulerShaping OBJECT-IDENTITYdiffServAlgDropQMeasure OBJECT-TYPE SYNTAX RowPointer MAX-ACCESS read-create STATUS current DESCRIPTION"For use with diffServSchedulerMethod"Points to an entry in the diffServQTable to indicate theschedulerqueue that a drop algorithm is to monitor when deciding whether to drop a packet. If the row pointed to does not exist, the algorithmic dropper element is considered inactive." ::= { diffServAlgDropEntry 4 } diffServAlgDropQThreshold OBJECT-TYPE SYNTAX Unsigned32 UNITS "Bytes" MAX-ACCESS read-create STATUS current DESCRIPTION "A threshold on the depth in bytes of the queue being measured at which a trigger is generated to the dropping algorithm. For the tailDrop(2) or headDrop(3) algorithms, this represents the depth of the queue, pointed to by diffServAlgDropQMeasure, at which the drop action will take place. Other algorithms will need to define their own semantics for this threshold." ::= { diffServAlgDropEntry 5 } diffServAlgDropSpecific OBJECT-TYPE SYNTAX StaticRowPointer MAX-ACCESS read-create STATUS current DESCRIPTION "Points to a table entry that provides further detail regarding a drop algorithm. Entries with diffServAlgDropType equal to other(1) may have this point to a table defined in another MIB module. Baker, Chan, Smith Expires August 2001 [Page 64] Internet Draft Differentiated Services MIB December 2000 Entries with diffServAlgDropType equal to randomDrop(4) must have this point to an entry in diffServRandomDropTable. For all other algorithms, this should take the value zeroDotzero." ::= { diffServAlgDropEntry 6 } diffServAlgDropOctets OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS current DESCRIPTION "The number 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 as indicated by the value of ifCounterDiscontinuityTime appropriate to this interface." ::= { diffServAlgDropEntry 7 } diffServAlgDropHCOctets OBJECT-TYPE SYNTAX Counter64 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of octets 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 at re- initialization of the management system and at other times as indicated by the value of ifCounterDiscontinuityTime appropriate to this interface." ::= { diffServAlgDropEntry 8 } diffServAlgDropPkts OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of packets that have been dropped by this drop process. On high speed devices, this object implements the least significant 32 bits of diffServAlgDropHCPkts. Baker, Chan, Smith Expires August 2001 [Page 65] Internet Draft Differentiated Services MIB December 2000 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 ifCounterDiscontinuityTime appropriate to this interface." ::= { diffServAlgDropEntry 9 } diffServAlgDropHCPkts OBJECT-TYPE SYNTAX Counter64 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of packets 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 at re- initialization of the management system and at other times as indicated by the value of ifCounterDiscontinuityTime appropriate to this interface." ::= { diffServAlgDropEntry 10 } diffServAlgDropStatus 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 11 } -- -- Random Drop Table -- diffServRandomDropNextFree OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS read-only STATUS current DESCRIPTION "This object yields a value when read that is currently unused for a diffServRandomDropId instance. If a configuring system attempts to create a new row in the diffServRandomDropTable using this value, that operation will fail if the value has, in the Baker, Chan, Smith Expires August 2001 [Page 66] Internet Draft Differentiated Services MIB December 2000 meantime, been used to create another row that is currently valid." ::= { diffServAlgDrop 3 } diffServRandomDropTable OBJECT-TYPE SYNTAX SEQUENCE OF DiffServRandomDropEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "The random drop table contains entries describing a process that drops packets randomly. Entries in this table is intended to be pointed to by diffServAlgDropSpecific." REFERENCE "[MODEL] section 7.1.3" ::= { diffServAlgDrop 4 } diffServRandomDropEntry OBJECT-TYPE SYNTAX DiffServRandomDropEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entry describes a process that drops packets according to a random algorithm." INDEX { diffServRandomDropId } ::= { diffServRandomDropTable 1 } DiffServRandomDropEntry ::= SEQUENCE { diffServRandomDropId Unsigned32, diffServRandomDropMinThreshBytes Unsigned32, diffServRandomDropMinThreshPkts Unsigned32, diffServRandomDropMaxThreshBytes Unsigned32, diffServRandomDropMaxThreshPkts Unsigned32, diffServRandomDropInvProbMax Unsigned32, diffServRandomDropInvWeight Unsigned32, diffServRandomDropSamplingRate Unsigned32, diffServRandomDropStatus RowStatus } diffServRandomDropId OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS not-accessible STATUS current DESCRIPTION Baker, Chan, Smith Expires August 2001 [Page 67] Internet Draft Differentiated Services MIB December 2000 "An index that enumerates the Random Drop entries. The set of such identifiers spans the whole agent. Managers should obtain new values for row creation in this table by reading diffServRandomDropNextFree." ::= { diffServRandomDropEntry 1 } diffServRandomDropMinThreshBytes OBJECT-TYPE SYNTAX Unsigned32 UNITS "bytes" MAX-ACCESS read-create STATUS current DESCRIPTION "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." ::= { diffServRandomDropEntry 2 } diffServRandomDropMinThreshPkts OBJECT-TYPE SYNTAX Unsigned32 UNITS "packets" MAX-ACCESS read-create STATUS current DESCRIPTION "The average queue depth in packets, 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 diffServRandomDropMinThreshBytes." ::= { diffServRandomDropEntry 3 } diffServRandomDropMaxThreshBytes OBJECT-TYPE SYNTAX Unsigned32 UNITS "bytes" 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 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 diffServRandomDropMaxThreshPkts." ::= { diffServRandomDropEntry 4 } Baker, Chan, Smith Expires August 2001 [Page 68] Internet Draft Differentiated Services MIB December 2000 diffServRandomDropMaxThreshPkts 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 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 SYNTAX Unsigned32 MAX-ACCESS read-create STATUS current DESCRIPTION "The worst case random drop probability, expressed as the inverse of the drop probability. With special case of the value zero meaning zero probability of drop. For example, if every packet may be dropped in the worst case (100%), this has the value of 4,294,967,295." ::= { diffServRandomDropEntry 6 } diffServRandomDropInvWeight OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS read-create 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 value as the factor for the new queue depth, and one minus that inverse as the factor for the historical average. Implementations may choose to limit the acceptable set of values to a specified set, such as powers of 2." ::= { diffServRandomDropEntry 7 } diffServRandomDropSamplingRate OBJECT-TYPE SYNTAX Unsigned32 Baker, Chan, Smith Expires August 2001 [Page 69] Internet Draft Differentiated Services MIB December 2000 MAX-ACCESS read-create STATUS current DESCRIPTION "The number of times per second the queue is sampled for queue average calculation. A value of zero means the queue is sampled approximately each time a packet is enqueued (or dequeued)." ::= { diffServRandomDropEntry 8 } diffServRandomDropStatus 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." ::= { diffServRandomDropEntry 9 } -- | -- Queue Table -- diffServQueue OBJECT IDENTIFIER ::= { diffServMIBObjects 7 } | -- -- 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. -- Baker, Chan, Smith Expires August 2001 [Page 70] Internet Draft Differentiated Services MIB December 2000 diffServQNextFree OBJECT-TYPE 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." ::= { diffServQueue 1 } diffServQTable OBJECT-TYPE SYNTAX SEQUENCE OF DiffServQEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "The Queue Table enumerates the individual queues." REFERENCE "[MODEL] section 7.1.1" ::= { diffServQueue 2 } diffServQEntry OBJECT-TYPE SYNTAX DiffServQEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entry in the Queue Table describes a single queue. With each entry belonging to one and only one datapath." INDEX { diffServQId } ::= { diffServQTable 1 } DiffServQEntry ::= SEQUENCE { diffServQId Unsigned32, diffServQNext RowPointer, diffServQSchdParam StaticRowPointer, diffServQStatus RowStatus } diffServQId OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS not-accessible STATUS current Baker, Chan, Smith Expires August 2001 [Page 71] Internet Draft Differentiated Services MIB December 2000 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." ::= { diffServQEntry 1 } diffServQNext OBJECT-TYPE SYNTAX RowPointer MAX-ACCESS read-create STATUS current DESCRIPTION "This selects the next diffserv functional datapath element to handle traffic for this data path. This RowPointer must point to an instance of one of: diffServSchedulerEntry A value of zeroDotZero in this attribute indicates an incomplete diffServQEntry instance. An illegal configuration. If the row pointed to does not exist, the treatment is as if this attribute contains a value of zeroDotZero." ::= { diffServQEntry 2 } diffServQSchdParam OBJECT-TYPE SYNTAX StaticRowPointer MAX-ACCESS read-create STATUS current DESCRIPTION "This StaticRowPointer indicates the entry in diffServSchdParamTable the scheduler, pointed to by diffServQNext, should use to service this queue. A value of zeroDotZero in this attribute indicates an incomplete diffServQEntry instance. An illegal configuration. If the row pointed to does not exist, the treatment is as if this attribute contains a value of zeroDotZero." ::= { diffServQEntry 3 } diffServQStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current Baker, Chan, Smith Expires August 2001 [Page 72] Internet Draft Differentiated Services MIB December 2000 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 4 } -- -- Scheduler Table -- diffServScheduler OBJECT IDENTIFIER ::= { diffServMIBObjects 8 } | -- -- 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 by each of its upstream functional datapath elements, -- most likely queues or schedulers. -- The coordination and coherency between the servicing parameters -- of the scheduler's upstream functional datapath elements must -- be maintained for the scheduler to function correctly. -- -- The diffServSchedulerSchdParam attribute is used for specifying -- the servicing parameters for output of a scheduler when its -- downstream functional datapath element is another scheduler. -- This is used for building hierarchical queue/scheduler. -- -- Scheduler Table entries can be used to configure a shaper. | -- When diffServSchedulerMethod contains the OBJECT IDENTIFIER | -- diffServSchedulerShaper, the diffServSchedulerEntry is used | -- as a shaper. As a shaper, diffServSchedulerSpecific will | -- reference a diffServTBParamTable entry to specify the | -- Leaky Bucket parameters used forshaping. Notice attri- butes from diffServSchdParamEntry ofthequeues/schedulers feeding this schedulershaper. Complex | -- shapers can be parameterized by using the | -- diffServSchedulerSucceedNext and diffServSchedulerFailNext | -- parameters the same way complex meters areused when determiningconstructed. | -- | -- More discussion of thenext packet to schedule." REFERENCE "[MODEL]scheduler functional datapath element -- is in [MODEL] section7.1.2" ::= { diffServScheduler 4 }7.1.2. -- diffServSchedulerNextFree OBJECT-TYPE * SYNTAX Unsigned32 Baker, Chan, Smith Expires August 2001 [Page 73] Internet Draft Differentiated Services MIB December 2000 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 themean- time,meantime, been used to create another row that is currently valid." ::= { diffServScheduler51 } | diffServSchedulerTable OBJECT-TYPE SYNTAX SEQUENCE OF DiffServSchedulerEntry MAX-ACCESS not-accessible STATUS current DESCRIPTIONBaker, Chan, Smith Expires May 2001 [Page 73] Internet Draft Differentiated Services MIB November 2000"The Scheduler Table enumerates packet schedulers. Multiple scheduling algorithms can be used on a given datapath, with each algorithm described by one diffServSchedulerEntry." REFERENCE "[MODEL] section 7.1.2" ::= { diffServScheduler62 } | diffServSchedulerEntry OBJECT-TYPE SYNTAX DiffServSchedulerEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entry in the Scheduler Table describing a single instance of a scheduling algorithm." INDEX { diffServSchedulerId } ::= { diffServSchedulerTable 1 } DiffServSchedulerEntry ::= SEQUENCE { diffServSchedulerId Unsigned32,diffServSchedulerNextdiffServSchedulerSucceedNext RowPointer, | diffServSchedulerFailNext RowPointer, | diffServSchedulerMethod OBJECT IDENTIFIER,diffServSchedulerSchdParamdiffServSchedulerSpecific StaticRowPointer, | diffServSchedulerStatus RowStatus } diffServSchedulerId OBJECT-TYPE Baker, Chan, Smith Expires August 2001 [Page 74] Internet Draft Differentiated Services MIB December 2000 SYNTAX Unsigned32 MAX-ACCESS not-accessible STATUS current DESCRIPTION "An index that enumerates the Scheduler entries. The set of such identifiers spans the whole agent. Managers should obtain new values for rowcreation increation in this table by reading diffServSchedulerNextFree." ::= { diffServSchedulerEntry 1 } diffServSchedulerSucceedNext OBJECT-TYPE | SYNTAX RowPointer MAX-ACCESS read-create STATUS current DESCRIPTION "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. But this RowPointer can also point to an instance of: diffServClfrEntry diffServMeterEntry diffServActionEntry diffServAlgDropEntry For building of multiple TCBs for the same data path. This should point to another diffServSchedulerEntry for implementation of multiple scheduler methods for the same datapath, and for implementation of hierarchical schedulers. 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 of the current data path. If the row pointed to does not exist, the treatment is as if thistable by reading diffServSchedulerNextFree."attribute contains a value of zeroDotZero." | DEFVAL { zeroDotZero } ::= { diffServSchedulerEntry12 }diffServSchedulerNextdiffServSchedulerFailNext OBJECT-TYPE | SYNTAX RowPointer | MAX-ACCESS read-createSTATUS current DESCRIPTION "This selects the next diffserv functional datapath| Baker, Chan, Smith ExpiresMayAugust 2001 [Page74]75] Internet Draft Differentiated Services MIBNovemberDecember 2000 STATUS current | DESCRIPTION | "Used when the Scheduler functions as a multi-rate shaper, in | non-work conserving manner. When the traffic does not conform to | the leaky bucket parameter indicated by | diffServSchedulerSchdParam, 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. | But this RowPointer can also point to an instance of: | diffServClfrEntry | diffServMeterEntry | diffServActionEntry | diffServAlgDropEntry For building of multiple TCBs for the same | data path. | This should point to another diffServSchedulerEntry for | implementation ofmultiple scheduler methods for the same datapath, and for implementation of hierarchical schedulers.multi-rate shaper. | 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 of the current data path. | If the row pointed to does not exist, the treatment is as if this | attribute contains a value of zeroDotZero." | DEFVAL { zeroDotZero } | ::= { diffServSchedulerEntry23 } | diffServSchedulerMethod OBJECT-TYPE SYNTAX OBJECT IDENTIFIER MAX-ACCESS read-create STATUS current DESCRIPTION "The scheduling algorithm used by this Scheduler. {0 0} indicates this is unknown. Standard values for generic algorithms: diffServSchedulerPriority, diffServSchedulerWRR, and diffServSchedulerWFQ are specified in this MIB; additional values may be further specified in other MIBs." REFERENCE "[MODEL] section 7.1.2" ::= { diffServSchedulerEntry34 } | Baker, Chan, Smith ExpiresMayAugust 2001 [Page75]76] Internet Draft Differentiated Services MIBNovemberDecember 2000diffServSchedulerSchdParamdiffServSchedulerSpecific OBJECT-TYPE | SYNTAX StaticRowPointer MAX-ACCESS read-create STATUS current DESCRIPTION "This StaticRowPointer indicates the entry in diffServSchdParamTable the higher level scheduler, pointed to bydiffServSchedulerNext,| diffServSchedulerSucceedNext, should use to service the output of this scheduler. This attribute is only used when there is more than one level of scheduler. And should have the value of zeroDotZero when not used." DEFVAL { zeroDotZero } ::= { diffServSchedulerEntry45 } | diffServSchedulerStatus 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." ::= { diffServSchedulerEntry56 } | -- | -- 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 the servicing of -- the queue/scheduler, in affect, shaping the output of the -- queue/scheduler, as described in [MODEL] section 7.2. -- diffServSchdParamNextFree OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS read-only Baker, Chan, Smith ExpiresMayAugust 2001 [Page76]77] Internet Draft Differentiated Services MIBNovemberDecember 2000SYNTAX Unsigned32 MAX-ACCESS read-onlySTATUS current DESCRIPTION "This object yields a value when read that is currently unused for a diffServSchdParamId instance. If a configuring system attempts to create a new row in the diffServSchdParamTable using this value, that operation will fail if the value has, in themean- time,meantime, been used to create another row that is currently valid." ::= { diffServScheduler73 } | diffServSchdParamTable OBJECT-TYPE SYNTAX SEQUENCE OF DiffServSchdParamEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "The Scheduling Parameter Table enumerates individual sets of scheduling parameter that can be used/reused by Queues and Schedulers." ::= { diffServScheduler84 } | diffServSchdParamEntry OBJECT-TYPE SYNTAX DiffServSchdParamEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entry in the Scheduling Parameter Table describes a single set of scheduling parameter for use by queues and schedulers. Notice multiple inter-mixed of Queue and Scheduler entries can use the 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 ExpiresMayAugust 2001 [Page77]78] Internet Draft Differentiated Services MIBNovemberDecember 2000diffServSchdParamBurstSize BurstSize, diffServSchdParamStatus RowStatus }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 readingdiffServSchdParam- NextFree."diffServSchdParamNextFree." ::= { diffServSchdParamEntry 1 } diffServSchdParamPriority OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS read-create STATUS current DESCRIPTION "The priority of thisqueue,input tobe used as a parame- terthe associated scheduler, relative | to thenext scheduler element downstream from this one. A higher value means higher priority and should be serviced first."scheduler's other inputs." ::= { diffServSchdParamEntry 2 } diffServSchdParamMinRateAbs OBJECT-TYPE SYNTAX Unsigned32 UNITS "kilobits per second" MAX-ACCESS read-create STATUS current DESCRIPTION "The minimum absolute rate, in kilobits/sec, that a downstream scheduler element should allocate to this queue. If the value is zero, then there iseffec- tivelyeffectively no minimum rate guarantee. If the value is non-zero, the scheduler will assure the servicing of this queue to at least this rate. Note that this attribute's value is coupled to that of diffServSchdParamMinRateRel: changes to one will affect the value of the other. They are linked by the following equation:Baker, Chan, Smith Expires May 2001 [Page 78] Internet Draft Differentiated Services MIB November 2000diffServSchdParamMinRateRel = diffServSchdParamMinRateAbs * 10,000,000/ifSpeed or, if appropriate: diffServSchdParamMinRateRel = diffServSchdParamMinRateAbs * 10 / ifHighSpeed" REFERENCE "ifSpeed, ifHighSpeed from [IFMIB]" ::= { diffServSchdParamEntry 3 } Baker, Chan, Smith Expires August 2001 [Page 79] Internet Draft Differentiated Services MIB December 2000 diffServSchdParamMinRateRel OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS read-create STATUS current DESCRIPTION "The minimum rate that a downstream scheduler element should allocate to this queue, relative to themax- imummaximum 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 servicing of 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]" ::= { diffServSchdParamEntry 4 } diffServSchdParamMaxRateAbsOBJECT-TYPE SYNTAX Unsigned32 UNITS "kilobits per second" MAX-ACCESS read-create Baker, Chan, Smith Expires May 2001 [Page 79] Internet Draft Differentiated Services MIB November 2000OBJECT-TYPE SYNTAX Unsigned32 UNITS "kilobits per second" MAX-ACCESS read-create STATUS current DESCRIPTION "The maximum rate in kilobits/sec that a downstream scheduler element should allocate to this queue. If the value is zero, then there is effectively nomax- imummaximum rate limit and that the scheduler should attempt to be work-conserving for this queue. If the value is non-zero, the scheduler will limit the servicing of this queue to, at most, this rate in anon-work- conservingnon-work-conserving manner. Note that this attribute's value is coupled to that of diffServSchdParamMaxRateRel: changes to one will affect the value of the other. They are linked by the following equation: diffServSchdParamMaxRateRel = diffServSchdParamMaxRateAbs * 10,000,000/ifSpeed or, if appropriate: Baker, Chan, Smith Expires August 2001 [Page 80] Internet Draft Differentiated Services MIB December 2000 diffServSchdParamMaxRateRel = diffServSchdParamMaxRateAbs * 10 / ifHighSpeed" REFERENCE "ifSpeed, ifHighSpeed from [IFMIB]" ::= { diffServSchdParamEntry 5 } diffServSchdParamMaxRateRel OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS read-create STATUS current DESCRIPTION "The maximum rate that a downstream scheduler element should allocate to this queue, relative to themax- imummaximum 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 maximum rate limit and the scheduler should attempt to bework- conservingwork-conserving for this queue. If the value is non-zero, the scheduler will limit the servicing of this queue to, at most, this rate in a non-work-conserving manner. Note that this attribute's value is coupled to that of diffServSchdParamMaxRateAbs: changes to one will affect the value of the other. They are linked by theBaker, Chan, Smith Expires May 2001 [Page 80] Internet Draft Differentiated Services MIB November 2000following equation: diffServSchdParamMaxRateAbs = ifSpeed * diffServSchdParamMaxRateRel/10,000,000 or, if appropriate: diffServSchdParamMaxRateAbs = ifHighSpeed * diffServSchdParamMaxRateRel / 10" REFERENCE"ifSpeed, ifHighSpeed from [IFMIB]""ifSpeed, ifHighSpeed from [IFMIB]" ::= { diffServSchdParamEntry 6 } diffServSchdParamStatus 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." ::= { diffServSchdParamEntry 7 } diffServSchedulerPriority OBJECT-IDENTITY | STATUS current Baker, Chan, Smith Expires August 2001 [Page 81] Internet Draft Differentiated Services MIB December 2000 DESCRIPTION "For use with diffServSchedulerMethod to indicate Priority | scheduling method, defined as an algorithm in which the presence | of data in a queue or set of queues absolutely precludes dequeue | from another queue or set of queues. Notice attributes from | diffServSchdParamEntry of the queues/schedulers feeding this | scheduler are used when determining the next packet to schedule." REFERENCE | "[MODEL] section 7.1.2" | ::= { diffServScheduler 5 } | diffServSchedulerWRR OBJECT-IDENTITY | STATUS current | DESCRIPTION | "For use with diffServSchedulerMethod to indicate Weighted Round | Robin scheduling method, defined as any algorithm in which a set | of queues are visited in a fixed order, and varying amounts of | traffic are removed from each queue in turn to implement an | average output rate by class. Notice attributes from | diffServSchdParamEntry of the queues/schedulers feeding this | scheduler are used when determining the next packet to schedule." | REFERENCE | "[MODEL] section 7.1.2" | ::= {diffServSchdParamEntrydiffServScheduler 6 }diffServSchdParamBurstSize OBJECT-TYPE SYNTAX BurstSize UNITS "Bytes" MAX-ACCESS read-create| diffServSchedulerWFQ OBJECT-IDENTITY | STATUS current | DESCRIPTION"The maximum number of bytes| "For use with diffServSchedulerMethod to indicate Weighted Fair | Queueing scheduling method, defined as any algorithm in which asingle transmission burst. This attribute is used when diffServSchedu- lerMethod| set ofa downstream Scheduler element is used for shaping traffic exitingqueues are conceptually visited in some order, to | implement an average output rate by class. Notice attributes | from diffServSchdParamEntry of the queues/schedulers feeding thisqueue/scheduler."| scheduler are used when determining the next packet to schedule." | REFERENCE | "[MODEL] section 7.1.2" | ::= {diffServSchdParamEntrydiffServScheduler 7 }diffServSchdParamStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create| diffServSchedulerShaper OBJECT-IDENTITY | STATUS current | DESCRIPTION"The RowStatus variable controls| "For use with diffServSchedulerMethod to indicate theactivation, deactivation, or deletion of| diffServSchedulerEntry is being used to describe aqueue. Any writable variable mayShaper. The | diffServSchedulerSpecific attribute for a Shaper will point to an | Baker, Chan, Smith Expires August 2001 [Page 82] Internet Draft Differentiated Services MIB December 2000 entry in the diffServTBParamTable for the shaper's Leaky Bucket | parameters. Notice multi-rate, multi-color shapers can bemodified whether| parameterized by use of diffServSchedulerSucceedNext and | diffServSchedulerFailNext therow is active or notInService."same way multi-rate, multi-color | meters are parameterized with diffServMeterSucceedNext and | diffServMeterFailNext parameters." | REFERENCE | "[MODEL] section 7.1.2" | ::= {diffServSchdParamEntrydiffServScheduler 8 } | -- -- MIB Compliance statements. -- diffServMIBCompliances OBJECT IDENTIFIER ::= { diffServMIBConformance 1 } diffServMIBGroups OBJECT IDENTIFIER ::= { diffServMIBConformance 2 }Baker, Chan, Smith Expires May 2001 [Page 81] Internet Draft Differentiated Services MIB November 2000diffServMIBCompliance 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 formon- itoringmonitoring or for configuration." MODULE -- This Module MANDATORY-GROUPS { diffServMIBDataPathGroup, diffServMIBClfrGroup, diffServMIBClfrElementGroup, diffServMIBSixTupleClfrGroup, diffServMIBActionGroup, | diffServMIBAlgDropGroup, diffServMIBQGroup, 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 -- for a particular interface, then ifCounterDiscontinuityGroup from -- [IFMIB] must also be implemented for that interface. Baker, Chan, Smith Expires August 2001 [Page 83] Internet Draft Differentiated Services MIB December 2000 -- 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,000Baker, Chan, Smith Expires May 2001 [Page 82] Internet Draft Differentiated Services MIB November 2000bits/second." GROUP diffServMIBVHCCounterGroup DESCRIPTION "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 DESCRIPTION "This group is mandatory for devices that implement metering functions." GROUPdiffServMIBTBMeterGroupdiffServMIBTBParamGroup | DESCRIPTION "This group is mandatory for devices that implement token-bucket metering functions." GROUP diffServMIBDscpMarkActGroup 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 Baker, Chan, Smith Expires August 2001 [Page 84] Internet Draft Differentiated Services MIB December 2000 functions." GROUP diffServMIBStaticGroup DESCRIPTION "This group is mandatory for devices that allowcrea- tioncreation of rows in any of the writable tables of this MIB." OBJECT diffServClfrStatus MIN-ACCESS read-only DESCRIPTION "Write access is not required."Baker, Chan, Smith Expires May 2001 [Page 83] Internet Draft Differentiated Services MIB November 2000OBJECTdiffServClfrElementOrderdiffServClfrElementPrecedence | MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECT diffServClfrElementNext MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECT diffServClfrElementSpecific MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECT diffServClfrElementStatus MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECT diffServSixTupleClfrDstAddrType MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECT diffServSixTupleClfrDstAddr MIN-ACCESS read-onlyDESCRIPTION "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."Baker, Chan, Smith ExpiresMayAugust 2001 [Page84]85] Internet Draft Differentiated Services MIBNovemberDecember 2000OBJECT diffServSixTupleClfrSrcAddr MIN-ACCESS read-onlyDESCRIPTION "Write access is not required." OBJECTdiffServSixTupleClfrSrcAddrMaskdiffServSixTupleClfrDstAddrMask MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServSixTupleClfrDscpdiffServSixTupleClfrSrcAddrType MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServSixTupleClfrProtocoldiffServSixTupleClfrSrcAddr MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServSixTupleClfrSrcL4PortMindiffServSixTupleClfrSrcAddrMask MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServSixTupleClfrSrcL4PortMaxdiffServSixTupleClfrDscp MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServSixTupleClfrDstL4PortMindiffServSixTupleClfrProtocol MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServSixTupleClfrDstL4PortMaxdiffServSixTupleClfrSrcL4PortMin MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECT diffServSixTupleClfrSrcL4PortMax Baker, Chan, Smith ExpiresMayAugust 2001 [Page85]86] Internet Draft Differentiated Services MIBNovemberDecember 2000OBJECT diffServSixTupleClfrStatusMIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServMeterSucceedNextdiffServSixTupleClfrDstL4PortMin MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServMeterFailNextdiffServSixTupleClfrDstL4PortMax MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServMeterSpecificdiffServSixTupleClfrStatus MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServMeterStatusdiffServMeterSucceedNext MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServTBMeterTypediffServMeterFailNext MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServTBMeterRatediffServMeterSpecific MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServTBMeterBurstSizediffServMeterStatus MIN-ACCESS read-only DESCRIPTION "Write access is not required." Baker, Chan, Smith ExpiresMayAugust 2001 [Page86]87] Internet Draft Differentiated Services MIBNovemberDecember 2000 OBJECTdiffServTBMeterIntervaldiffServTBParamType | MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServTBMeterStatusdiffServTBParamRate | MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServActionNextdiffServTBParamBurstSize | MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServActionSpecificdiffServTBParamInterval | MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServActionTypediffServTBParamStatus | MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServActionStatusdiffServActionNext MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServCountActStatusdiffServActionSpecific MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServAlgDropTypediffServActionType MIN-ACCESS read-only DESCRIPTION "Write access is not required." Baker, Chan, Smith ExpiresMayAugust 2001 [Page87]88] Internet Draft Differentiated Services MIBNovemberDecember 2000 OBJECTdiffServAlgDropNextdiffServActionStatus MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServAlgDropQMeasurediffServCountActStatus MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServAlgDropQThresholddiffServAlgDropType MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServAlgDropSpecificdiffServAlgDropNext MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServAlgDropStatusdiffServAlgDropQMeasure MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServRandomDropMinThreshBytesdiffServAlgDropQThreshold MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServRandomDropMinThreshPktsdiffServAlgDropSpecific MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServRandomDropMaxThreshBytesdiffServAlgDropStatus MIN-ACCESS read-only DESCRIPTION "Write access is not required." Baker, Chan, Smith ExpiresMayAugust 2001 [Page88]89] Internet Draft Differentiated Services MIBNovemberDecember 2000 OBJECTdiffServRandomDropMaxThreshPktsdiffServRandomDropMinThreshBytes MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServRandomDropInvProbMaxdiffServRandomDropMinThreshPkts MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServRandomDropInvWeightdiffServRandomDropMaxThreshBytes MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServRandomDropSamplingRatediffServRandomDropMaxThreshPkts MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServRandomDropStatusdiffServRandomDropInvProbMax MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServQNextdiffServRandomDropInvWeight MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServQSchdParamdiffServRandomDropSamplingRate MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServQStatusdiffServRandomDropStatus MIN-ACCESS read-only DESCRIPTION "Write access is not required." Baker, Chan, Smith ExpiresMayAugust 2001 [Page89]90] Internet Draft Differentiated Services MIBNovemberDecember 2000 OBJECTdiffServSchedulerNextdiffServQNext MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServSchedulerMethoddiffServQSchdParam MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServSchedulerSchdParamdiffServQStatus MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServSchedulerStatusdiffServSchedulerSucceedNext | MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServSchdParamPrioritydiffServSchedulerFailNext | MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServSchdParamMinRateAbsdiffServSchedulerMethod | MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServSchdParamMinRateReldiffServSchedulerSchdParam | MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServSchdParamMaxRateAbsdiffServSchedulerStatus | MIN-ACCESS read-only DESCRIPTION "Write access is not required." Baker, Chan, Smith ExpiresMayAugust 2001 [Page90]91] Internet Draft Differentiated Services MIBNovemberDecember 2000 OBJECTdiffServSchdParamMaxRateReldiffServSchdParamPriority | MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECT diffServSchdParamMinRateAbs | MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECT diffServSchdParamMinRateRel | MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECTdiffServSchdParamBurstSizediffServSchdParamTBParam | MIN-ACCESS read-only DESCRIPTION "Write access is not required." OBJECT diffServSchdParamStatus * MIN-ACCESS read-only DESCRIPTION "Write access is not required." ::= { diffServMIBCompliances 1 } diffServMIBDataPathGroup 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 { diffServClfrStatus Baker, Chan, Smith Expires August 2001 [Page 92] Internet Draft Differentiated Services MIB December 2000 } STATUS current DESCRIPTION "The Classifier Group defines the MIB Objects that describe a generic classifier." ::= { diffServMIBGroups 2 } diffServMIBClfrElementGroup OBJECT-GROUP OBJECTS {diffServClfrElementOrder,diffServClfrElementPrecedence, diffServClfrElementNext, | diffServClfrElementSpecific, diffServClfrElementStatusBaker, Chan, Smith Expires May 2001 [Page 91] Internet Draft Differentiated Services MIB November 2000} STATUS current DESCRIPTION "The Classifier Element Group defines the MIB Objects that describe the classifier elements that make up a generic classifier." ::= { diffServMIBGroups 3 } diffServMIBSixTupleClfrGroup OBJECT-GROUP OBJECTS { diffServSixTupleClfrDstAddrType, diffServSixTupleClfrDstAddr, diffServSixTupleClfrDstAddrMask, 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 formatch- ingmatching on 6 fields of an IP and upper-layer protocol header." ::= { diffServMIBGroups 4 } diffServMIBMeterGroup OBJECT-GROUP OBJECTS { diffServMeterSucceedNext, diffServMeterFailNext, diffServMeterSpecific, diffServMeterStatus } Baker, Chan, Smith Expires August 2001 [Page 93] Internet Draft Differentiated Services MIB December 2000 STATUS current DESCRIPTION "The Meter Group defines the objects used indescrib- ingdescribing a generic meter element." ::= { diffServMIBGroups 5 }diffServMIBTBMeterGroupdiffServMIBTBParamGroup OBJECT-GROUP | OBJECTS {diffServTBMeterType, diffServTBMeterRate, diffServTBMeterBurstSize, Baker, Chan, Smith Expires May 2001 [Page 92] Internet Draft Differentiated Services MIB November 2000 diffServTBMeterInterval, diffServTBMeterStatusdiffServTBParamType, | diffServTBParamRate, diffServTBParamBurstSize, | diffServTBParamInterval, diffServTBParamStatus | } STATUS current DESCRIPTION "The Token-Bucket Meter Group defines the objects used in describing a token bucket meter element." ::= { diffServMIBGroups 6 } diffServMIBActionGroup OBJECT-GROUP OBJECTS { diffServActionNext, diffServActionSpecific, diffServActionType, diffServActionStatus } STATUS current DESCRIPTION "The Action Group defines the objects used in describing a generic action element." ::= { diffServMIBGroups 7 } diffServMIBDscpMarkActGroup OBJECT-GROUP OBJECTS { diffServDscpMarkActDscp } STATUS current DESCRIPTION "The DSCP Mark Action Group defines the objects used in describing a DSCP Marking Action element." ::= { diffServMIBGroups 8 } diffServMIBCounterGroup OBJECT-GROUP OBJECTS { diffServClfrElementPkts, | diffServCountActOctets, Baker, Chan, Smith Expires August 2001 [Page 94] Internet Draft Differentiated Services MIB December 2000 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 networkBaker, Chan, Smith Expires May 2001 [Page 93] Internet Draft Differentiated Services MIB November 2000interfaces." ::= { diffServMIBGroups 9 } diffServMIBHCCounterGroup OBJECT-GROUP OBJECTS { diffServClfrElementPkts, | diffServCountActOctets, diffServCountActHCOctets, diffServCountActPkts, diffServCountActDiscontTime, diffServCountActStatus, diffServAlgDropOctets, diffServAlgDropHCOctets, diffServAlgDropPkts } STATUS current DESCRIPTION "A collection of objects providing information specific to high speed (high speed interfaces transmit and receive at speeds greater than 20,000,000 but less than or equals to 650,000,000 bits/second) packet-oriented network interfaces." ::= { diffServMIBGroups 10 } diffServMIBVHCCounterGroup OBJECT-GROUP OBJECTS { diffServClfrElementPkts, diffServClfrElementHCPkts, | diffServCountActOctets, diffServCountActHCOctets, diffServCountActPkts, diffServCountActHCPkts, diffServCountActDiscontTime, diffServCountActStatus, diffServAlgDropOctets, diffServAlgDropHCOctets, diffServAlgDropPkts, diffServAlgDropHCPkts } STATUS current DESCRIPTION "A collection of objects providing information specific tovery-highvery- Baker, Chan, Smith Expires August 2001 [Page 95] Internet Draft Differentiated Services MIB December 2000 high speed (very-high speedinter- facesinterfaces transmit and receive at speeds greater than 650,000,000 bits/second) packet-oriented network interfaces." ::= { diffServMIBGroups 11 } diffServMIBAlgDropGroup OBJECT-GROUP OBJECTS { diffServAlgDropType, diffServAlgDropNext, diffServAlgDropQMeasure, diffServAlgDropQThreshold, diffServAlgDropSpecific, diffServAlgDropStatusBaker, Chan, Smith Expires May 2001 [Page 94] Internet Draft Differentiated Services MIB November 2000} STATUS current DESCRIPTION "The Algorithmic Drop Group contains the objects that describe algorithmic dropper operation andconfigura- tion."configuration." ::= { diffServMIBGroups 12 } diffServMIBRandomDropGroup OBJECT-GROUP OBJECTS { diffServRandomDropMinThreshBytes, diffServRandomDropMinThreshPkts, diffServRandomDropMaxThreshBytes, diffServRandomDropMaxThreshPkts, diffServRandomDropInvProbMax, diffServRandomDropInvWeight, diffServRandomDropSamplingRate, diffServRandomDropStatus } STATUS current DESCRIPTION "The Random Drop Group augments the Algorithmic Drop Group for random dropper operation and configuration." ::= { diffServMIBGroups 13 } diffServMIBQGroup OBJECT-GROUP OBJECTS { diffServQNext, diffServQSchdParam, diffServQStatus } STATUS current DESCRIPTION "The Queue Group contains the objects that describe an interface's queues." ::= { diffServMIBGroups 14 } Baker, Chan, Smith Expires August 2001 [Page 96] Internet Draft Differentiated Services MIB December 2000 diffServMIBSchedulerGroup OBJECT-GROUP OBJECTS {diffServSchedulerNext,diffServSchedulerSucceedNext, diffServSchedulerFailNext, | diffServSchedulerMethod, diffServSchedulerSchdParam, | diffServSchedulerStatus | } STATUS current DESCRIPTION "The Scheduler Group contains the objects thatBaker, Chan, Smith Expires May 2001 [Page 95] Internet Draft Differentiated Services MIB November 2000describe packet schedulers on interfaces." ::= { diffServMIBGroups 15 } diffServMIBSchdParamGroup OBJECT-GROUP OBJECTS { diffServSchdParamPriority, diffServSchdParamMinRateAbs, diffServSchdParamMinRateRel,diffServSchdParamMaxRateAbs, diffServSchdParamMaxRateRel, diffServSchdParamBurstSize,diffServSchdParamTBParam, diffServSchdParamStatus | } STATUS current DESCRIPTION "The Scheduler Parameter Group contains the objects that describe packet schedulers' parameters oninter- faces."interfaces." ::= { diffServMIBGroups 16 } diffServMIBStaticGroup OBJECT-GROUP OBJECTS { diffServClfrNextFree, diffServClfrElementNextFree, diffServSixTupleClfrNextFree, diffServMeterNextFree,diffServTBMeterNextFree,diffServTBParamNextFree, | diffServActionNextFree, diffServCountActNextFree, diffServAlgDropNextFree, diffServRandomDropNextFree, diffServQNextFree, diffServSchedulerNextFree, diffServSchdParamNextFree } STATUS current DESCRIPTION "The Static Group contains readable scalar objects used in creating unique identifiers for classifiers, meters, actions and queues. These are requiredwhen- everwhenever row creation operations on such tables aresup- ported."supported." ::= { diffServMIBGroups 17 } END Baker, Chan, Smith ExpiresMayAugust 2001 [Page96]97] Internet Draft Differentiated Services MIBNovemberDecember 2000 8. Acknowledgments This MIB builds on all the work that has gone into the Informal Management Model for Diffservrouters, DiffServRouters, Diffserv PIB, andDiffServDiffserv 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, Michael Fine, Victor Firoiu, Jeremy Greene, Dan | Grossman, Roch Guerin, Scott Hahn, Joel Halpern, Harrie Hazewinkel, Van | Jacobsen, Keith McCloghrie, Bob Moore, Kathleen Nichols, Ping Pan, Nabil Seddigh,Bert Wijnen, Victor Firoiu,John Seligson,Michael Fine,Walter Weiss,Joel Halpern,andHarrie Hazewinkel.Bert Wijnen. | 9. 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 ExpiresMayAugust 2001 [Page97]98] Internet Draft Differentiated Services MIBNovemberDecember 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. It 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. 10. 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 ExpiresMayAugust 2001 [Page98]99] Internet Draft Differentiated Services MIBNovemberDecember 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, Performance Systems 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 ExpiresMayAugust 2001 [Page99]100] Internet Draft Differentiated Services MIBNovemberDecember 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.pdf [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>, 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 ExpiresMayAugust 2001 [Page100]101] Internet Draft Differentiated Services MIBNovemberDecember 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- reichmeyer-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. [SRTCM] J. Heinanen, R. Guerin, "A Single Rate Three Color Marker", RFC 2697, September 1999. [TRTCM] J. Heinanen, R. Guerin, "A Two Rate Three Color Marker", RFC 2698, September 1999. [TSWTCM] W. Fang, N. Seddigh, B. Nandy "A Time Sliding Window Three Colour Marker", RFC 2859, June 2000. 11. Authors' Addresses Fred Baker Cisco Systems 519 Lado Drive Santa Barbara, California 93111 fred@cisco.com Baker, Chan, Smith ExpiresMayAugust 2001 [Page101]102] Internet Draft Differentiated Services MIBNovemberDecember 2000 Kwok Ho Chan Nortel Networks 600 Technology Park Drive Billerica, MA 01821 khchan@nortelnetworks.com Andrew Smith Allegro Networks 6399 San Ignacio Ave San Jose, CA 95119 andrew@allegronetworks.com Table of Contents 1 The SNMP Management Framework ................................... 2 2 Introduction .................................................... 4 2.1 Relationship to theDiffservInformal Management Model........for Diffserv Router ....................................................... 4 2.2 Relationship to other MIBs and Policy Management .............. 5 2.3 MIB Overview .................................................. 5 3 Structure of this MIB ........................................... 6 3.1DiffServDiffserv Data Paths ........................................... 7 3.1.1 Data Path Table ............................................. 7 3.2 Classifiers ...................................................87 3.2.1 Classifier Table ............................................ 9 3.2.2 Classifier Element Table .................................... 9 3.2.3 Filter Table - IP Six-Tuple Classifier Table ................ 9 3.3 Meters ........................................................ 9 3.3.1 Meter Table ................................................. 10 3.3.2 Token-Bucket Meter Table .................................... 10 3.4 Actions ....................................................... 10 3.4.1 DSCP Mark Action Table ...................................... 11 3.4.2 Count Action Table .......................................... 11 3.4.3 Absolute Drop Action ........................................ 11 3.5QueueingQueuing Elements........................................................................................... 11 3.5.1 Algorithmic Dropper Table ...................................1211 3.5.2 Random Dropper Table ........................................ 13 3.5.3 Queues and Schedulers ....................................... 14 4 MIB Usage Example ............................................... 16 4.1 Model's Example ............................................... 16 4.2 Additional Data Path Example .................................. 19 4.2.1 Data Path and Classifier Example Discussion ................. 19 4.2.2 Meter and Action Example Discussion ......................... 224.2.3 Queue and Scheduler Example Discussion ...................... 23Baker, Chan, Smith ExpiresMayAugust 2001 [Page102]103] Internet Draft Differentiated Services MIBNovemberDecember 2000 4.2.3 Queue and Scheduler Example Discussion ...................... 22 5 Conventions used in this MIB .................................... 23 5.1 The use of RowPointer ......................................... 23 5.2 The use of StaticRowPointer ................................... 24 5.3 Conceptual row creation and deletion .......................... 24 6 Extending this MIB .............................................. 25 7 MIB Definition .................................................. 26 8 Acknowledgments .................................................9798 9 Security Considerations .........................................9798 10 References .....................................................9899 11 Authors' Addresses .............................................101102 Baker, Chan, Smith ExpiresMayAugust 2001 [Page103]104] Internet Draft Differentiated Services MIBNovemberDecember 2000 12. 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 itsimplmentationimplementation 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 ExpiresMayAugust 2001 [Page104]105] ----