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