Overview

The RSTP Diagnostics object presents the instances, attributes and services described below.

Class ID

355 (hex), 853 (decimal)

Instance IDs

The RSTP Diagnostics object presents these instance values:

  • 0: class

  • 1: 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

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

Max Age

UINT

X

Hello Time

UINT

X

Hold Time

UDINT

X

Forward Delay

UINT

X

Bridge Max 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:

  • Get_and_Clear: The current value of this parameter is returned with the response message.

  • other services: The current value of this parameter is returned without being cleared.

03

Port Mode

STRUCT

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:

  • 1: true

  • 2: false

Other values are not valid.

Oper Edge Port

UINT

X

This attribute indicates if this port is currently an edge port:

  • 1: true

  • 2: false

Other values are not valid.

Auto Edge Port

UINT

X

This attribute indicates if this port is a dynamically determined edge port:

  • 1: true

  • 2: false

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:

  • all attributes of the class

  • all attributes of the instance of the object

02

02

Get_Attribute_Single

X

X

This service returns:

  • the contents of a single attribute of the class

  • the contents of the instance of the object as specified

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 parameter(s) within the specified attribute are cleared. (Specify the attribute ID in the request for this service.)

X = supported

= not supported