Class ID
355 (hex), 853 (decimal)
Instance IDs
The RSTP Diagnostics object presents these instance values:
0: class
1... N: instance
Attributes
RSTP Diagnostics object attributes are associated with each instance.
Instance ID = 0 (class attributes):
Attribute ID |
Description |
Type |
GET |
SET |
---|---|---|---|---|
01 |
Revision: This attribute specifies the current revision of the RSTP Diagnostic object. The revision is increased by 1 at each new update of the object. |
UINT |
X |
— |
02 |
Max Instance: This attribute specifies the maximum number of instances that may be created for this object on a per device basis (for example, an RSTP bridge). There is 1 instance for each RSTP port on a device. |
UINT |
X |
— |
X = supported — = not supported |
Instance ID = 1 to N (instance attributes):
Attribute ID |
Description |
Type |
GET |
CLEAR |
Value |
---|---|---|---|---|---|
01 |
Switch status |
STRUCT of |
X |
— |
— |
Protocol specification |
UINT |
X |
— |
Refer to RFC-4188 for attribute definitions and value range. In addition, the following value is defined: [4]: the protocol is IEEE 802.1D-2004 and IEEE 802.1W. |
|
Bridge priority |
UDINT |
X |
— |
Refer to RFC-4188 for attribute definitions and value range. |
|
Time since topology change |
UDINT |
X |
— |
||
Topology change count |
UDINT |
X |
— |
Refer to RFC-4188 for attribute definitions and value range. |
|
Designated root |
String |
X |
— |
Refer to RFC-4188 for attribute definitions and value range. |
|
Root cost |
UDINT |
X |
— |
||
Root port |
UDINT |
X |
— |
||
Maximum age |
UINT |
X |
— |
||
Hello time |
UINT |
X |
— |
||
Hold time |
UDINT |
X |
— |
||
Forward delay |
UINT |
X |
— |
||
Bridge maximum age |
UINT |
X |
— |
||
Bridge hello time |
UINT |
X |
— |
||
Bridge forward delay |
UINT |
X |
— |
||
02 |
Port status |
STRUCT |
X |
X |
— |
Port |
UDINT |
X |
X |
Refer to RFC-4188 for attribute definitions and value range. |
|
Priority |
UDINT |
X |
X |
||
State |
UINT |
X |
X |
||
Enable |
UINT |
X |
X |
||
Path cost |
UDINT |
X |
X |
||
Designated root |
String |
X |
X |
||
Designated cost |
UDINT |
X |
X |
||
Designated bridge |
String |
X |
X |
||
Designated port |
String |
X |
X |
||
Forward transitions count |
UDINT |
X |
X |
Refer to RFC-4188 for attribute definitions and value range. Services:
|
|
03 |
Port mode |
STRUCT of |
X |
— |
— |
Port number |
UINT |
X |
— |
This attribute indicates the port number for a data query. The value range is configuration-dependent. For a 4-port Ethernet device, as an instance, the valid range is 1...4. |
|
Admin edge port |
UINT |
X |
— |
This attribute indicates if this is a user-configured edge port:
Other values are not valid. |
|
Operartor edge port |
UINT |
X |
— |
This attribute indicates if this port is an edge port:
Other values are not valid. |
|
Auto edge port |
UINT |
X |
— |
This attribute indicates if this port is a dynamically determined edge port:
Other values are not valid. |
|
X = supported — = not supported |
Services
The RSTP Diagnostics object performs these services:
Service ID |
Description |
Class |
Instance |
Notes |
|
---|---|---|---|---|---|
hex |
dec |
||||
01 |
01 |
Get_Attributes_All |
X |
X |
This service returns:
|
02 |
02 |
Get_Attribute_Single |
X |
X |
This service returns:
Specify the attribute ID in the request for this service. |
32 |
50 |
Get_and_Clear |
— |
X |
This service returns the contents of a single attribute of the instance of the object as specified. Then the relevant counter-like parameters within the specified attribute are cleared. (Specify the attribute ID in the request for this service.) |
X = supported — = not supported |