1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341
|
<pre>Network Working Group H. Hazewinkel, Ed.
Request for Comments: 3747 I.Net
Category: Standards Track D. Partain, Ed.
Ericsson
April 2004
<span class="h1">The Differentiated Services Configuration MIB</span>
Status of this Memo
This document specifies an Internet standards track protocol for the
Internet community, and requests discussion and suggestions for
improvements. Please refer to the current edition of the "Internet
Official Protocol Standards" (STD 1) for the standardization state
and status of this protocol. Distribution of this memo is unlimited.
Copyright Notice
Copyright (C) The Internet Society (2004). All Rights Reserved.
Abstract
This memo describes a MIB module that provides a conceptual layer
between high-level "network-wide" policy definitions that effect
configuration of the Differentiated Services (diffserv) subsystem and
the instance-specific information that would include such details as
the parameters for all the queues associated with each interface in a
system. This essentially provides an interface for configuring
differentiated services at a conceptually higher layer than that of
the Differentiated Services MIB.
<span class="grey">Hazewinkel & Partain Standards Track [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc3747">RFC 3747</a> Differentiated Services Configuration MIB April 2004</span>
Table of Contents
<a href="#section-1">1</a>. The Internet-Standard Management Framework . . . . . . . . . . <a href="#page-2">2</a>
<a href="#section-2">2</a>. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-2">2</a>
<a href="#section-3">3</a>. Other Documents. . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-4">4</a>. Relationship to other MIBs . . . . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-4.1">4.1</a>. The Policy-based Management MIB Module . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-4.2">4.2</a>. The Differentiated Services MIB Module . . . . . . . . . <a href="#page-4">4</a>
<a href="#section-5">5</a>. The Differentiated Services Configuration MIB Module Design. . <a href="#page-5">5</a>
<a href="#section-6">6</a>. Template Cloning . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-6">6</a>
<a href="#section-6.1">6.1</a>. An Approach to Template Cloning. . . . . . . . . . . . . <a href="#page-6">6</a>
<a href="#section-6.2">6.2</a>. Example. . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-7">7</a>
<a href="#section-6.2.1">6.2.1</a>. The Initial Situation. . . . . . . . . . . . . . <a href="#page-8">8</a>
<a href="#section-6.2.2">6.2.2</a>. The Configuration Template . . . . . . . . . . . <a href="#page-9">9</a>
<a href="#section-6.2.3">6.2.3</a>. Applying the Template. . . . . . . . . . . . . . <a href="#page-11">11</a>
<a href="#section-6.2.4">6.2.4</a>. Applying the Template Using SNMP Messages. . . . <a href="#page-14">14</a>
<a href="#section-7">7</a>. Managed Objects Definitions (MIB Module) . . . . . . . . . . . <a href="#page-15">15</a>
<a href="#section-8">8</a>. Security Considerations. . . . . . . . . . . . . . . . . . . . <a href="#page-20">20</a>
<a href="#section-9">9</a>. Acknowledgments. . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-22">22</a>
<a href="#section-10">10</a>. References . . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-22">22</a>
<a href="#section-10.1">10.1</a>. Normative References . . . . . . . . . . . . . . . . . . <a href="#page-22">22</a>
<a href="#section-10.2">10.2</a>. Informative References . . . . . . . . . . . . . . . . . <a href="#page-23">23</a>
<a href="#section-11">11</a>. Editors' Addresses . . . . . . . . . . . . . . . . . . . . . . <a href="#page-23">23</a>
<a href="#section-12">12</a>. Full Copyright Statement . . . . . . . . . . . . . . . . . . . <a href="#page-24">24</a>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. The Internet-Standard Management Framework</span>
For a detailed overview of the documents that describe the current
Internet-Standard Management Framework, please refer to <a href="./rfc3410#section-7">section 7 of
RFC 3410</a> [<a href="./rfc3410" title=""Introduction and Applicability Statements for Internet- Standard Management Framework"">RFC3410</a>].
Managed objects are accessed via a virtual information store, termed
the Management Information Base or MIB. MIB objects are generally
accessed through the Simple Network Management Protocol (SNMP).
Objects in the MIB are defined using the mechanisms defined in the
Structure of Management Information (SMI). This memo specifies a MIB
module that is compliant to the SMIv2, which is described in STD 58,
<a href="./rfc2578">RFC 2578</a> [<a href="./rfc2578" title=""Structure of Management Information Version 2 (SMIv2)"">RFC2578</a>], STD 58, <a href="./rfc2579">RFC 2579</a> [<a href="./rfc2579" title=""Textual Conventions for SMIv2"">RFC2579</a>] and STD 58, <a href="./rfc2580">RFC 2580</a>
[<a href="./rfc2580" title=""Conformance Statements for SMIv2"">RFC2580</a>].
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Introduction</span>
This memo defines a MIB module that can be used to convey management
information about desired network-wide Differentiated Services based
policy behavior. This module is designed to integrate with the
Differentiated Services MIB module [<a href="./rfc3289" title=""Management Information Base for the Differentiated Services Architecture"">RFC3289</a>] in order to provide
template configurations for the Differentiated Services MIB module.
The MIB module defined in this memo (the DIFFSERV-CONFIG-MIB) may be
<span class="grey">Hazewinkel & Partain Standards Track [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc3747">RFC 3747</a> Differentiated Services Configuration MIB April 2004</span>
used in combination with the Policy-based Management MIB module
[<a href="#ref-PMMIBDR" title=""Policy-based Management MIB"">PMMIBDR</a>], but that is not a requirement. Without the Policy-based
Management MIB module, a management application must emulate behavior
provided by the Policy-based Management MIB using equivalent "low-
level" SNMP operations in normal manager/agent communication.
Together, this memo, [<a href="./rfc3289" title=""Management Information Base for the Differentiated Services Architecture"">RFC3289</a>], and [<a href="#ref-PMMIBDR" title=""Policy-based Management MIB"">PMMIBDR</a>] represent an instance
of an integrated architecture for both device-specific and network-
wide policy (configuration) management, which is fully integrated
with the Internet Standard Management Framework.
The Differentiated Services MIB module [<a href="./rfc3289" title=""Management Information Base for the Differentiated Services Architecture"">RFC3289</a>] operates on a device
level. The MIB module in this memo, the DIFFSERV-CONFIG-MIB, creates
a coherent configuration management view as an umbrella over
[<a href="./rfc3289" title=""Management Information Base for the Differentiated Services Architecture"">RFC3289</a>]. That is, the DIFFSERV-CONFIG-MIB provides a conceptual
Application Program Interface (API) for configuration of the
Differentiated Services parameters. Since the Differentiated
Services MIB module is able to maintain configuration information,
the DIFFSERV-CONFIG-MIB configuration API consists only of
configuration template information and the start of the so-called
functional datapath.
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Other Documents</span>
It is assumed that the reader is familiar with Differentiated
Services ([<a href="./rfc2474" title=""Definition of the Differentiated Services Field (DS Field) in the IPv4 and IPv6 Headers"">RFC2474</a>] and [<a href="./rfc2475" title=""An Architecture for Differentiated Services"">RFC2475</a>]), the Policy-based Management MIB
([<a href="#ref-PMMIBDR" title=""Policy-based Management MIB"">PMMIBDR</a>]), and "Configuring Networks and Devices With SNMP"
([<a href="./rfc3512" title=""Configuring Networks and Devices with Simple Network Management Protocol (SNMP)"">RFC3512</a>]). These documents include all of the necessary
terminology for understanding this memo. However, note that use of
the MIB module in this memo does not require the use of [<a href="#ref-PMMIBDR" title=""Policy-based Management MIB"">PMMIBDR</a>].
[<a href="./rfc3512" title=""Configuring Networks and Devices with Simple Network Management Protocol (SNMP)"">RFC3512</a>] also provides an example MIB module which may help in
understanding the relationship between DIFFSERV-CONFIG-MIB and the
Differentiated Services MIB in [<a href="./rfc3289" title=""Management Information Base for the Differentiated Services Architecture"">RFC3289</a>].
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Relationship to other MIBs</span>
In this section, we describe the relationship of this MIB module to
other MIB modules. The overall architecture used for policy
configuration management is described in [<a href="#ref-PMMIBDR" title=""Policy-based Management MIB"">PMMIBDR</a>].
<span class="h3"><a class="selflink" id="section-4.1" href="#section-4.1">4.1</a>. The Policy-based Management MIB Module</span>
[<a id="ref-PMMIBDR">PMMIBDR</a>] defines a MIB module that enables policy-based
configuration management of infrastructure using the Internet
Standard Management Framework. The document includes a table for
configuring policies to be implemented, tables for storing the roles
of elements on a particular device, a table for representing the
capabilities of a device with respect to policy management, a table
<span class="grey">Hazewinkel & Partain Standards Track [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc3747">RFC 3747</a> Differentiated Services Configuration MIB April 2004</span>
for referencing elements affected by a policy, as well as other
infrastructure. There is no requirement that [<a href="#ref-PMMIBDR" title=""Policy-based Management MIB"">PMMIBDR</a>] be used in
conjunction with the MIB module defined in this memo.
See [<a href="#ref-PMMIBDR" title=""Policy-based Management MIB"">PMMIBDR</a>] for a full description of the policy-based
configuration framework it provides.
<span class="h3"><a class="selflink" id="section-4.2" href="#section-4.2">4.2</a>. The Differentiated Services MIB Module</span>
The Differentiated Services MIB module [<a href="./rfc3289" title=""Management Information Base for the Differentiated Services Architecture"">RFC3289</a>] provides a common
set of managed objects useful for configuring Differentiated Services
parameters on a Differentiated Services capable device. This is what
is referred to as instance-level configuration. It is the alteration
of the instance-level information in that MIB module which may be
done using the objects in the MIB module defined in this memo.
It is recognized that vendors may include additional managed objects
in their devices (via vendor-specific MIB modules) for configuring
Differentiated Services parameters. If a vendor chooses to use the
objects defined in this memo for configuration, the vendor should
provide additional managed objects in a similar approach as defined
for the Differentiated Services MIB module.
Since the managed objects of the Differentiated Services MIB
[<a href="./rfc3289" title=""Management Information Base for the Differentiated Services Architecture"">RFC3289</a>] are not directly associated with an instance (interface and
interface direction), the same managed objects can be used for
traffic treatment configuration templates in a Differentiated
Services capable device and can then be applied on multiple
instances. Therefore, the tables as defined in the Differentiated
Services MIB can be used directly for template configuration
purposes. Those tables are:
- diffServClfrTable
- diffServClfrElementTable
- diffServMultiFieldClfrTable
- diffServMeterTable
- diffServTBParamTable
- diffServActionTable
- diffServDscpMarkActTable
- diffServCountActTable
- diffServAlgDropTable
- diffServRandomDropTable
- diffServQTable
- diffServSchedulerTable
- diffServMinRateTable
- diffServMaxRateTable
<span class="grey">Hazewinkel & Partain Standards Track [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc3747">RFC 3747</a> Differentiated Services Configuration MIB April 2004</span>
Readers familiar with the Differentiated Services MIB will notice
that these are all templates. Only the diffServDataPathTable defines
a managed instance for Differentiated Services traffic treatment by
its indexes of the interface and its direction. This also allows the
tables mentioned above to be used as a configuration template without
defining anything directly related to a managed instance.
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. The Differentiated Services Configuration MIB Module Design</span>
The Differentiated Services Configuration MIB module (in this memo)
of the SNMP-based configuration management framework is positioned
between the Policy-based Management MIB module and the instance-
specific Differentiated Services MIB module as described above.
The MIB module found in this memo is designed to maintain
configuration templates for the Differentiated Services MIB [<a href="./rfc3289" title=""Management Information Base for the Differentiated Services Architecture"">RFC3289</a>]
module. The module only has a template table that describes a
Differentiated Services traffic treatment by providing the starting
pointer of the functional datapath. The templates represent a
specific configuration of traffic treatment in a functional datapath
of a Differentiated Services capable device. To avoid duplication of
managed objects, the actual templates defining the functional
datapath are defined in the Differentiated Services MIB module.
These are also used for the management of the instances. Therefore,
the implementation of the DIFFSERV-CONFIG-MIB module uses the tables
defined in the Differentiated Services MIB. As soon as a
configuration is made active via the POLICY-MANAGEMENT-MIB or using
normal SNMP operations, the configuration defined within this MIB
module will be instantiated in the DIFFSERV-MIB.
Note that this is a conceptual process. That is, the configuration
may not actually go through an API available in the subsystem which
implements the DIFFSERV-MIB module. However, configuration via the
DIFFSERV-CONFIG-MIB module will alter the same instrumentation as the
DIFFSERV-MIB module whether it does it via the DIFFSERV-MIB module or
not.
The Differentiated Services Configuration MIB module only needs to
define a starting point of a traffic treatment configuration
template. This table is similar to the diffServDataPathTable
[<a href="./rfc3289" title=""Management Information Base for the Differentiated Services Architecture"">RFC3289</a>]. However, it has a semantic difference in that the
diffServDataPathTable is associated with an instance (interface and
interface direction), whereas the diffServConfigTable in this memo is
not.
<span class="grey">Hazewinkel & Partain Standards Track [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc3747">RFC 3747</a> Differentiated Services Configuration MIB April 2004</span>
Unlike most MIB modules, changes to the managed objects in this MIB
module do not cause a change in the external/traffic behavior of the
device. This MIB module is used to set up per-hop-behavior
configurations. As soon as configurations are made active via the
POLICY-MANAGEMENT-MIB or SNMP operations, the configurations defined
within this MIB module will be instantiated in the DIFFSERV-MIB.
The only table in this MIB module is the diffServConfigTable, which
provides managed objects for registering traffic treatment
configurations used in differentiated services. The sole purpose of
this table is to provide the starting point for a traffic treatment
configuration template. The traffic treatment itself is performed by
functional datapath elements [<a href="./rfc3289" title=""Management Information Base for the Differentiated Services Architecture"">RFC3289</a>].
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. Template Cloning</span>
The concept of the DIFFSERV-CONFIG-MIB is based on having traffic
treatment configuration templates. The templates provide a set of
configuration values that provide a particular behavior, such as
Expedited Forwarding traffic treatment, in the functional datapath.
The template (or functional datapath) is similar to a linked list
from a starting point and each (functional datapath) element is
connected to the next element via the so-called next RowPointer.
The moment a template is activated (instantiated) on an interface and
its interface direction, the template needs to be copied/cloned, so
that the template remains as a template. Note that the template is
logically "locked" through the cloning process. That is, the
template cannot be changed part way through the cloning process.
With the exception of the indices, the cloned template will be
identical to the source template.
A literal copy/clone of the template is not possible, since the same
indices inside the element tables cannot be re-used. The
instantiation process must therefore generate a new index for each
element. As a result of this, the 'NEXT' pointers also need to be
updated. Otherwise, those will point to the template.
<span class="h3"><a class="selflink" id="section-6.1" href="#section-6.1">6.1</a>. An Approach to Template Cloning</span>
What should a system containing Differentiated Services capabilities
and Differentiated Services configuration capabilities do
conceptually at the moment a template is activated on an interface?
The following approach should not be considered implementation
guidelines, but rather a conceptual explanation of what should be
done.
<span class="grey">Hazewinkel & Partain Standards Track [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc3747">RFC 3747</a> Differentiated Services Configuration MIB April 2004</span>
1) Get the index of the template to be activated
2) Get RowPointer (current) from
diffServConfigStart.index
of the diffServConfigTable
3) Check if RowPointer (current) exists
4) Logically "lock" the entry (current) pointed to by
RowPointer so that its values are not changed part way
through the cloning process.
5) Copy/Clone the entry (current) pointed to by RowPointer
a) Get a new index for the entry
b) Configure the new entry with the values
of the entry to be cloned
c) Update the NEXT pointer with a new RowPointer
that pointed to the previous entry that was copied
part of this template
6) Store RowPointer of cloned entry as (previous) in order to
update the NEXT pointer with the next cloned entry.
7) Get the RowPointer of the next element in the template
as (current)
8) If (current) RowPointer does not equal zeroDotZero go to 4
9) Logically "unlock" all the locked entries done by step 4).
If a configuration/template is activated via a means other than a
direct SNMP SET request, such as via the Policy-based Management MIB,
the handling of the activation and potential error response code must
be provided via that mechanism. If a configuration/template is
activated using SNMP SET requests, an accurate error response value
must be returned. For example, if a configuration/template has
inconsistent values, the SNMP SET should return an error. Whether
the configuration is already finished is not of direct importance,
since the SNMP SET response must be accurate. On systems where the
activation may take a long time, a response may be given prior to
completion, but extra mechanisms must be provided to detect any
errors.
<span class="h3"><a class="selflink" id="section-6.2" href="#section-6.2">6.2</a>. Example</span>
This section provides an example of the process described in the
previous section. This example will show a Differentiated Services
capable incoming (ingress) interface that only counts the traffic
stream. Then, with the policy-based configuration concept as defined
in this document and in [<a href="#ref-PMMIBDR" title=""Policy-based Management MIB"">PMMIBDR</a>], a traffic marking configuration
will be applied. The example will walk the reader through all of the
steps involved in this process. Again, the use of [<a href="#ref-PMMIBDR" title=""Policy-based Management MIB"">PMMIBDR</a>] is
simply an example and is not required.
<span class="grey">Hazewinkel & Partain Standards Track [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc3747">RFC 3747</a> Differentiated Services Configuration MIB April 2004</span>
NOTE WELL: For brevity and clarity, the example does not always
show the complete entry (row) of a table. The only objects shown
are those needed for creating the row pointers to the next
functional datapath element or needed to provide information about
the specific parameters of the functional datapath elements. The
column named 'INDEX' always defines the complete index as defined
for the associated entry. In some cases, this is a combined index
of multiple components. Therefore, the names of the columns are
omitted.
Also note that the values Assured Forwarding and Expedited
Forwarding are abstracted as DSCP(AF) and DSCP(EF) (respectively)
or simply as AF and EF. For the actual values refer to [<a href="./rfc3289" title=""Management Information Base for the Differentiated Services Architecture"">RFC3289</a>].
<span class="h4"><a class="selflink" id="section-6.2.1" href="#section-6.2.1">6.2.1</a>. The Initial Situation</span>
The initial configuration is the existing configuration of an ingress
interface.
+------------------------------------------------------------+
| ingress functional datapath |
| +----------+ |
-->|----------->----------->| count |----------->----------->|-->
| +----------+ |
+------------------------------------------------------------+
This figure depicts a simple traffic treatment functional datapath
for an ingress interface. The functional datapath only consists of a
count action.
Within the DIFFSERV-MIB, this would be instantiated as follows. Note
that RowPointer objects must point to the first accessible columnar
object in the conceptual row. Thus, while perhaps more instructive
to use the index value for the RowPointer object's value (e.g.,
diffServCountActId.1) in the example, it would nonetheless be
incorrect, and the first accessible columnar object has been used as
should be done (e.g., diffServCountActOctets.1).
diffServDataPathTable
+-----------------+-----------------------------+--
| INDEX | diffServDataPathStart |
+-----------------+-----------------------------+--
| ifIndex.ingress | diffServActionNext.1 |
+-----------------+-----------------------------+--
<span class="grey">Hazewinkel & Partain Standards Track [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc3747">RFC 3747</a> Differentiated Services Configuration MIB April 2004</span>
diffServActionTable
+-------+--------------------+-------------------------+--
| INDEX | diffServActionNext |diffServActionSpecific |
+-------+--------------------+-------------------------+--
| 1 | 0.0 |diffServCountActOctets.1 |
+-------+--------------------+-------------------------+--
diffServCountActTable
+-------+------------------------+--
| INDEX | diffServCountActOctets |
+-------+------------------------+--
| 1 | |
+-------+------------------------+--
<span class="h4"><a class="selflink" id="section-6.2.2" href="#section-6.2.2">6.2.2</a>. The Configuration Template</span>
The following provides an example of a policy configuration in which
traffic is classified by a specific IP filter, that results in two
classifiers (one for the IP filter and one for match all). Both
streams are then metered, marked, and counted. This is an example of
usage on the edge (an ingress interface) of a Differentiated Services
domain that wants to have Expedited Forwarding and Assured Forwarding
marked traffic within the Differentiated Services domain.
+------------------------------------------------------------+
| ingress functional datapath |
| +------------+ +-------+ +---------+ +---------+ |
| | | | | | action: | | action: | |
-->|-->| classifier |-->| meter |-->| mark EF |-->| count |-->|----->
| | match <IP> | | | | | | | |
| +------------+ +-------+ +---------+ +---------+ |
| | \ |
| | \ +---------+ |
| | \ | action: | |routing
| | * -->| dropper | |core
| | / | | |
| | / +---------+ |
| V / |
| +------------+ +-------+ +---------+ +---------+ |
| | | | | | action: | | action: | |
| | classifier |-->| meter |-->| mark AF |-->| count |-->|----->
| | match all | | | | | | | |
| +------------+ +-------+ +---------+ +---------+ |
+------------------------------------------------------------+
This figure depicts a policy configuration for ingress traffic
treatment in a Differentiated Services capable device. The
<span class="grey">Hazewinkel & Partain Standards Track [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc3747">RFC 3747</a> Differentiated Services Configuration MIB April 2004</span>
configuration is represented as follows in the DIFFSERV-CONFIG-MIB
module and the DIFFSERV-MIB module.
Note that the original (existing) traffic treatment described in
6.2.1 is also in the tables.
Note also that in the diffServDscpMarkActTable, DSCP(EF) represents
the DSCP value for Expedited Forwarding and DSCP(AF) represents the
DSCP value for Assured Forwarding.
diffServConfigTable (in the MIB module in this memo)
+-------+-------------------------+---------------------------+--
| INDEX | diffServConfigStart | diffServConfigDescr |
+-------+-------------------------+---------------------------+--
| "foo" | diffServClfrStorage.1 | Example traffic treatment |
+-------+-------------------------+---------------------------+--
diffServClfrTable
+-------+---------------------+--------------------+
| INDEX | diffServClfrStorage | diffServClfrStatus |
+-------+---------------------+--------------------+
| 1 | | |
+-------+---------------------+--------------------+
diffServClfrElementTable (shares index with diffServClfrTable)
+-------+---------------------------+-------------------------------+--
| INDEX | diffServClfrElementNext | diffServClfrElementPrecedence |
+-------+---------------------------+-------------------------------+--
| 1.1 |diffServMeterSucceedNext.1 | 1 |
| 1.2 |diffServMeterSucceedNext.2 | 2 |
+-------+---------------------------+-------------------------------+--
diffServMeterTable
+-------+--------------------------+-----------------------+--
| INDEX | diffServMeterSucceedNext |diffServMeterFailNext |
+-------+--------------------------+-----------------------+--
| 1 | diffServActionNext.2 | diffServAlgDropType.1 |
| 2 | diffServActionNext.3 | diffServAlgDropType.1 |
+-------+--------------------------+-----------------------+--
<span class="grey">Hazewinkel & Partain Standards Track [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc3747">RFC 3747</a> Differentiated Services Configuration MIB April 2004</span>
diffServActionTable
+-------+----------------------+----------------------------+--
| INDEX | diffServActionNext | diffServActionSpecific |
+-------+----------------------+----------------------------+--
| 1 | 0.0 | diffServCountActOctets.1 |
| 2 | diffServActionNext.4 | diffServDscpMarkActDscp.EF |
| 3 | diffServActionNext.5 | diffServDscpMarkActDscp.AF |
| 4 | 0.0 | diffServCountActOctets.2 |
| 5 | 0.0 | diffServCountActOctets.3 |
+-------+----------------------+----------------------------+--
diffServCountActTable
+-------+------------------------+--
| INDEX | diffServCountActOctets |
+-------+------------------------+--
| 1 | |
| 2 | |
| 3 | |
+-------+------------------------+--
diffServAlgDropTable
+-------+---------------------+-------------------------+--
| INDEX | diffServAlgDropType | diffServAlgDropSpecific |
+-------+---------------------+-------------------------+--
| 1 | alwaysDrop(5) | 0.0 |
+-------+---------------------+-------------------------+--
diffServDscpMarkActTable
+-------------------------+
| diffServDscpMarkActDscp |
+-------------------------+
| DSCP(EF) |
| DSCP(AF) |
+-------------------------+
<span class="h4"><a class="selflink" id="section-6.2.3" href="#section-6.2.3">6.2.3</a>. Applying the Template</span>
Now we have the original ingress interface configuration and the
policy configuration we want to apply to the actual interface.
The example policy must provide the required Differentiated Services
traffic treatment to all interfaces used by system administrators.
The traffic treatment required is described in 6.2.2 above.
Therefore, we have the following example policy which is configured
via the POLICY-BASED-MANAGEMENT-MIB module (see [<a href="#ref-PMMIBDR" title=""Policy-based Management MIB"">PMMIBDR</a>]):
if ( roleMatch("Administrator") )
<span class="grey">Hazewinkel & Partain Standards Track [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc3747">RFC 3747</a> Differentiated Services Configuration MIB April 2004</span>
then
/*
* The $0 gets the "element" returned from the previous
* statement. the .1 at the end is the ingress interface
* This sets, for example, diffServDataPathStart.3.1 to be
* "diffServConfigStart.3.f.o.o" if interface 3 has the role
* "Administrator".
*/
setVar("diffServDataPathStart.$0.1",
"diffServConfigStart.3.f.o.o", Oid)
For our purposes, we only apply this on the inbound (ingress)
direction of the interface.
Note that although object descriptors are used in this PolicyScript
example, the object identifiers must be used in the running script.
For more information on policies and their syntax refer to [<a href="#ref-PMMIBDR" title=""Policy-based Management MIB"">PMMIBDR</a>].
The following tables in this section provide the cloned entries in
the tables of the DIFFSERV-MIB module. All tables may have columns
that contain contents or administrative objects that are not shown.
These columns do not determine a function in the datapath and they
are not shown for clarity of the cloning mechanism.
Note that the original (existing) traffic treatment of 6.2.1 and
6.2.2 are also in the tables.
diffServConfigTable
+-------+-------------------------+---------------------------+--
| INDEX | diffServConfigStart | diffServConfigDescr |
+-------+-------------------------+---------------------------+--
| "foo" | diffServClfrStorage.1 | Example traffic treatment |
+-------+-------------------------+---------------------------+--
diffServDataPathTable
+-----------------+-----------------------------+--
| INDEX | diffServDataPathStart |
+-----------------+-----------------------------+--
| ifIndex.ingress | diffServActionNext.2 |
+-----------------+-----------------------------+--
<span class="grey">Hazewinkel & Partain Standards Track [Page 12]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-13" ></span>
<span class="grey"><a href="./rfc3747">RFC 3747</a> Differentiated Services Configuration MIB April 2004</span>
diffServClfrTable
+-------+---------------------+--------------------+
| INDEX | diffServClfrStorage | diffServClfrStatus |
+-------+---------------------+--------------------+
| 1 | | |
| 2 | | |
+-------+---------------------+--------------------+
diffServClfrElementTable
+-------+----------------------------+-------------------------------+--
| INDEX | diffServClfrElementNext | diffServClfrElementPrecedence |
+-------+----------------------------+-------------------------------+--
| 1.1 | diffServMeterSucceedNext.1 | 1 |
| 1.2 | diffServMeterSucceedNext.2 | 2 |
| 2.3 | diffServMeterSucceedNext.3 | 1 |
| 2.4 | diffServMeterSucceedNext.4 | 2 |
+-------+----------------------------+-------------------------------+--
diffServMeterTable
+-------+--------------------------+-----------------------+--
| INDEX | diffServMeterSucceedNext | diffServMeterFailNext |
+-------+--------------------------+-----------------------+--
| 1 | diffServActionNext.2 | diffServAlgDropType.1 |
| 2 | diffServActionNext.3 | diffServAlgDropType.1 |
| 3 | diffServActionNext.6 | diffServAlgDropType.2 |
| 4 | diffServActionNext.7 | diffServAlgDropType.2 |
+-------+--------------------------+-----------------------+--
diffServActionTable
+-------+----------------------+----------------------------+--
| INDEX | diffServActionNext | diffServActionSpecific |
+-------+----------------------+----------------------------+--
| 1 | 0.0 | diffServCountActOctets.1 |
| 2 | diffServActionNext.4 | diffServDscpMarkActDscp.EF |
| 3 | diffServActionNext.5 | diffServDscpMarkActDscp.AF |
| 4 | 0.0 | diffServCountActOctets.2 |
| 5 | 0.0 | diffServCountActOctets.3 |
| 6 | diffServActionNext.8 | diffServDscpMarkActDscp.EF |
| 7 | diffServActionNext.9 | diffServDscpMarkActDscp.AF |
| 8 | 0.0 | diffServCountActOctets.4 |
| 9 | 0.0 | diffServCountActOctets.5 |
+-------+----------------------+----------------------------+--
<span class="grey">Hazewinkel & Partain Standards Track [Page 13]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-14" ></span>
<span class="grey"><a href="./rfc3747">RFC 3747</a> Differentiated Services Configuration MIB April 2004</span>
diffServCountActTable
+-------+------------------------+--
| INDEX | diffServActCountOctets |
+-------+------------------------+--
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
+-------+------------------------+--
diffServAlgDropTable
+-------+---------------------+-------------------------+--
| INDEX | diffServAlgDropType | diffServAlgDropSpecific |
+-------+---------------------+-------------------------+--
| 1 | alwaysDrop(5) | 0.0 |
+-------+---------------------+-------------------------+--
diffServDscpMarkActTable
+-------------------------+
| diffServDscpMarkActDscp |
+-------------------------+
| DSCP(EF) |
| DSCP(AF) |
+-------------------------+
As one can see in the example, the main elements from which a
functional datapath is constructed are duplicated/copied/cloned.
That process is needed in order to preserve the policy configuration
for reuse at a later time.
It is up to the SNMP agent to keep track of which network interfaces
are under policy control and which policy rules are being used. This
avoids duplication of policy enforcement. How the agent does this is
an implementation issue.
One can see that the old functional datapath configurations stay in
the MIB module tables. It is up to the SNMP agent implementation to
decide whether to delete stale entries or keep them. Garbage
collection of stale entries is an implementation issue.
<span class="h4"><a class="selflink" id="section-6.2.4" href="#section-6.2.4">6.2.4</a>. Applying the Template Using SNMP Messages</span>
In this section, the above example is explained by using SNMP
communication between the SNMP "manager" and the SNMP "agent".
<span class="grey">Hazewinkel & Partain Standards Track [Page 14]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-15" ></span>
<span class="grey"><a href="./rfc3747">RFC 3747</a> Differentiated Services Configuration MIB April 2004</span>
In order to apply the template to all interfaces that have a role
match of "Administrator," the SNMP manager must have a list of the
roles of the interface. This means the SNMP manager must do an
SNMP-SET for all those interfaces. This is expressed in the
following pseudo code function.
set_template_if_administrator_interface(
<interface_list>, <template_name>
) {
template_oid = SNMP-GET("diffServConfigStart.<template_name>");
foreach interface (<ifRole_list>) {
if (interface.role == "Administrator") {
SNMP-SET("diffServDataPathStart.$interface.1",
Oid, template_oid);
}
}
}
For example, on a system with 3 interfaces, the following list would
be known to the manager. The first value indicates the interface
number (ifIndex) and the second value is its role.
interface_list IF_LIST = {
{ 1, ... , "Administrator", ... },
{ 2, ... , "User", ... },
{ 3, ... , "Administrator", ... } }
This will result in the communication between a manager and agent of
1 SNMP-GET and 2 SNMP-SETs:
- SNMP-GET("diffServConfigStart.3.f.o.o")
- SNMP-SET("diffServDataPathStart.1.1", Oid, "diffServActionNext.1")
- SNMP-SET("diffServDataPathStart.3.1", Oid, "diffServActionNext.1")
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. Managed Objects Definitions (MIB Module)</span>
DIFFSERV-CONFIG-MIB DEFINITIONS ::= BEGIN
IMPORTS
OBJECT-TYPE, MODULE-IDENTITY,
zeroDotZero, mib-2 FROM SNMPv2-SMI -- [<a href="./rfc2578" title=""Structure of Management Information Version 2 (SMIv2)"">RFC2578</a>]
RowStatus, StorageType,
RowPointer, DateAndTime FROM SNMPv2-TC -- [<a href="./rfc2579" title=""Textual Conventions for SMIv2"">RFC2579</a>]
MODULE-COMPLIANCE,
OBJECT-GROUP FROM SNMPv2-CONF -- [<a href="./rfc2580" title=""Conformance Statements for SMIv2"">RFC2580</a>]
<span class="grey">Hazewinkel & Partain Standards Track [Page 15]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-16" ></span>
<span class="grey"><a href="./rfc3747">RFC 3747</a> Differentiated Services Configuration MIB April 2004</span>
SnmpAdminString FROM SNMP-FRAMEWORK-MIB; -- [<a href="./rfc3411" title=""An Architecture for Describing Simple Network Management Protocol (SNMP) Management Frameworks"">RFC3411</a>]
diffServConfigMib MODULE-IDENTITY
LAST-UPDATED "200401220000Z" -- 22 January 2004
ORGANIZATION "SNMPCONF WG"
CONTACT-INFO
"SNMPCONF Working Group
<a href="http://www.ietf.org/html.charters/snmpconf-charter.html">http://www.ietf.org/html.charters/snmpconf-charter.html</a>
WG mailing list: snmpconf@snmp.com
Editors:
Harrie Hazewinkel
I.Net
via Darwin 85
20019 - Settimo Milanese (MI)
Italy
EMail: harrie@inet.it
David Partain
Ericsson AB
P.O. Box 1248
SE-581 12 Linkoping
Sweden
E-mail: David.Partain@ericsson.com"
DESCRIPTION
"This MIB module contains differentiated services
specific managed objects to perform higher-level
configuration management. This MIB allows policies
to use 'templates' to instantiate Differentiated
Services functional datapath configurations to
be assigned (associated with an interface and
direction) when a policy is activated.
Copyright (C) The Internet Society (2004). This version
of this MIB module is part of <a href="./rfc3747">RFC 3747</a>; see the RFC
itself for full legal notices."
REVISION "200401220000Z" -- 22 January 2004
DESCRIPTION
"Initial version published as <a href="./rfc3747">RFC 3747</a>"
::= { mib-2 108 }
diffServConfigMIBObjects OBJECT IDENTIFIER ::= { diffServConfigMib 1 }
diffServConfigMIBConformance OBJECT IDENTIFIER ::=
{ diffServConfigMib 2 }
--
-- The Differentiated Services configuration objects
--
<span class="grey">Hazewinkel & Partain Standards Track [Page 16]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-17" ></span>
<span class="grey"><a href="./rfc3747">RFC 3747</a> Differentiated Services Configuration MIB April 2004</span>
diffServConfigTable OBJECT-TYPE
SYNTAX SEQUENCE OF DiffServConfigEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table which defines the various per-hop-behaviors
for which the system has default 'templates'."
::= { diffServConfigMIBObjects 2 }
diffServConfigEntry OBJECT-TYPE
SYNTAX DiffServConfigEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry defining a per-hop-behavior. Each entry in
this table combines the various parameters (entries)
into a specific per-hop-behavior. Entries in this
table might be defined by a vendor (pre-configured)
or defined by a management application."
INDEX { diffServConfigId }
::= { diffServConfigTable 1 }
DiffServConfigEntry ::= SEQUENCE {
diffServConfigId SnmpAdminString,
diffServConfigDescr SnmpAdminString,
diffServConfigOwner SnmpAdminString,
diffServConfigLastChange DateAndTime,
diffServConfigStart RowPointer,
diffServConfigStorage StorageType,
diffServConfigStatus RowStatus
}
diffServConfigId OBJECT-TYPE
SYNTAX SnmpAdminString (SIZE(1..116))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A unique id for the per-hop-behavior policy for at
least the SNMP agent. For ease of administration the
value may be unique within an administrative domain,
but this is not required.
The range of up to 116 octets is chosen to stay within
the SMI limit of 128 sub-identifiers in an object
identifier."
::= { diffServConfigEntry 1 }
diffServConfigDescr OBJECT-TYPE
<span class="grey">Hazewinkel & Partain Standards Track [Page 17]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-18" ></span>
<span class="grey"><a href="./rfc3747">RFC 3747</a> Differentiated Services Configuration MIB April 2004</span>
SYNTAX SnmpAdminString
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"A human-readable description to identify this defined
per-hop-behavior. Note that this is an SnmpAdminString,
which permits UTF-8 strings. An administratively assigned
identifier for a template that would be unique within
an administrative domain. It is up to the management
applications to agree how these are assigned within the
administrative domain. Once a description, such as
'EF' is assigned, that has a certain set of parameters
that achieve 'EF' from box to box. Management
application code or script code can then scan
the table to find the proper template and then
assign it."
::= { diffServConfigEntry 2 }
diffServConfigOwner OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The owner who created this entry."
::= { diffServConfigEntry 3 }
diffServConfigLastChange OBJECT-TYPE
SYNTAX DateAndTime
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The date and time when this entry was last changed."
::= { diffServConfigEntry 4 }
diffServConfigStart OBJECT-TYPE
SYNTAX RowPointer
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The pointer to a functional datapath configuration template as
set up in the DIFFSERV-MIB. This RowPointer should
point to an instance of one of:
diffServClfrEntry
diffServMeterEntry
diffServActionEntry
diffServAlgDropEntry
diffServQEntry
<span class="grey">Hazewinkel & Partain Standards Track [Page 18]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-19" ></span>
<span class="grey"><a href="./rfc3747">RFC 3747</a> Differentiated Services Configuration MIB April 2004</span>
A value of zeroDotZero in this attribute indicates no
further Diffserv treatment is performed on traffic of
this functional datapath. This also means that the
template described by this row is not defined.
If the row pointed to does not exist, the treatment
is as if this attribute contains a value of zeroDotZero."
REFERENCE
"Differentiated Services MIB module"
DEFVAL { zeroDotZero }
::= { diffServConfigEntry 5 }
diffServConfigStorage OBJECT-TYPE
SYNTAX StorageType
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The type of storage used for this row.
Since an entry in this table serves as a starting
point for a configuration, it is recommended that
all entries comprising the configuration started by
diffServConfigStart follow the storage type of this
entry. Otherwise, after agent reboots a configuration
may differ. It may very well be that the agent is
not capable of detecting such changes and therefore,
the management application should verify the correct
configuration after a reboot. Rows with a StorageType
of 'permanent' do not need to allow write access to
any of the columnar objects in that row."
DEFVAL { nonVolatile }
::= { diffServConfigEntry 6 }
diffServConfigStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"RowStatus object used for creation and deletion of
rows in this table. All writable objects in this row
may be modified at any time."
DEFVAL { notInService }
::= { diffServConfigEntry 7 }
--
-- MIB Compliance statements.
--
<span class="grey">Hazewinkel & Partain Standards Track [Page 19]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-20" ></span>
<span class="grey"><a href="./rfc3747">RFC 3747</a> Differentiated Services Configuration MIB April 2004</span>
diffServConfigMIBCompliances
OBJECT IDENTIFIER ::= { diffServConfigMIBConformance 1 }
diffServConfigMIBGroups
OBJECT IDENTIFIER ::= { diffServConfigMIBConformance 2 }
diffServConfigMIBFullCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The full compliance for this MIB module.
For this compliance level the 'diffServMIBFullCompliance'
must be met, since this MIB module depends on it in order
to provide the configuration entries.
"
MODULE -- This module
MANDATORY-GROUPS { diffServConfigMIBConfigGroup }
OBJECT diffServConfigStatus
SYNTAX RowStatus { active(1) }
WRITE-SYNTAX RowStatus { createAndGo(4), destroy(6) }
DESCRIPTION
"Support for createAndWait and notInService is not required."
::= { diffServConfigMIBCompliances 1 }
diffServConfigMIBConfigGroup OBJECT-GROUP
OBJECTS { diffServConfigDescr,
diffServConfigOwner,
diffServConfigLastChange,
diffServConfigStart,
diffServConfigStorage,
diffServConfigStatus
}
STATUS current
DESCRIPTION
"The per-hop-behavior Group defines the MIB objects that
describe the configuration template for the per-hop-behavior."
::= { diffServConfigMIBGroups 1 }
END
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. Security Considerations</span>
There are a number of management objects defined in this MIB module
with 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. These managed objects are:
<span class="grey">Hazewinkel & Partain Standards Track [Page 20]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-21" ></span>
<span class="grey"><a href="./rfc3747">RFC 3747</a> Differentiated Services Configuration MIB April 2004</span>
- The diffServConfigDescr, diffServConfigOwner, and
diffServConfigStatus are not security sensitive since these three
objects do not affect any direct operational behavior of a
diffserv capable device.
- Unauthorized change of the diffServConfigStart could lead to a
different configuration, and the 'changed' configuration could
lead to different traffic treatment for the diffserv capable
device than desired.
- Unauthorized change of the diffServConfigStorage could lead to
unknown behavior of the diffserv capable device after a reboot of
the SNMP agent. This may be caused by 'not having saved changes
of the configuration' or unavailable configurations.
In addition, the managed objects of the DIFFSERV-MIB are also
security sensitive, since unauthorized changes may cause
configuration changes. For more detail, refer to [<a href="./rfc3289" title=""Management Information Base for the Differentiated Services Architecture"">RFC3289</a>].
Allowing read access to objects in this MIB module is generally not
considered sensitive, as read access only provides information that a
template exists. This is due to the fact that the managed objects
that actually instantiate the template are in the DIFFSERV-MIB
[<a href="./rfc3289" title=""Management Information Base for the Differentiated Services Architecture"">RFC3289</a>]. However, in environments where the template description
(diffServConfigDescr) or owner (diffServConfigOwner) is considered
sensitive information, appropriate access control should be exercised
for these objects.
SNMP versions prior to SNMPv3 did not include adequate security.
Even if the network itself is secure (for example by using IPSec),
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 module.
It is RECOMMENDED that implementers consider the security features as
provided by the SNMPv3 framework (see <a href="./rfc3410#section-8">[RFC3410], section 8</a>),
including full support for the SNMPv3 cryptographic mechanisms (for
authentication and privacy).
Further, deployment of SNMP versions prior to SNMPv3 is NOT
RECOMMENDED. Instead, deployment of SNMPv3 with cryptographic
security enabled is RECOMMENDED. It is then a customer/operator
responsibility to ensure that the SNMP entity giving access to an
instance of this MIB module is properly configured to give access to
the objects only to those principals (users) that have legitimate
rights to GET or SET (change/create/delete) them.
<span class="grey">Hazewinkel & Partain Standards Track [Page 21]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-22" ></span>
<span class="grey"><a href="./rfc3747">RFC 3747</a> Differentiated Services Configuration MIB April 2004</span>
<span class="h2"><a class="selflink" id="section-9" href="#section-9">9</a>. Acknowledgments</span>
The editors gratefully acknowledge the significant contributions to
this work made by several members of both the SNMPCONF and DiffServ
working groups.
<span class="h2"><a class="selflink" id="section-10" href="#section-10">10</a>. References</span>
<span class="h3"><a class="selflink" id="section-10.1" href="#section-10.1">10.1</a>. Normative References</span>
[<a id="ref-RFC2578">RFC2578</a>] McCloghrie, K., Perkins, D. and J. Schoenwaelder,
"Structure of Management Information Version 2 (SMIv2)",
STD 58, <a href="./rfc2578">RFC 2578</a>, April 1999.
[<a id="ref-RFC2579">RFC2579</a>] McCloghrie, K., Perkins, D. and J. Schoenwaelder, "Textual
Conventions for SMIv2", STD 58, <a href="./rfc2579">RFC 2579</a>, April 1999.
[<a id="ref-RFC2580">RFC2580</a>] McCloghrie, K., Perkins, D. and J. Schoenwaelder,
"Conformance Statements for SMIv2", STD 58, <a href="./rfc2580">RFC 2580</a>, April
1999.
[<a id="ref-RFC3289">RFC3289</a>] Baker, F., Chan, K. and A. Smith, "Management Information
Base for the Differentiated Services Architecture", <a href="./rfc3289">RFC</a>
<a href="./rfc3289">3289</a>, May 2002.
[<a id="ref-RFC3411">RFC3411</a>] Harrington, D., Presuhn, R. and B. Wijnen, "An Architecture
for Describing Simple Network Management Protocol (SNMP)
Management Frameworks", STD 62, <a href="./rfc3411">RFC 3411</a>, December 2002.
<span class="grey">Hazewinkel & Partain Standards Track [Page 22]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-23" ></span>
<span class="grey"><a href="./rfc3747">RFC 3747</a> Differentiated Services Configuration MIB April 2004</span>
<span class="h3"><a class="selflink" id="section-10.2" href="#section-10.2">10.2</a>. Informative References</span>
[<a id="ref-RFC3410">RFC3410</a>] Case, J., Mundy, R., Partain, D. and B. Stewart,
"Introduction and Applicability Statements for Internet-
Standard Management Framework", <a href="./rfc3410">RFC 3410</a>, December 2002.
[<a id="ref-RFC2474">RFC2474</a>] Nichols, K., Blake, S., Baker, F. and D. Black, "Definition
of the Differentiated Services Field (DS Field) in the IPv4
and IPv6 Headers", <a href="./rfc2474">RFC 2474</a>, December 1998.
[<a id="ref-RFC2475">RFC2475</a>] Blake, S., Black, D., Carlson, M., Davies, E., Wang, Z. and
W. Weiss, "An Architecture for Differentiated Services",
<a href="./rfc2475">RFC 2475</a>, December 1998.
[<a id="ref-RFC3512">RFC3512</a>] MacFaden, M., Partain, D., Saperia, J. and W. Tackabury,
"Configuring Networks and Devices with Simple Network
Management Protocol (SNMP)", <a href="./rfc3512">RFC 3512</a>, April 2003.
[<a id="ref-PMMIBDR">PMMIBDR</a>] Waldbusser, S., Saperia, J. and T. Hongal, "Policy-based
Management MIB", Work in Progress.
<span class="h2"><a class="selflink" id="section-11" href="#section-11">11</a>. Editors' Addresses</span>
Harrie Hazewinkel
I.Net
via Darwin 85
20019 - Settimo Milanese (MI)
Italy
EMail: harrie@inet.it
David Partain
Ericsson AB
P.O. Box 1248
SE-581 12 Linkoping
Sweden
EMail: David.Partain@ericsson.com
<span class="grey">Hazewinkel & Partain Standards Track [Page 23]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-24" ></span>
<span class="grey"><a href="./rfc3747">RFC 3747</a> Differentiated Services Configuration MIB April 2004</span>
<span class="h2"><a class="selflink" id="section-12" href="#section-12">12</a>. Full Copyright Statement</span>
Copyright (C) The Internet Society (2004). This document is subject
to the rights, licenses and restrictions contained in <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and
except as set forth therein, the authors retain all their rights.
This document and the information contained herein are provided on an
"AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET
ENGINEERING TASK FORCE DISCLAIM 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.
Intellectual Property
The IETF takes no position regarding the validity or scope of any
Intellectual Property Rights or other rights that might be claimed to
pertain to the implementation or use of the technology described in
this document or the extent to which any license under such rights
might or might not be available; nor does it represent that it has
made any independent effort to identify any such rights. Information
on the procedures with respect to rights in RFC documents can be
found in <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and <a href="https://www.rfc-editor.org/bcp/bcp79">BCP 79</a>.
Copies of IPR disclosures made to the IETF Secretariat and any
assurances of licenses to be made available, or the result of an
attempt made to obtain a general license or permission for the use of
such proprietary rights by implementers or users of this
specification can be obtained from the IETF on-line IPR repository at
<a href="http://www.ietf.org/ipr">http://www.ietf.org/ipr</a>.
The IETF invites any interested party to bring to its attention any
copyrights, patents or patent applications, or other proprietary
rights that may cover technology that may be required to implement
this standard. Please address the information to the IETF at ietf-
ipr@ietf.org.
Acknowledgement
Funding for the RFC Editor function is currently provided by the
Internet Society.
Hazewinkel & Partain Standards Track [Page 24]
</pre>
|