1 karl 1.1 // ===================================================================
2 // Title: Network Switching and Bridging 2.7
3 // Filename: Network27_SwitchingBridging.mof
4 // Version: 2.7.0
5 // Status: Preliminary
6 // Date: 08/04/2002
7 // ===================================================================
8 // Copyright 1998-2002 Distributed Management Task Force, Inc. (DMTF).
9 // All rights reserved.
10 // DMTF is a not-for-profit association of industry members dedicated
11 // to promoting enterprise and systems management and interoperability.
12 // DMTF specifications and documents may be reproduced for uses
13 // consistent with this purpose by members and non-members,
14 // provided that correct attribution is given.
15 // As DMTF specifications may be revised from time to time,
16 // the particular version and release date should always be noted.
17 //
18 // Implementation of certain elements of this standard or proposed
19 // standard may be subject to third party patent rights, including
20 // provisional patent rights (herein "patent rights"). DMTF makes
21 // no representations to users of the standard as to the existence
22 karl 1.1 // of such rights, and is not responsible to recognize, disclose, or
23 // identify any or all such third party patent right, owners or
24 // claimants, nor for any incomplete or inaccurate identification or
25 // disclosure of such rights, owners or claimants. DMTF shall have no
26 // liability to any party, in any manner or circumstance, under any
27 // legal theory whatsoever, for failure to recognize, disclose, or
28 // identify any such third party patent rights, or for such party's
29 // reliance on the standard or incorporation thereof in its product,
30 // protocols or testing procedures. DMTF shall have no liability to
31 // any party implementing such standard, whether such implementation
32 // is foreseeable or not, nor to any patent owner or claimant, and shall
33 // have no liability or responsibility for costs or losses incurred if
34 // a standard is withdrawn or modified after publication, and shall be
35 // indemnified and held harmless by any party implementing the
36 // standard from any and all claims of infringement by a patent owner
37 // for such implementations.
38 //
39 // For information about patents held by third-parties which have
40 // notified the DMTF that, in their opinion, such patent may relate to
41 // or impact implementations of DMTF standards, visit
42 // http://www.dmtf.org/about/policies/disclosures.php.
43 karl 1.1 // ===================================================================
44 // Description: The Network Model extends the management concepts to
45 // represent protocol interfaces and network/protocol
46 // services. This file defines network services and
47 // supporting information for switching and bridging.
48 //
49 // The object classes below are listed in an order that
50 // avoids forward references. Required objects, defined
51 // by other working groups, are omitted.
52 // ==================================================================
53 // Change Log for v2.7
54 // CR662 - Update the description for SourceRoutingService
55 // CR863 - Update the format of the MappingStrings qualifier when
56 // referencing IETF RFCs
57 // CR868 - Cleanup of the routing/switching classes
58 // ===================================================================
59
60 #pragma Locale ("en_US")
61
62
63 // ===================================================================
64 karl 1.1 // SwitchService
65 // ===================================================================
66 [Version ("2.7.0"), Description (
67 "Generic switch (bridging) service class. Additional "
68 "switching functions are incorporated as subordinate "
69 "services related to this class via ServiceComponent "
70 "associations.") ]
71 class CIM_SwitchService : CIM_ForwardingService {
72
73 [MaxLen(32), Description (
74 "Address used by this SwitchService when it must be "
75 "uniquely identified. For an ethernet bridge, the MAC "
76 "Address serves as the BridgeAddress. When concatenated with "
77 "a SpanningTreeService Priority, a unique bridge identifier "
78 "results. The MAC address is formatted as twelve "
79 "hexadecimal digits (e.g., \"010203040506\"), with each "
80 "pair representing one of the six octets of the MAC address "
81 "in \"canonical\" bit order according to RFC 2469."
82 "In other scenarios, like Ipv6, the address is formatted as "
83 "\"ffff:ffff:ffff:ffff\"."),
84 ModelCorrespondence {"CIM_SwitchService.BridgeAddressType"},
85 karl 1.1 MappingStrings {
86 "MIB.IETF|BRIDGE-MIB.dot1dBaseBridgeAddress"} ]
87 string BridgeAddress;
88
89 [Description (
90 "The number of switch ports controlled by this "
91 "switching service.") ,
92 MappingStrings {"MIB.IETF|BRIDGE-MIB.dot1dBaseNumPorts"} ]
93 uint16 NumPorts;
94
95 [Description (
96 "Indicates what type of switching service can be "
97 "performed."),
98 ValueMap {"1", "2", "3", "4"},
99 Values {"Unknown", "Transparent-only", "SourceRoute-only",
100 "SRT"},
101 MappingStrings {"MIB.IETF|BRIDGE-MIB.dot1dBaseType"} ]
102 uint8 BridgeType;
103
104 [Description (
105 "BridgeAddressType defines the type of addressing scheme used "
106 karl 1.1 "for this Bridge and its BridgeAddress property."),
107 ValueMap {"1", "2", "3", "4", "5"},
108 Values {"Other", "IPv4", "IPv6", "MAC",
109 "MAC + Spanning Tree Priority"},
110 ModelCorrespondence {"CIM_SwitchingService.BridgeAddress"} ]
111 uint16 BridgeAddressType;
112 };
113
114
115 // ===================================================================
116 // SwitchesAmong
117 // ===================================================================
118 [Association, Version ("2.6.0"), Description (
119 "A SwitchService switches frames between SwitchPorts. "
120 "This association makes that relationship explicit.") ]
121 class CIM_SwitchesAmong : CIM_ForwardsAmong {
122
123 [Override ("Antecedent"),
124 Description ("The switch port.") ]
125 CIM_SwitchPort REF Antecedent;
126
127 karl 1.1 [Override ("Dependent"), Max (1),
128 Description ("The switching service.") ]
129 CIM_SwitchService REF Dependent;
130 };
131
132
133 // ===================================================================
134 // Switchable
135 // ===================================================================
136 [Association, Deprecated {"CIM_EndpointIdentity"},
137 Version ("2.7.0"), Description (
138 "A switch port has a LANEndpoint that is exposed via this "
139 "relationship. The associaiton is deprecated since a binding "
140 "is not the correct relationship. The SwitchPort is simply "
141 "another aspect of the LANEndpoint - which is indicated by "
142 "the EndpointIdentity relationship.") ]
143 class CIM_Switchable : CIM_BindsToLANEndpoint {
144
145 [Override ("Antecedent"), Max (1),
146 Deprecated {"CIM_EndpointIdentity.SystemElement"},
147 Description ("The switch port.") ]
148 karl 1.1 CIM_LANEndpoint REF Antecedent;
149
150 [Override ("Dependent"), Max (1),
151 Deprecated {"CIM_EndpointIdentity.SameElement"},
152 Description ("The LAN endpoint.") ]
153 CIM_SwitchPort REF Dependent;
154 };
155
156
157 // ===================================================================
158 // TransparentBridgingService
159 // ===================================================================
160 [Version ("2.7.0"), Description (
161 "This service class represents the learning/transparent "
162 "bridging aspect of a SwitchService.") ]
163 class CIM_TransparentBridgingService : CIM_ForwardingService {
164
165 [Description (
166 "The timeout period in seconds for aging out "
167 "dynamically learned forwarding information. "
168 "802.1D-1990 recommends a default of 300 seconds."),
169 karl 1.1 Units("Seconds"),
170 MappingStrings {"MIB.IETF|BRIDGE-MIB.dot1dTpAgingTime"} ]
171 uint32 AgingTime = 300;
172
173 [Description (
174 "Filtering Database Identifier used by VLAN-aware "
175 "switches that have more than one filtering database.") ]
176 uint32 FID;
177 };
178
179
180 // ==================================================================
181 // SwitchServiceTransparentBridging
182 // ==================================================================
183 [Association, Aggregation, Version ("2.6.0"),
184 Description (
185 "An association linking a SwitchService to a component "
186 "TransparentBridgingService. The cardinality of the "
187 "TransparentBridgingService is 0..1 for a VLAN-unaware "
188 "switch.") ]
189 class CIM_SwitchServiceTransparentBridging : CIM_ServiceComponent {
190 karl 1.1
191 [Override ("GroupComponent"), Aggregate, Min (1),
192 Description ("The parent SwitchService.") ]
193 CIM_SwitchService REF GroupComponent;
194
195 [Override ("PartComponent"),
196 Description ("The component BridgingService.") ]
197 CIM_TransparentBridgingService REF PartComponent;
198 };
199
200
201 // ===================================================================
202 // SpanningTreeService
203 // ===================================================================
204 [Version ("2.7.0"), Description (
205 "This service class represents the capability of a switch "
206 "to participate in the distributed construction of a "
207 "spanning tree.") ]
208 class CIM_SpanningTreeService : CIM_ForwardingService {
209
210 [Description (
211 karl 1.1 "The version of the spanning tree protocol "
212 "used by the switch."),
213 ValueMap {"1", "2", "3"},
214 Values {"Unknown", "DEC LB100", "IEEE 802d"},
215 MappingStrings {
216 "MIB.IETF|BRIDGE-MIB.dot1dStpProtocolSpecification"} ]
217 uint16 ProtocolSpec;
218
219 [Description (
220 "The format of the priority bits are the first two octets "
221 "of the 8-octet long Bridge ID. The other (last) 6 octets of "
222 "the Bridge ID are given by the value of the Bridge "
223 "Address. \n"
224 "\n"
225 "A priority that can be assigned to the switch for use in "
226 "constructing the spanning tree. The unique identifier for "
227 "a switch is constructed by concatenating the MAC address "
228 "associated with the switch for spanning tree operations "
229 "to the two-byte priority. Choice of the priority value "
230 "influences election of the root bridge."),
231 MappingStrings {"MIB.IETF|BRIDGE-MIB.dot1dStpPriority"} ]
232 karl 1.1 uint16 Priority;
233
234 [Description (
235 "MAC address used by the spanning tree service when it "
236 "must be uniquely identified. When concatenated with a "
237 "SpanningTreeService Priority, a unique bridge identifier "
238 "results. This property is defined for use of switches "
239 "supporting multiple spanning tree services. \n"
240 "\n"
241 "Note that the MAC address is formatted as twelve "
242 "hexadecimal digits (e.g., \"010203040506\"), with each "
243 "pair representing one of the six octets of the MAC address "
244 "in \"canonical\" bit order according to RFC 2469.") ]
245 string SpanningTreeBridgeAddress;
246
247 [MaxLen(16), Description (
248 "The complete Bridge ID (Priority + MAC Address) of the "
249 "root bridge. The format of the priority bits are the "
250 "first two octets of the 8-octet long Bridge ID. "
251 "Note that the MAC address is formatted as twelve "
252 "hexadecimal digits (e.g., \"010203040506\"), with each "
253 karl 1.1 "pair representing one of the six octets of the MAC address "
254 "in \"canonical\" bit order according to RFC 2469."),
255 MappingStrings {
256 "MIB.IETF|BRIDGE-MIB.dot1dStpDesignatedRoot"} ]
257 string DesignatedRoot;
258
259 [Description (
260 "The cost of the path from the switch to the root."),
261 MappingStrings {"MIB.IETF|BRIDGE-MIB.dot1dStpRootCost"} ]
262 uint16 RootCost;
263
264 [Description (
265 "The port number of the port having the lowest cost path "
266 "to the root bridge."),
267 MappingStrings {"MIB.IETF|BRIDGE-MIB.dot1dStpRootPort"} ]
268 uint16 RootPort;
269
270 [Description (
271 "The current value for the maximum age of Spanning Tree "
272 "information before discard, as learned from the network."),
273 Units ("Hundredths of Seconds"),
274 karl 1.1 MappingStrings {"MIB.IETF|BRIDGE-MIB.dot1dStpMaxAge"} ]
275 uint32 MaxAge;
276
277 [Description (
278 "The current value of the interval between transmission "
279 "of bridge PDUs by the switch, on any port for which it is "
280 "the spanning tree root or trying to become so, as learned "
281 "from the network."),
282 Units ("Hundredths of Seconds"),
283 MappingStrings {"MIB.IETF|BRIDGE-MIB.dot1dStpHelloTime"} ]
284 uint32 HelloTime;
285
286 [Description (
287 "The minimum interval between transmission of bridge PDUs "
288 "through a given port, as learned from the network."),
289 Units ("Hundredths of Seconds"),
290 MappingStrings {"MIB.IETF|BRIDGE-MIB.dot1dStpHoldTime"} ]
291 uint32 HoldTime;
292
293 [Description (
294 "The time spent by a port in the listening state before "
295 karl 1.1 "transitioning to the learning state, and in the learning "
296 "state before transitioning to the forwarding state, as "
297 "learned from the network. This value is also used during "
298 "the period of a topology change as the maximum age of "
299 "Spanning Tree information before discard."),
300 Units ("Hundredths of Seconds"),
301 MappingStrings {
302 "MIB.IETF|BRIDGE-MIB.dot1dStpForwardDelay"} ]
303 uint32 ForwardDelay;
304
305 [Description (
306 "The MaxAge parameter to be used by all switches in the "
307 "network if this switch becomes the root."),
308 Units ("Hundredths of Seconds"),
309 MappingStrings {
310 "MIB.IETF|BRIDGE-MIB.dot1dStpBridgeMaxAge"} ]
311 uint32 BridgeMaxAge;
312
313 [Description (
314 "The HelloTime parameter to be used by all switches in the "
315 "network if this switch becomes the root."),
316 karl 1.1 Units ("Hundredths of Seconds"),
317 MappingStrings {
318 "MIB.IETF|BRIDGE-MIB.dot1dStpBridgeHelloTime"} ]
319 uint32 BridgeHelloTime;
320
321 [Description (
322 "The ForwardDelay parameter to be used by all switches in "
323 "the network if this switch becomes the root."),
324 Units ("Hundredths of Seconds"),
325 MappingStrings {
326 "MIB.IETF|BRIDGE-MIB.dot1dStpBridgeForwardDelay"} ]
327 uint32 BridgeForwardDelay;
328 };
329
330
331 // ==================================================================
332 // SwitchServiceSpanningTree
333 // ==================================================================
334 [Association, Aggregation, Version ("2.6.0"),
335 Description (
336 "An association linking SwitchService to a component "
337 karl 1.1 "SpanningTreeService. The cardinality of the "
338 "SpanningTreeService is 0..1 for a VLAN-unaware "
339 "switch.") ]
340 class CIM_SwitchServiceSpanningTree : CIM_ServiceComponent {
341
342 [Override ("GroupComponent"), Aggregate, Min (1),
343 Description ("The parent SwitchService.") ]
344 CIM_SwitchService REF GroupComponent;
345
346 [Override ("PartComponent"),
347 Description ("The component SpanningTreeService.") ]
348 CIM_SpanningTreeService REF PartComponent;
349 };
350
351
352 // ===================================================================
353 // SwitchPortSpanningTree
354 // ===================================================================
355 [Association, Version ("2.7.0"), Description (
356 "A switch participating in the spanning tree maintains "
357 "spanning-tree specific information about each port "
358 karl 1.1 "whose forwarding is determined by the spanning tree. "
359 "This association represents that information.") ]
360 class CIM_SwitchPortSpanningTree : CIM_ServiceSAPDependency {
361
362 [Override ("Antecedent"),
363 Description ("The SwitchPort.") ]
364 CIM_SwitchPort REF Antecedent;
365
366 [Override ("Dependent"),
367 Description ("The SpanningTreeService.") ]
368 CIM_SpanningTreeService REF Dependent;
369
370 [Description (
371 "The priority assigned to the port. Contained in "
372 "the first octet of the two-octet port ID; the other "
373 "octet is the port number."),
374 MappingStrings {
375 "MIB.IETF|BRIDGE-MIB.dot1dStpPortPriority"} ]
376 uint8 Priority;
377
378 [Description (
379 karl 1.1 "The current state of the port as determined by the "
380 "spanning tree protocol."),
381 ValueMap {"1", "2", "3", "4", "5", "6"},
382 Values {"Disabled", "Blocking", "Listening", "Learning",
383 "Forwarding", "Broken"},
384 MappingStrings {"MIB.IETF|BRIDGE-MIB.dot1dStpPortState"} ]
385 uint16 State;
386
387 [Deprecated {"CIM_EnabledLogicalElement.EnabledStatus"},
388 Description (
389 "The enabled/disabled status of the port. This property is "
390 "deprecated since the status is available by inheritance from "
391 "EnabledLogicalElement."),
392 ValueMap {"1", "2"},
393 Values {"Enabled", "Disabled"},
394 MappingStrings {
395 "MIB.IETF|BRIDGE-MIB.dot1dStpPortEnable"} ]
396 uint16 Enable;
397
398 [Description (
399 "The contribution of this port to the path cost of "
400 karl 1.1 "paths towards the spanning tree root which include "
401 "this port."),
402 MappingStrings {
403 "MIB.IETF|BRIDGE-MIB.dot1dStpPortPathCost"} ]
404 uint16 PathCost;
405
406 [Description (
407 "The bridge identifier of the root bridge for the segment "
408 "to which the port is attached, as transmitted by the "
409 "designated bridge for the segment."),
410 MappingStrings {
411 "MIB.IETF|BRIDGE-MIB.dot1dStpPortDesignatedRoot"} ]
412 string DesignatedRoot;
413
414 [Description (
415 "The cost of the path to the root offered by the "
416 "designated bridge for the segment."),
417 MappingStrings {
418 "MIB.IETF|BRIDGE-MIB.dot1dStpPortDesignatedCost"} ]
419 uint16 DesignatedCost;
420
421 karl 1.1 [Description (
422 "The bridge identifier of the designated bridge for the "
423 "segment to which the port is attached."),
424 MappingStrings {
425 "MIB.IETF|BRIDGE-MIB.dot1dStpPortDesignatedBridge"} ]
426 string DesignatedBridge;
427
428 [Description (
429 "The port identifier of the port on the designated bridge "
430 "serving the segment to which the port is attached."),
431 MappingStrings {
432 "MIB.IETF|BRIDGE-MIB.dot1dStpPortDesignatedPort"} ]
433 uint16 DesignatedPort;
434 };
435
436
437 // ===================================================================
438 // DynamicForwardingEntry
439 // ===================================================================
440 [Version ("2.7.0"), Description (
441 "A DynamicForwardingEntry represents an entry in the "
442 karl 1.1 "forwarding (filtering) database associated with the "
443 "TransparentBridgingService. The entry is Weak to the Service "
444 "as specified by TransparentBridgingDynamicForwarding.") ]
445 class CIM_DynamicForwardingEntry : CIM_LogicalElement {
446
447 [Propagated("CIM_System.CreationClassName"),
448 Key, MaxLen (256),
449 Description ("The scoping System's CreationClassName.") ]
450 string SystemCreationClassName;
451
452 [Propagated("CIM_System.Name"),
453 Key, MaxLen (256),
454 Description ("The scoping System's Name.") ]
455 string SystemName;
456
457 [Propagated("CIM_Service.CreationClassName"),
458 Key, MaxLen (256),
459 Description ("The scoping Service's CreationClassName.") ]
460 string ServiceCreationClassName;
461
462 [Propagated("CIM_Service.Name"),
463 karl 1.1 Key, MaxLen (256),
464 Description ("The scoping Service's Name.") ]
465 string ServiceName;
466
467 [Key, MaxLen (256),
468 Description (
469 "CreationClassName indicates the name of the class or the "
470 "subclass used in the creation of an instance. When used "
471 "with the other key properties of this class, this property "
472 "allows all instances of this class and its subclasses to "
473 "be uniquely identified.") ]
474 string CreationClassName;
475
476 [Key, MaxLen (12), Description (
477 "Unicast MAC address for which the TransparentBridging "
478 "Service has forwarding and/or filtering information. "
479 "Note that the MAC address is formatted as twelve "
480 "hexadecimal digits (e.g., \"010203040506\"), with each "
481 "pair representing one of the six octets of the MAC address "
482 "in \"canonical\" bit order according to RFC 2469."),
483 MappingStrings {
484 karl 1.1 "MIB.IETF|BRIDGE-MIB.dot1dTpFdbAddress"} ]
485 string MACAddress;
486
487 [Description (
488 "The status of the entry."),
489 ValueMap {"1", "2", "3", "4", "5"},
490 Values {"Other", "Invalid", "Learned", "Self", "Mgmt"},
491 MappingStrings {"MIB.IETF|BRIDGE-MIB.dot1dTpFdbStatus"} ]
492 uint16 DynamicStatus;
493 };
494
495
496 // ==================================================================
497 // TransparentBridgingDynamicForwarding
498 // ==================================================================
499 [Association, Version ("2.6.0"), Description (
500 "This association links an instance of the Transparent"
501 "BridgingService to the entries of its forwarding database. "
502 "The forwarding database is weak to the Service.") ]
503 class CIM_TransparentBridgingDynamicForwarding : CIM_Dependency {
504
505 karl 1.1 [Override ("Antecedent"), Min (1), Max (1),
506 Description ("The transparent bridging service.") ]
507 CIM_TransparentBridgingService REF Antecedent;
508
509 [Override ("Dependent"), Weak, Description (
510 "Dynamic Forwarding Entry of forwarding database.") ]
511 CIM_DynamicForwardingEntry REF Dependent;
512 };
513
514
515 // ==================================================================
516 // SwitchPortDynamicForwarding
517 // ==================================================================
518 [Association, Version ("2.7.0"), Description (
519 "This association links a DynamicForwardingEntry "
520 "and the SwitchPort to which the entry applies.") ]
521 class CIM_SwitchPortDynamicForwarding : CIM_Dependency {
522
523 [Override ("Antecedent"), Min (1),
524 Description ("The SwitchPort.") ]
525 CIM_SwitchPort REF Antecedent;
526 karl 1.1
527 [Override ("Dependent"), Description (
528 "DynamicForwardingEntry of the forwarding database.") ]
529 CIM_DynamicForwardingEntry REF Dependent;
530 };
531
532
533 // ===================================================================
534 // StaticForwardingEntry
535 // ===================================================================
536 [Version ("2.7.0"), Description (
537 "A StaticForwardingEntry represents an entry in the "
538 "static (destination-address filtering) database associated "
539 "with the TransparentBridgingService. The entry is Weak to "
540 "the Service as specified by TransparentBridgingStatic"
541 "Forwarding.") ]
542 class CIM_StaticForwardingEntry : CIM_LogicalElement {
543
544 [Propagated("CIM_System.CreationClassName"),
545 Key, MaxLen (256),
546 Description ("The scoping System's CreationClassName.") ]
547 karl 1.1 string SystemCreationClassName;
548
549 [Propagated("CIM_System.Name"),
550 Key, MaxLen (256),
551 Description ("The scoping System's Name.") ]
552 string SystemName;
553
554 [Propagated("CIM_Service.CreationClassName"),
555 Key, MaxLen (256),
556 Description ("The scoping Service's CreationClassName.") ]
557 string ServiceCreationClassName;
558
559 [Propagated("CIM_Service.Name"),
560 Key, MaxLen (256),
561 Description ("The scoping Service's Name.") ]
562 string ServiceName;
563
564 [Key, MaxLen (256),
565 Description (
566 "CreationClassName indicates the name of the class or the "
567 "subclass used in the creation of an instance. When used "
568 karl 1.1 "with the other key properties of this class, this property "
569 "allows all instances of this class and its subclasses to "
570 "be uniquely identified.") ]
571 string CreationClassName;
572
573 [Key, MaxLen (12), Description (
574 "Destination MAC address (unicast, multicast or broadcast) "
575 "to which the filtering information applies. "
576 "Note that the MAC address is formatted as twelve "
577 "hexadecimal digits (e.g., \"010203040506\"), with each "
578 "pair representing one of the six octets of the MAC address "
579 "in \"canonical\" bit order according to RFC 2469."),
580 MappingStrings {"MIB.IETF|BRIDGE-MIB.dot1dStaticAddress"} ]
581 string MACAddress;
582
583 [Description (
584 "The status of the entry."),
585 ValueMap {"1", "2", "3", "4", "5"},
586 Values {"Other", "Invalid", "Permanent", "DeleteOnReset",
587 "DeleteOnTimeout"},
588 MappingStrings {"MIB.IETF|BRIDGE-MIB.dot1dStaticStatus"} ]
589 karl 1.1 uint16 StaticStatus;
590
591 [Description (
592 "The ports to which frames with the destination MAC "
593 "address arriving on the port represented by the "
594 "SwitchPortStaticForwarding association are allowed "
595 "to be forwarded.") ]
596 uint16 AllowedToGo[];
597 };
598
599
600 // ==================================================================
601 // TransparentBridgingStaticForwarding
602 // ==================================================================
603 [Association, Version ("2.6.0"), Description (
604 "This association links an instance of the Transparent"
605 "BridgingService to the entries of its static "
606 "(destination-address filtering) database.") ]
607 class CIM_TransparentBridgingStaticForwarding : CIM_Dependency {
608
609 [Override ("Antecedent"), Min (1), Max (1),
610 karl 1.1 Description ("The TransparentBridgingService.") ]
611 CIM_TransparentBridgingService REF Antecedent;
612
613 [Override ("Dependent"), Weak, Description (
614 "StaticForwardingEntry of the forwarding database.") ]
615 CIM_StaticForwardingEntry REF Dependent;
616 };
617
618
619 // ==================================================================
620 // SwitchPortStaticForwarding
621 // ==================================================================
622 [Association, Version ("2.6.0"), Description (
623 "This association links a static database entry "
624 "and the SwitchPort to which the entry applies.") ]
625 class CIM_SwitchPortStaticForwarding : CIM_Dependency {
626
627 [Override ("Antecedent"), Min (1),
628 Description ("The SwitchPort.") ]
629 CIM_SwitchPort REF Antecedent;
630
631 karl 1.1 [Override ("Dependent"), Description (
632 "StaticForwardingEntry of static database.") ]
633 CIM_StaticForwardingEntry REF Dependent;
634 };
635
636
637 // ===================================================================
638 // SourceRoutingService
639 // ===================================================================
640 [Version ("2.7.0"), Description (
641 "SourceRoutingService represents the capability of a switch "
642 "to participate in the source routing of frames received "
643 "at its ports. It is a system-level Service that provides "
644 "and supports local switching only. The SourceRouting"
645 "Service is aggregated into a higher level SwitchService "
646 "through the SwitchServiceSourceRouting association.") ]
647 class CIM_SourceRoutingService : CIM_ForwardingService {
648
649 [Description (
650 "Indicates whether the bridge operates using older "
651 "3 bit length negotiation fields or the newer 6 bit "
652 karl 1.1 "length field in its RIF."),
653 ValueMap {"1", "2"},
654 Values {"Mode3", "Mode6"},
655 MappingStrings {
656 "MIB.IETF|SOURCE-ROUTING-MIB.dot1dSrBridgeLfMode"} ]
657 uint16 BridgeLfMode;
658 };
659
660
661 // ==================================================================
662 // SwitchServiceSourceRouting
663 // ==================================================================
664 [Association, Aggregation, Version ("2.6.0"),
665 Description (
666 "An association linking SwitchService to a component "
667 "SourceRoutingService. The cardinality of the "
668 "SourceRoutingService is 0..1 for a VLAN-unaware "
669 "switch.") ]
670 class CIM_SwitchServiceSourceRouting : CIM_ServiceComponent {
671
672 [Override ("GroupComponent"), Aggregate, Min (1),
673 karl 1.1 Description ("The parent SwitchService.") ]
674 CIM_SwitchService REF GroupComponent;
675
676 [Override ("PartComponent"),
677 Description ("The component SourceRoutingService.") ]
678 CIM_SourceRoutingService REF PartComponent;
679 };
680
681
682 // ==================================================================
683 // SwitchPortPair
684 // ==================================================================
685 [Association, Version ("2.7.0"), Description (
686 "This association represents information regarding port "
687 "pairings that is used by the SourceRoutingService of a "
688 "switch.") ]
689 class CIM_SwitchPortPair : CIM_SAPSAPDependency {
690
691 [Override ("Antecedent"), Description (
692 "The lower numbered port.") ]
693 CIM_SwitchPort REF Antecedent;
694 karl 1.1
695 [Override ("Dependent"), Description (
696 "The higher numbered port.") ]
697 CIM_SwitchPort REF Dependent;
698
699 [Description (
700 "A bridge number that uniquely identifies the path "
701 "provided by this source routing bridge between the "
702 "segments connected to high and low ports. The purpose "
703 "of bridge number is to disambiguate between multiple paths "
704 "connecting the same two LANs."),
705 MappingStrings {
706 "MIB.IETF|SOURCE-ROUTING-MIB.dot1dPortPairBridgeNum"} ]
707 uint16 BridgeNum;
708
709 [Description (
710 "The state of the pairing. Writing 'invalid(3)' to this "
711 "property removes the association instance."),
712 ValueMap {"1", "2", "3"},
713 Values {"Enabled", "Disabled", "Invalid"},
714 MappingStrings {
715 karl 1.1 "MIB.IETF|SOURCE-ROUTING-MIB.dot1dPortPairBridgeState"} ]
716 uint16 BridgeState;
717 };
718
719
720 // ===================================================================
721 // SwitchPortSourceRouting
722 // ===================================================================
723 [Association, Version ("2.7.0"), Description (
724 "A switch capable of source routing maintains "
725 "source-routing specific information about each port. "
726 "This association represents that information.") ]
727 class CIM_SwitchPortSourceRouting : CIM_ServiceSAPDependency {
728
729 [Override ("Antecedent"), Description ("The SwitchPort.") ]
730 CIM_SwitchPort REF Antecedent;
731
732 [Override ("Dependent"), Max (1),
733 Description ("The SourceRoutingService.") ]
734 CIM_SourceRoutingService REF Dependent;
735
736 karl 1.1 [Description (
737 "The maximum number of routing descriptors allowed "
738 "in an All Paths or Spanning Tree Explorer frames."),
739 MappingStrings {
740 "MIB.IETF|SOURCE-ROUTING-MIB.dot1dSrPortHopCount"} ]
741 uint16 HopCount;
742
743 [Description (
744 "The segment number that uniquely identifies the "
745 "segment to which this port is connected. Current "
746 "source routing protocols limit this value to the "
747 "range: 0 through 4095. (The value 0 is used by "
748 "some management applications for special test "
749 "cases.) A value of 65535 signifies that no segment "
750 "number is assigned to this port."),
751 MappingStrings {
752 "MIB.IETF|SOURCE-ROUTING-MIB.dot1dSrPortLocalSegment"} ]
753 uint16 LocalSegment;
754
755 [Description (
756 "A bridge number uniquely identifies a bridge when "
757 karl 1.1 "more than one bridge is used to span the same two "
758 "segments. Current source routing protocols limit "
759 "this value to the range: 0 through 15. A value of "
760 "65535 signifies that no bridge number is assigned "
761 "to this bridge."),
762 MappingStrings {
763 "MIB.IETF|SOURCE-ROUTING-MIB.dot1dSrPortBridgeNum"} ]
764 uint16 BridgeNum;
765
766 [Description (
767 "The segment number that corresponds to the target "
768 "segment to which this port is considered connected. "
769 "Current source routing protocols limit this "
770 "value to the range: 0 through 4095. "
771 "(The value 0 is used by some management "
772 "applications for special test cases.) A value of "
773 "65535 signifies that no target segment is assigned "
774 "to this port."),
775 MappingStrings {
776 "MIB.IETF|SOURCE-ROUTING-MIB.dot1dSrPortTargetSegment"} ]
777 uint16 TargetSegment;
778 karl 1.1
779 [Description (
780 "Determines how the port behaves when presented "
781 "with a Spanning Tree Explorer frame. The value "
782 "'disabled(2)' indicates that the port will not "
783 "accept or send Spanning Tree Explorer packets; any "
784 "STE packets received will be silently discarded. "
785 "The value 'forced(3)' indicates the port will "
786 "always accept and propagate Spanning Tree Explorer "
787 "frames. (This allows a manually configured "
788 "Spanning Tree for this class of packet to be "
789 "configured.) Note that unlike transparent "
790 "bridging, it is not catastrophic to the network "
791 "if there are loops. The value 'auto-span(1)' can "
792 "only be returned by a bridge that both implements "
793 "the Spanning Tree Protocol and has use of the "
794 "protocol enabled on this port. \n"
795 "\n"
796 "The behavior of the port for Spanning Tree Explorer frames "
797 "is determined by the value of the State property of "
798 "the SwitchPortSpanningTree association for the port. "
799 karl 1.1 "If the port is in the 'forwarding' state, the frame "
800 "will be accepted or propagated. Otherwise, it "
801 "will be silently discarded."),
802 ValueMap {"1", "2", "3"},
803 Values {"Auto-Span", "Disabled", "Forced"},
804 ModelCorrespondence {
805 "CIM_SwitchPortSpanningTree.State"},
806 MappingStrings {
807 "MIB.IETF|SOURCE-ROUTING-MIB.dot1dSrPortSTESpanMod"} ]
808 uint16 STESpanMode;
809 };
810
811
812 // ==================================================================
813 // RelatedSpanningTree
814 // ==================================================================
815 [Association, Version ("2.7.0"), Description (
816 "This association identifies the spanning tree in which "
817 "a forwarding database (TransparentBridgingService) is "
818 "nested.") ]
819 class CIM_RelatedSpanningTree : CIM_ServiceServiceDependency {
820 karl 1.1
821 [Override ("Antecedent"), Description (
822 "The TransparentBridgingService that supports a "
823 "SpanningTreeService.") ]
824 CIM_TransparentBridgingService REF Antecedent;
825
826 [Override ("Dependent"), Max (1),
827 Description (
828 "The SpanningTree in which a TransparentBridgingService "
829 "is nested.") ]
830 CIM_SpanningTreeService REF Dependent;
831 };
832
833
834 // ===================================================================
835 // TransparentBridgingStatistics
836 // ===================================================================
837 [Version ("2.7.0"), Description (
838 "Statistical information regarding the TransparentBridging"
839 "Service.") ]
840 class CIM_TransparentBridgingStatistics :
841 karl 1.1 CIM_ServiceStatisticalInformation {
842
843 [Counter, Description (
844 "The total number of Forwarding Database entries, "
845 "which have been or would have been learnt, but "
846 "have been discarded due to a lack of space to "
847 "store them in the Forwarding Database."),
848 MappingStrings {
849 "MIB.IETF|BRIDGE-MIB.dot1dTpLearnedEntryDiscards"} ]
850 uint32 LearnedEntryDiscards;
851 };
852
853
854 // ===================================================================
855 // SpanningTreeStatistics
856 // ===================================================================
857 [Version ("2.7.0"), Description (
858 "Statistical information regarding the SpanningTreeService.") ]
859 class CIM_SpanningTreeStatistics : CIM_ServiceStatisticalInformation {
860
861 [Description (
862 karl 1.1 "The time since the last topology change was "
863 "detected by the switch."),
864 Units ("Hundredths of Seconds"),
865 MappingStrings {
866 "MIB.IETF|BRIDGE-MIB.dot1dStpTimeSinceTopologyChange"} ]
867 uint32 TimeSinceTopologyChange;
868
869 [Counter, Description (
870 "The total number of topology changes detected by "
871 "the switch since the counter was last reset or "
872 "initialized."),
873 MappingStrings {"MIB.IETF|BRIDGE-MIB.dot1dStpTopChanges"} ]
874 uint32 TopChanges;
875 };
876
877
878 // ===================================================================
879 // SwitchPortStatistics
880 // ===================================================================
881 [Version ("2.7.0"), Description (
882 "Statistical information regarding a generic SwitchPort, "
883 karl 1.1 "independent of the specific kind of switching done on "
884 "frames arriving at the port.") ]
885 class CIM_SwitchPortStatistics : CIM_SAPStatisticalInformation {
886
887 [Counter, Description (
888 "The number of frames discarded by this port due "
889 "to excessive transit delay through the bridge."),
890 MappingStrings {
891 "MIB.IETF|BRIDGE-MIB.dot1dBasePortDelayExceededDiscards"} ]
892 uint32 DelayExceededDiscards;
893
894 [Counter, Description (
895 "The number of frames discarded by this port due "
896 "to an excessive size."),
897 MappingStrings {
898 "MIB.IETF|BRIDGE-MIB.dot1dBasePortMtuExceededDiscards"} ]
899 uint32 MtuExceededDiscards;
900 };
901
902
903 // ===================================================================
904 karl 1.1 // SwitchPortTransparentBridgingStatistics
905 // ===================================================================
906 [Version ("2.7.0"), Description (
907 "Statistical information regarding a SwitchPort, "
908 "at which transparent bridging is performed.") ]
909 class CIM_SwitchPortTransparentBridgingStatistics :
910 CIM_SAPStatisticalInformation {
911
912 [Counter, Description (
913 "The number of frames that have been received by "
914 "the port from its segment. Note that a frame "
915 "is only counted if and only if it is for a "
916 "protocol being processed by the local bridging "
917 "function, including bridge management frames."),
918 MappingStrings {
919 "MIB.IETF|BRIDGE-MIB.dot1dTpPortInFrames"} ]
920 uint32 InFrames;
921
922 [Counter, Description (
923 "The number of frames that have been transmitted by "
924 "the port to its segment. Note that a frame "
925 karl 1.1 "is only counted if and only if it is for a "
926 "protocol being processed by the local bridging "
927 "function, including bridge management frames."),
928 MappingStrings {
929 "MIB.IETF|BRIDGE-MIB.dot1dTpPortOutFrames"} ]
930 uint32 OutFrames;
931
932 [Counter, Description (
933 "Count of valid frames received which were discarded "
934 "(i.e., filtered) by the forwarding process."),
935 MappingStrings {
936 "MIB.IETF|BRIDGE-MIB.dot1dTpPortInDiscards"} ]
937 uint32 InDiscards;
938 };
939
940
941 // ===================================================================
942 // SwitchPortSpanningTreeStatistics
943 // ===================================================================
944 [Version ("2.7.0"), Description (
945 "Statistical information regarding a SwitchPort "
946 karl 1.1 "participating in the spanning tree.") ]
947 class CIM_SwitchPortSpanningTreeStatistics :
948 CIM_SAPStatisticalInformation {
949
950 [Counter, Description (
951 "The number of times the port has transitioned "
952 "from the Learning state to the Forwarding state."),
953 MappingStrings {
954 "MIB.IETF|BRIDGE-MIB.dot1dStpPortForwardTransitions"} ]
955 uint32 ForwardTransitions;
956 };
957
958
959 // ===================================================================
960 // SwitchPortSourceRoutingStatistics
961 // ===================================================================
962 [Version ("2.7.0"), Description (
963 "Statistical information regarding a SwitchPort "
964 "supporting source routing.") ]
965 class CIM_SwitchPortSourceRoutingStatistics :
966 CIM_SAPStatisticalInformation {
967 karl 1.1
968 [Counter, Description (
969 "The number of Specifically Routed frames, also "
970 "referred to as Source Routed Frames, that have "
971 "been received from the segment attached to the port."),
972 MappingStrings {
973 "MIB.IETF|SOURCE-ROUTING-MIB.dot1dSrPortSpecInFrames"} ]
974 uint32 SpecInFrames;
975
976 [Counter, Description (
977 "The number of Specifically Routed frames, also "
978 "referred to as Source Routed Frames, that the "
979 "port has transmitted on its segment."),
980 MappingStrings {
981 "MIB.IETF|SOURCE-ROUTING-MIB.dot1dSrPortSpecOutFrames"} ]
982 uint32 SpecOutFrames;
983
984 [Counter, Description (
985 "The number of All Paths Explorer frames, also "
986 "referred to as All Routes Explorer frames, that "
987 "have been received by the port from its segment."),
988 karl 1.1 MappingStrings {
989 "MIB.IETF|SOURCE-ROUTING-MIB.dot1dSrPortApeInFrames"} ]
990 uint32 ApeInFrames;
991
992 [Counter, Description (
993 "The number of all Paths Explorer Frames, also "
994 "referred to as All Routes Explorer frames, that "
995 "have been transmitted by the port on its segment."),
996 MappingStrings {
997 "MIB.IETF|SOURCE-ROUTING-MIB.dot1dSrPortApeOutFrames"} ]
998 uint32 ApeOutFrames;
999
1000 [Counter, Description (
1001 "The number of spanning tree explorer frames that "
1002 "have been received by the port from its segment."),
1003 MappingStrings {
1004 "MIB.IETF|SOURCE-ROUTING-MIB.dot1dSrPortSteInFrames"} ]
1005 uint32 SteInFrames;
1006
1007 [Counter, Description (
1008 "The number of spanning tree explorer frames that "
1009 karl 1.1 "have been transmitted by the port on its segment."),
1010 MappingStrings {
1011 "MIB.IETF|SOURCE-ROUTING-MIB.dot1dSrPortSteOutFrames"} ]
1012 uint32 SteOutFrames;
1013
1014 [Counter, Description (
1015 "The number of explorer frames that have been "
1016 "discarded by the port because the routing "
1017 "descriptor field contained an invalid adjacent "
1018 "segment value."),
1019 MappingStrings {
1020 "MIB.IETF|SOURCE-ROUTING-MIB.dot1dSrPort"
1021 "SegmentMismatchDiscards"} ]
1022 uint32 SegmentMismatchDiscards;
1023
1024 [Counter, Description (
1025 "The number of frames that have been discarded by "
1026 "the port because the routing descriptor field "
1027 "contained a duplicate segment identifier."),
1028 MappingStrings {
1029 "MIB.IETF|SOURCE-ROUTING-MIB.dot1dSrPort"
1030 karl 1.1 "DuplicateSegmentDiscards"} ]
1031 uint32 DuplicateSegmentDiscards;
1032
1033 [Counter, Description (
1034 "The number of explorer frames that have been "
1035 "discarded by the port because the Routing "
1036 "Information Field has exceeded the maximum route "
1037 "descriptor length."),
1038 MappingStrings {
1039 "MIB.IETF|SOURCE-ROUTING-MIB.dot1dSrPort"
1040 "HopCountExceedsDiscards"} ]
1041 uint32 HopCountExceedsDiscards;
1042
1043 [Counter, Description (
1044 "The number of duplicate LAN IDs or Tree errors. "
1045 "This helps in detection of problems in networks "
1046 "containing older Source Routing Bridges."),
1047 MappingStrings {
1048 "MIB.IETF|SOURCE-ROUTING-MIB.dot1dSrPort"
1049 "DupLanIdOrTreeErrors"} ]
1050 uint32 DupLanIdOrTreeErrors;
1051 karl 1.1
1052 [Counter, Description (
1053 "The number of ARE and STE frames that were "
1054 "discarded because the last LAN ID in the routing "
1055 "information field did not equal the LAN-in ID. "
1056 "This error can occur in implementations which do "
1057 "only a LAN-in ID and Bridge Number check instead "
1058 "of a LAN-in ID, Bridge Number, and LAN-out ID "
1059 "check before they forward broadcast frames."),
1060 MappingStrings {
1061 "MIB.IETF|SOURCE-ROUTING-MIB.dot1dSrPortLanIdMismatches"} ]
1062 uint32 LanIdMismatches;
1063 };
1064
1065
1066 // ===================================================================
1067 // end of file
1068 // ===================================================================
|