# Class CIM_SpanningTreeService
extends CIM_ForwardingService

This service class represents the capability of a switch to participate in the distributed construction of a spanning tree.

### Table of Contents
Hierarchy
Direct Known Subclasses
Class Qualifiers
Class Properties
Class Methods

## Class Hierarchy

CIM_ManagedElement
|
+--CIM_ManagedSystemElement
|
+--CIM_LogicalElement
|
+--CIM_EnabledLogicalElement
|
+--CIM_Service
|
+--CIM_NetworkService
|
+--CIM_ForwardingService
|
+--CIM_SpanningTreeService

## Direct Known Subclasses

## Class Qualifiers

Name | Data Type | Value
--- | --- | ---
Description | string | This service class represents the capability of a switch to participate in the distributed construction of a spanning tree.
UMLPackagePath | string | CIM::Network::SwitchingBridging
Version | string | 2.7.0

## Class Properties

### Local Class Properties

Name | Data Type | Default Value | Qualifiers
--- | --- | --- | ---
Name | Data Type | Value
BridgeForwardDelay | uint32 |
Description | string | The ForwardDelay parameter to be used by all switches in the network if this switch becomes the root.
MappingStrings | string | MIB.IETF|BRIDGE-MIB.dot1dStpBridgeForwardDelay
Units | string | Hundredths of Seconds
BridgeHelloTime | uint32 |
Description | string | The HelloTime parameter to be used by all switches in the network if this switch becomes the root.
MappingStrings | string | MIB.IETF|BRIDGE-MIB.dot1dStpBridgeHelloTime
Units | string | Hundredths of Seconds
BridgeMaxAge | uint32 |
Description | string | The MaxAge parameter to be used by all switches in the network if this switch becomes the root.
MappingStrings | string | MIB.IETF|BRIDGE-MIB.dot1dStpBridgeMaxAge
Units | string | Hundredths of Seconds
DesignatedRoot | string |
Description | string | The complete Bridge ID (Priority + MAC Address) of the root bridge. The format of the priority bits are the first two octets of the 8-octet long Bridge ID. Note that the MAC address is formatted as twelve hexadecimal digits (e.g., "010203040506"), with each pair representing one of the six octets of the MAC address in "canonical" bit order according to RFC 2469.
MappingStrings | string | MIB.IETF|BRIDGE-MIB.dot1dStpDesignatedRoot
MaxLen | uint32 | 16
ForwardDelay | uint32 |
Description | string | The time spent by a port in the listening state before transitioning to the learning state, and in the learning state before transitioning to the forwarding state, as learned from the network. This value is also used during the period of a topology change as the maximum age of Spanning Tree information before discard.
MappingStrings | string | MIB.IETF|BRIDGE-MIB.dot1dStpForwardDelay
Units | string | Hundredths of Seconds
HelloTime | uint32 |
Description | string | The current value of the interval between transmission of bridge PDUs by the switch, on any port for which it is the spanning tree root or trying to become so, as learned from the network.
MappingStrings | string | MIB.IETF|BRIDGE-MIB.dot1dStpHelloTime
Units | string | Hundredths of Seconds
HoldTime | uint32 |
Description | string | The minimum interval between transmission of bridge PDUs through a given port, as learned from the network.
MappingStrings | string | MIB.IETF|BRIDGE-MIB.dot1dStpHoldTime
Units | string | Hundredths of Seconds
MaxAge | uint32 |
Description | string | The current value for the maximum age of Spanning Tree information before discard, as learned from the network.
MappingStrings | string | MIB.IETF|BRIDGE-MIB.dot1dStpMaxAge
Units | string | Hundredths of Seconds
Priority | uint16 |

Description

string

The format of the priority bits are the first two octets of the 8-octet long Bridge ID. The other (last) 6 octets of the Bridge ID are given by the value of the Bridge Address. A priority that can be assigned to the switch for use in constructing the spanning tree. The unique identifier for a switch is constructed by concatenating the MAC address associated with the switch for spanning tree operations to the two-byte priority. Choice of the priority value influences election of the root bridge.

MappingStrings | string | MIB.IETF|BRIDGE-MIB.dot1dStpPriority
ProtocolSpec | uint16 |
Description | string | The version of the spanning tree protocol used by the switch.
MappingStrings | string | MIB.IETF|BRIDGE-MIB.dot1dStpProtocolSpecification
ValueMap | string | 1, 2, 3
Values | string | Unknown, DEC LB100, IEEE 802d
RootCost | uint16 |
Description | string | The cost of the path from the switch to the root.
MappingStrings | string | MIB.IETF|BRIDGE-MIB.dot1dStpRootCost
RootPort | uint16 |
Description | string | The port number of the port having the lowest cost path to the root bridge.
MappingStrings | string | MIB.IETF|BRIDGE-MIB.dot1dStpRootPort
SpanningTreeBridgeAddress | string |

Description

string

MAC address used by the spanning tree service when it must be uniquely identified. When concatenated with a SpanningTreeService Priority, a unique bridge identifier results. This property is defined for use of switches supporting multiple spanning tree services. Note that the MAC address is formatted as twelve hexadecimal digits (e.g., "010203040506"), with each pair representing one of the six octets of the MAC address in "canonical" bit order according to RFC 2469.

### Inherited Properties

Name | Data Type | Class Origin
--- | --- | ---
Caption | string | CIM_ManagedElement
CommunicationStatus | uint16 | CIM_ManagedSystemElement
CreationClassName | string | CIM_Service
Description | string | CIM_ManagedElement
DetailedStatus | uint16 | CIM_ManagedSystemElement
ElementName | string | CIM_ManagedElement
EnabledDefault | uint16 | CIM_EnabledLogicalElement
EnabledState | uint16 | CIM_EnabledLogicalElement
HealthState | uint16 | CIM_ManagedSystemElement
InstallDate | datetime | CIM_ManagedSystemElement
InstanceID | string | CIM_ManagedElement
Name | string | CIM_Service
OperatingStatus | uint16 | CIM_ManagedSystemElement
OtherEnabledState | string | CIM_EnabledLogicalElement
OtherProtocolType | string | CIM_ForwardingService
PrimaryOwnerContact | string | CIM_Service
PrimaryOwnerName | string | CIM_Service
PrimaryStatus | uint16 | CIM_ManagedSystemElement
ProtocolType | uint16 | CIM_ForwardingService
RequestedState | uint16 | CIM_EnabledLogicalElement
ServiceURL | string | CIM_NetworkService
Started | boolean | CIM_Service
StartMode | string | CIM_Service
Status | string | CIM_ManagedSystemElement
SystemCreationClassName | string | CIM_Service
SystemName | string | CIM_Service
TimeOfLastStateChange | datetime | CIM_EnabledLogicalElement
TransitioningToState | uint16 | CIM_EnabledLogicalElement
AvailableRequestedStates | uint16[] | CIM_EnabledLogicalElement
Keywords | string[] | CIM_NetworkService
OperationalStatus | uint16[] | CIM_ManagedSystemElement
StartupConditions | string[] | CIM_NetworkService
StartupParameters | string[] | CIM_NetworkService
StatusDescriptions | string[] | CIM_ManagedSystemElement

## Class Methods

### Inherited Class Methods

Name | Return Type | Class Origin
--- | --- | ---
RequestStateChange | uint32 | CIM_EnabledLogicalElement
StartService | uint32 | CIM_Service
StopService | uint32 | CIM_Service