AIBRIDGE-MIB DEFINITIONS ::= BEGIN IMPORTS Counter, TimeTicks FROM RFC1155-SMI mib-2 FROM RFC1213-MIB OBJECT-TYPE FROM RFC-1212 TRAP-TYPE FROM RFC-1215 aii FROM AIMIB; -- All representations of MAC addresses in this MIB Module -- use, as a textual convention (i.e. this convention does -- not affect their encoding), the data type: MacAddress ::= OCTET STRING (SIZE (6)) -- a 6 octet address -- in the -- "canonical" -- order -- defined by IEEE 802.1a, i.e., as if it were transmitted -- least significant bit first, even though 802.5 (in -- contrast to other n802.x protocols) requires MAC -- addresses to be transmitted most significant bit first. -- -- 16-bit addresses, if needed, are represented by setting -- their upper 4 octets to all 0's, i.e., AAFF would be -- represented as 00000000AAFF. -- Similarly, all representations of Bridge-Id in this MIB -- Module use, as a textual convention (i.e. this -- convention does not affect their encoding), the data -- type: BridgeId ::= OCTET STRING (SIZE (8)) -- the -- Bridge-Identifier -- as used in the -- Spanning Tree -- Protocol to uniquely identify a bridge. Its first two -- octets (in network byte order) contain a priority -- value and its last 6 octets contain the MAC address -- used to refer to a bridge in a unique fashion -- (typically, the numerically smallest MAC address -- of all ports on the bridge). -- Several objects in this MIB module represent values of -- timers used by the Spanning Tree Protocol. In this -- MIB, these timers have values in units of hundreths of -- a second (i.e. 1/100 secs). -- These timers, when stored in a Spanning Tree Protocol's -- BPDU, are in units of 1/256 seconds. Note, however, -- that 802.1D-1990 specifies a settable granularity of -- no more than 1 second for these timers. To avoid -- ambiguity, a data type is defined here as a textual -- convention and all representation of these timers -- in this MIB module are defined using this data type. An -- algorithm is also defined for converting between the -- different units, to ensure a timer's value is not -- distorted by multiple conversions. -- The data type is: Timeout ::= INTEGER -- a STP timer in units of 1/100 seconds -- To convert a Timeout value into a value in units of -- 1/256 seconds, the following algorithm should be used: -- -- b = floor( (n * 256) / 100) -- -- where: -- floor = quotient [ignore remainder] -- n is the value in 1/100 second units -- b is the value in 1/256 second units -- -- To convert the value from 1/256 second units back to -- 1/100 seconds, the following algorithm should be used: -- -- n = ceiling( (b * 100) / 256) -- -- where: -- ceiling = quotient [if remainder is 0], or -- quotient + 1 [if remainder is non-zero] -- n is the value in 1/100 second units -- b is the value in 1/256 second units -- -- Note: it is important that the arithmetic operations are -- done in the order specified (i.e., multiply first, divide -- second). aiDot1dBridge OBJECT IDENTIFIER ::= { aii 30 } -- groups in the Bridge MIB aiDot1dBase OBJECT IDENTIFIER ::= { aiDot1dBridge 1 } aiDot1dStp OBJECT IDENTIFIER ::= { aiDot1dBridge 2 } aiDot1dSr OBJECT IDENTIFIER ::= { aiDot1dBridge 3 } -- separately documented aiDot1dTp OBJECT IDENTIFIER ::= { aiDot1dBridge 4 } aiDot1dStatic OBJECT IDENTIFIER ::= { aiDot1dBridge 5 } -- the aiDot1dBase group -- Implementation of the aiDot1dBase group is mandatory for all -- bridges. aiDot1dBaseInfoTable OBJECT-TYPE SYNTAX SEQUENCE OF AIDOT1dBaseInfoEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "A table that contains generic information about every instance of STP that is associated with this bridge. Transparent, source-route, and srt ports are included." ::= { aiDot1dBase 1 } aiDot1dBaseInfoEntry OBJECT-TYPE SYNTAX AIDOT1dBaseInfoEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "A list of information for each instance of STP of the bridge." REFERENCE "IEEE 802.1D-1990: Section 6.4.2, 6.6.1" INDEX { aiDot1dBaseInfoSTPIndex } ::= { aiDot1dBaseInfoTable 1 } AIDOT1dBaseInfoEntry ::= SEQUENCE { aiDot1dBaseInfoSTPIndex INTEGER, aiDot1dBaseBridgeAddress MacAddress, aiDot1dBaseNumPorts INTEGER, aiDot1dBaseType INTEGER } aiDot1dBaseInfoSTPIndex OBJECT-TYPE SYNTAX INTEGER (1..65535) ACCESS read-only STATUS mandatory DESCRIPTION "The STP instance number which this entry contains base information." ::= { aiDot1dBaseInfoEntry 1 } aiDot1dBaseBridgeAddress OBJECT-TYPE SYNTAX MacAddress ACCESS read-only STATUS mandatory DESCRIPTION "The MAC address used by this bridge when it must be referred to in a unique fashion. It is recommended that this be the numerically smallest MAC address of all ports that belong to this bridge. However it is only required to be unique. When concatenated with aiDot1dStpPriority a unique BridgeIdentifier is formed which is used in the Spanning Tree Protocol." REFERENCE "IEEE 802.1D-1990: Sections 6.4.1.1.3 and 3.12.5" ::= { aiDot1dBaseInfoEntry 2 } aiDot1dBaseNumPorts OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "The number of ports controlled by this bridging entity." REFERENCE "IEEE 802.1D-1990: Section 6.4.1.1.3" ::= { aiDot1dBaseInfoEntry 3 } aiDot1dBaseType OBJECT-TYPE SYNTAX INTEGER { unknown(1), transparent-only(2), sourceroute-only(3), srt(4) } ACCESS read-only STATUS mandatory DESCRIPTION "Indicates what type of bridging this bridge can perform. If a bridge is actually performing a certain type of bridging this will be indicated by entries in the port table for the given type." ::= { aiDot1dBaseInfoEntry 4 } -- The Generic Bridge Port Table aiDot1dBasePortTable OBJECT-TYPE SYNTAX SEQUENCE OF AIDOT1dBasePortEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "A table that contains generic information about every port that is associated with this bridge. Transparent, source-route, and srt ports are included." ::= { aiDot1dBase 2 } aiDot1dBasePortEntry OBJECT-TYPE SYNTAX AIDOT1dBasePortEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "A list of information for each port of the bridge." REFERENCE "IEEE 802.1D-1990: Section 6.4.2, 6.6.1" INDEX { aiDot1dBasePortStpIndex, aiDot1dBasePort } ::= { aiDot1dBasePortTable 1 } AIDOT1dBasePortEntry ::= SEQUENCE { aiDot1dBasePortStpIndex INTEGER, aiDot1dBasePort INTEGER, aiDot1dBasePortIfIndex INTEGER, aiDot1dBasePortCircuit OBJECT IDENTIFIER, aiDot1dBasePortDelayExceededDiscards Counter, aiDot1dBasePortMtuExceededDiscards Counter } aiDot1dBasePortStpIndex OBJECT-TYPE SYNTAX INTEGER (1..65535) ACCESS read-only STATUS mandatory DESCRIPTION "The STP instance number for which this entry contains bridge management information." ::= { aiDot1dBasePortEntry 1 } aiDot1dBasePort OBJECT-TYPE SYNTAX INTEGER (1..65535) ACCESS read-only STATUS mandatory DESCRIPTION "The port number of the port for which this entry contains bridge management information." ::= { aiDot1dBasePortEntry 2 } aiDot1dBasePortIfIndex OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "The value of the instance of the ifIndex object, defined in MIB-II, for the interface corresponding to this port." ::= { aiDot1dBasePortEntry 3 } aiDot1dBasePortCircuit OBJECT-TYPE SYNTAX OBJECT IDENTIFIER ACCESS read-only STATUS mandatory DESCRIPTION "For a port which (potentially) has the same value of aiDot1dBasePortIfIndex as another port on the same bridge, this object contains the name of an object instance unique to this port. For example, in the case where multiple ports correspond one- to-one with multiple X.25 virtual circuits, this value might identify an (e.g., the first) object instance associated with the X.25 virtual circuit corresponding to this port. For a port which has a unique value of aiDot1dBasePortIfIndex, this object can have the value { 0 0 }." ::= { aiDot1dBasePortEntry 4 } aiDot1dBasePortDelayExceededDiscards OBJECT-TYPE SYNTAX Counter ACCESS read-only STATUS mandatory DESCRIPTION "The number of frames discarded by this port due to excessive transit delay through the bridge. It is incremented by both transparent and source route bridges." REFERENCE "IEEE 802.1D-1990: Section 6.6.1.1.3" ::= { aiDot1dBasePortEntry 5 } aiDot1dBasePortMtuExceededDiscards OBJECT-TYPE SYNTAX Counter ACCESS read-only STATUS mandatory DESCRIPTION "The number of frames discarded by this port due to an excessive size. It is incremented by both transparent and source route bridges." REFERENCE "IEEE 802.1D-1990: Section 6.6.1.1.3" ::= { aiDot1dBasePortEntry 6 } -- the aiDot1dStp group -- Implementation of the aiDot1dStp group is optional. It is -- implemented by those bridges that support the Spanning Tree -- Protocol. aiDot1dStpInfoTable OBJECT-TYPE SYNTAX SEQUENCE OF AIDOT1dStpInfoEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "A table that contains information and configuration items about every instance of STP that is associated with this bridge." ::= { aiDot1dStp 1 } aiDot1dStpInfoEntry OBJECT-TYPE SYNTAX AIDOT1dStpInfoEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "A list of information and configuration items for each instance of STP of the bridge." REFERENCE "IEEE 802.1D-1990: Section 6.4.2, 6.6.1" INDEX { aiDot1dStpStpIndex } ::= { aiDot1dStpInfoTable 1 } AIDOT1dStpInfoEntry ::= SEQUENCE { aiDot1dStpStpIndex INTEGER, aiDot1dStpProtocolSpecification INTEGER, aiDot1dStpPriority INTEGER, aiDot1dStpTimeSinceTopologyChange TimeTicks, aiDot1dStpTopChanges Counter, aiDot1dStpDesignatedRoot BridgeId, aiDot1dStpRootCost INTEGER, aiDot1dStpRootPort INTEGER, aiDot1dStpMaxAge Timeout, aiDot1dStpHelloTime Timeout, aiDot1dStpHoldTime INTEGER, aiDot1dStpForwardDelay Timeout, aiDot1dStpBridgeMaxAge Timeout, aiDot1dStpBridgeHelloTime Timeout, aiDot1dStpBridgeForwardDelay Timeout, aiDot1dStpEnabled INTEGER } aiDot1dStpStpIndex OBJECT-TYPE SYNTAX INTEGER (1..65535) ACCESS read-only STATUS mandatory DESCRIPTION "The STP instance number which this entry contains base information." ::= { aiDot1dStpInfoEntry 1 } aiDot1dStpProtocolSpecification OBJECT-TYPE SYNTAX INTEGER { unknown(1), decLb100(2), ieee8021d(3) } ACCESS read-only STATUS mandatory DESCRIPTION "An indication of what version of the Spanning Tree Protocol is being run. The value 'decLb100(2)' indicates the DEC LANbridge 100 Spanning Tree protocol. IEEE 802.1d implementations will return 'ieee8021d(3)'. If future versions of the IEEE Spanning Tree Protocol are released that are incompatible with the current version a new value will be defined." ::= { aiDot1dStpInfoEntry 2 } aiDot1dStpPriority OBJECT-TYPE SYNTAX INTEGER (0..65535) ACCESS read-write STATUS mandatory DESCRIPTION "The value of the write-able portion of the Bridge ID, i.e., 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 aiDot1dBaseBridgeAddress." REFERENCE "IEEE 802.1D-1990: Section 4.5.3.7" ::= { aiDot1dStpInfoEntry 3 } aiDot1dStpTimeSinceTopologyChange OBJECT-TYPE SYNTAX TimeTicks ACCESS read-only STATUS mandatory DESCRIPTION "The time (in hundredths of a second) since the last time a topology change was detected by the bridge entity." REFERENCE "IEEE 802.1D-1990: Section 6.8.1.1.3" ::= { aiDot1dStpInfoEntry 4 } aiDot1dStpTopChanges OBJECT-TYPE SYNTAX Counter ACCESS read-only STATUS mandatory DESCRIPTION "The total number of topology changes detected by this bridge since the management entity was last reset or initialized." REFERENCE "IEEE 802.1D-1990: Section 6.8.1.1.3" ::= { aiDot1dStpInfoEntry 5 } aiDot1dStpDesignatedRoot OBJECT-TYPE SYNTAX BridgeId ACCESS read-only STATUS mandatory DESCRIPTION "The bridge identifier of the root of the spanning tree as determined by the Spanning Tree Protocol as executed by this node. This value is used as the Root Identifier parameter in all Configuration Bridge PDUs originated by this node." REFERENCE "IEEE 802.1D-1990: Section 4.5.3.1" ::= { aiDot1dStpInfoEntry 6 } aiDot1dStpRootCost OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "The cost of the path to the root as seen from this bridge." REFERENCE "IEEE 802.1D-1990: Section 4.5.3.2" ::= { aiDot1dStpInfoEntry 7 } aiDot1dStpRootPort OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "The port number of the port which offers the lowest cost path from this bridge to the root bridge." REFERENCE "IEEE 802.1D-1990: Section 4.5.3.3" ::= { aiDot1dStpInfoEntry 8 } aiDot1dStpMaxAge OBJECT-TYPE SYNTAX Timeout ACCESS read-only STATUS mandatory DESCRIPTION "The maximum age of Spanning Tree Protocol information learned from the network on any port before it is discarded, in units of hundredths of a second. This is the actual value that this bridge is currently using." REFERENCE "IEEE 802.1D-1990: Section 4.5.3.4" ::= { aiDot1dStpInfoEntry 9 } aiDot1dStpHelloTime OBJECT-TYPE SYNTAX Timeout ACCESS read-only STATUS mandatory DESCRIPTION "The amount of time between the transmission of Configuration bridge PDUs by this node on any port when it is the root of the spanning tree or trying to become so, in units of hundredths of a second. This is the actual value that this bridge is currently using." REFERENCE "IEEE 802.1D-1990: Section 4.5.3.5" ::= { aiDot1dStpInfoEntry 10 } aiDot1dStpHoldTime OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "This time value determines the interval length during which no more than two Configuration bridge PDUs shall be transmitted by this node, in units of hundredths of a second." REFERENCE "IEEE 802.1D-1990: Section 4.5.3.14" ::= { aiDot1dStpInfoEntry 11 } aiDot1dStpForwardDelay OBJECT-TYPE SYNTAX Timeout ACCESS read-only STATUS mandatory DESCRIPTION "This time value, measured in units of hundredths of a second, controls how fast a port changes its spanning state when moving towards the Forwarding state. The value determines how long the port stays in each of the Listening and Learning states, which precede the Forwarding state. This value is also used, when a topology change has been detected and is underway, to age all dynamic entries in the Forwarding Database. [Note that this value is the one that this bridge is currently using, in contrast to aiDot1dStpBridgeForwardDelay which is the value that this bridge and all others would start using if/when this bridge were to become the root.]" REFERENCE "IEEE 802.1D-1990: Section 4.5.3.6" ::= { aiDot1dStpInfoEntry 12 } aiDot1dStpBridgeMaxAge OBJECT-TYPE SYNTAX Timeout (600..4000) ACCESS read-write STATUS mandatory DESCRIPTION "The value that all bridges use for MaxAge when this bridge is acting as the root. Note that 802.1D-1990 specifies that the range for this parameter is related to the value of aiDot1dStpBridgeHelloTime. The granularity of this timer is specified by 802.1D-1990 to be 1 second. An agent may return a badValue error if a set is attempted to a value which is not a whole number of seconds." REFERENCE "IEEE 802.1D-1990: Section 4.5.3.8" ::= { aiDot1dStpInfoEntry 13 } aiDot1dStpBridgeHelloTime OBJECT-TYPE SYNTAX Timeout (100..1000) ACCESS read-write STATUS mandatory DESCRIPTION "The value that all bridges use for HelloTime when this bridge is acting as the root. The granularity of this timer is specified by 802.1D- 1990 to be 1 second. An agent may return a badValue error if a set is attempted to a value which is not a whole number of seconds." REFERENCE "IEEE 802.1D-1990: Section 4.5.3.9" ::= { aiDot1dStpInfoEntry 14 } aiDot1dStpBridgeForwardDelay OBJECT-TYPE SYNTAX Timeout (400..3000) ACCESS read-write STATUS mandatory DESCRIPTION "The value that all bridges use for ForwardDelay when this bridge is acting as the root. Note that 802.1D-1990 specifies that the range for this parameter is related to the value of aiDot1dStpBridgeMaxAge. The granularity of this timer is specified by 802.1D-1990 to be 1 second. An agent may return a badValue error if a set is attempted to a value which is not a whole number of seconds." REFERENCE "IEEE 802.1D-1990: Section 4.5.3.10" ::= { aiDot1dStpInfoEntry 15 } aiDot1dStpEnabled OBJECT-TYPE SYNTAX INTEGER { stpEnabled(1), stpDisabled(2) } ACCESS read-write STATUS mandatory DESCRIPTION "This value indicates whether STP is enabled or disabled." ::= { aiDot1dStpInfoEntry 16 } -- The Spanning Tree Port Table aiDot1dStpPortTable OBJECT-TYPE SYNTAX SEQUENCE OF AIDOT1dStpPortEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "A table that contains port-specific information for the Spanning Tree Protocol." ::= { aiDot1dStp 15 } aiDot1dStpPortEntry OBJECT-TYPE SYNTAX AIDOT1dStpPortEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "A list of information maintained by every port about the Spanning Tree Protocol state for that port." INDEX { aiDot1dStpPortStpIndex, aiDot1dStpPort } ::= { aiDot1dStpPortTable 1 } AIDOT1dStpPortEntry ::= SEQUENCE { aiDot1dStpPortStpIndex INTEGER, aiDot1dStpPort INTEGER, aiDot1dStpPortPriority INTEGER, aiDot1dStpPortState INTEGER, aiDot1dStpPortEnable INTEGER, aiDot1dStpPortPathCost INTEGER, aiDot1dStpPortDesignatedRoot BridgeId, aiDot1dStpPortDesignatedCost INTEGER, aiDot1dStpPortDesignatedBridge BridgeId, aiDot1dStpPortDesignatedPort OCTET STRING, aiDot1dStpPortForwardTransitions Counter } aiDot1dStpPortStpIndex OBJECT-TYPE SYNTAX INTEGER (1..65535) ACCESS read-only STATUS mandatory DESCRIPTION "The STP instance number which this entry contains Spanning Tree Protocol management information." REFERENCE "IEEE 802.1D-1990: Section 6.8.2.1.2" ::= { aiDot1dStpPortEntry 1 } aiDot1dStpPort OBJECT-TYPE SYNTAX INTEGER (1..65535) ACCESS read-only STATUS mandatory DESCRIPTION "The port number of the port for which this entry contains Spanning Tree Protocol management information." REFERENCE "IEEE 802.1D-1990: Section 6.8.2.1.2" ::= { aiDot1dStpPortEntry 2 } aiDot1dStpPortPriority OBJECT-TYPE SYNTAX INTEGER (0..255) ACCESS read-write STATUS mandatory DESCRIPTION "The value of the priority field which is contained in the first (in network byte order) octet of the (2 octet long) Port ID. The other octet of the Port ID is given by the value of aiDot1dStpPort." REFERENCE "IEEE 802.1D-1990: Section 4.5.5.1" ::= { aiDot1dStpPortEntry 3 } aiDot1dStpPortState OBJECT-TYPE SYNTAX INTEGER { disabled(1), blocking(2), listening(3), learning(4), forwarding(5), broken(6) } ACCESS read-only STATUS mandatory DESCRIPTION "The port's current state as defined by application of the Spanning Tree Protocol. This state controls what action a port takes on reception of a frame. If the bridge has detected a port that is malfunctioning it will place that port into the broken(6) state. For ports which are disabled (see aiDot1dStpPortEnable), this object will have a value of disabled(1)." REFERENCE "IEEE 802.1D-1990: Section 4.5.5.2" ::= { aiDot1dStpPortEntry 4 } aiDot1dStpPortEnable OBJECT-TYPE SYNTAX INTEGER { enabled(1), disabled(2) } ACCESS read-write STATUS mandatory DESCRIPTION "The enabled/disabled status of the port." REFERENCE "IEEE 802.1D-1990: Section 4.5.5.2" ::= { aiDot1dStpPortEntry 5 } aiDot1dStpPortPathCost OBJECT-TYPE SYNTAX INTEGER (0..65535) ACCESS read-write STATUS mandatory DESCRIPTION "The contribution of this port to the path cost of paths towards the spanning tree root which include this port. 802.1D-1990 recommends that the default value of this parameter be in inverse proportion to the speed of the attached LAN." REFERENCE "IEEE 802.1D-1990: Section 4.5.5.3" ::= { aiDot1dStpPortEntry 6 } aiDot1dStpPortDesignatedRoot OBJECT-TYPE SYNTAX BridgeId ACCESS read-only STATUS mandatory DESCRIPTION "The unique Bridge Identifier of the Bridge recorded as the Root in the Configuration BPDUs transmitted by the Designated Bridge for the segment to which the port is attached." REFERENCE "IEEE 802.1D-1990: Section 4.5.5.4" ::= { aiDot1dStpPortEntry 7 } aiDot1dStpPortDesignatedCost OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "The path cost of the Designated Port of the segment connected to this port. This value is compared to the Root Path Cost field in received bridge PDUs." REFERENCE "IEEE 802.1D-1990: Section 4.5.5.5" ::= { aiDot1dStpPortEntry 8 } aiDot1dStpPortDesignatedBridge OBJECT-TYPE SYNTAX BridgeId ACCESS read-only STATUS mandatory DESCRIPTION "The Bridge Identifier of the bridge which this port considers to be the Designated Bridge for this port's segment." REFERENCE "IEEE 802.1D-1990: Section 4.5.5.6" ::= { aiDot1dStpPortEntry 9 } aiDot1dStpPortDesignatedPort OBJECT-TYPE SYNTAX OCTET STRING (SIZE (2)) ACCESS read-only STATUS mandatory DESCRIPTION "The Port Identifier of the port on the Designated Bridge for this port's segment." REFERENCE "IEEE 802.1D-1990: Section 4.5.5.7" ::= { aiDot1dStpPortEntry 10 } aiDot1dStpPortForwardTransitions OBJECT-TYPE SYNTAX Counter ACCESS read-only STATUS mandatory DESCRIPTION "The number of times this port has transitioned from the Learning state to the Forwarding state." ::= { aiDot1dStpPortEntry 11 } END