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