MSTP-MIB DEFINITIONS ::= BEGIN IMPORTS MODULE-IDENTITY, OBJECT-TYPE, Unsigned32, TimeTicks FROM SNMPv2-SMI RowStatus,DisplayString,TruthValue FROM SNMPv2-TC MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP FROM SNMPv2-CONF Counter FROM RFC1155-SMI dlink-common-mgmt FROM DLINK-ID-REC-MIB; swMSTPMIB MODULE-IDENTITY LAST-UPDATED "0007150000Z" ORGANIZATION " " CONTACT-INFO " " DESCRIPTION "The MIB module for managing MSTP." ::= { dlink-common-mgmt 15 } BridgeId ::= OCTET STRING (SIZE (8)) swMSTPGblMgmt OBJECT IDENTIFIER ::= { swMSTPMIB 1 } swMSTPCtrl OBJECT IDENTIFIER ::= { swMSTPMIB 2 } --*************************************************************************** -- swMSTPGblCtrl --*************************************************************************** swMSTPStpAdminState OBJECT-TYPE SYNTAX INTEGER { other(1), disabled(2), enabled(3) } MAX-ACCESS read-write STATUS current DESCRIPTION "This object indicates the spanning tree state of the bridge." ::= { swMSTPGblMgmt 1 } swMSTPStpVersion OBJECT-TYPE SYNTAX INTEGER { stp(0), rstp(1), mstp(2) } MAX-ACCESS read-write STATUS current DESCRIPTION "The version of Spanning Tree Protocol the bridge is currently running." ::= { swMSTPGblMgmt 2 } swMSTPStpMaxAge OBJECT-TYPE SYNTAX INTEGER (600..4000) MAX-ACCESS read-write STATUS current DESCRIPTION "The value that all bridges use for MaxAge when this bridge is acting as the root. Note that the range for this parameter is related to the value of StpForwardDelay and PortAdminHelloTime. MaxAge <= 2(ForwardDelay - 1);MaxAge >= 2(HelloTime + 1) 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." ::= { swMSTPGblMgmt 3 } swMSTPStpHelloTime OBJECT-TYPE SYNTAX INTEGER (100..1000) MAX-ACCESS read-write STATUS current DESCRIPTION "The value is used for HelloTime when this bridge is acting in RSTP or STP mode. Only in RSTP or STP mode can read/write this value." ::= { swMSTPGblMgmt 4 } swMSTPStpForwardDelay OBJECT-TYPE SYNTAX INTEGER (400..3000) MAX-ACCESS read-write STATUS current DESCRIPTION "This value, controls how long a port changes its spanning state from blocking to learning state and from learning to forwarding state. Note that the range for this parameter is related to MaxAge" ::= { swMSTPGblMgmt 5 } swMSTPStpMaxHops OBJECT-TYPE SYNTAX INTEGER (1..20) MAX-ACCESS read-write STATUS current DESCRIPTION "This value applies to all Spanning Trees within an MST Region for which the Bridge is the Regional Root." ::= { swMSTPGblMgmt 6 } swMSTPStpTxHoldCount OBJECT-TYPE SYNTAX INTEGER (1..10) MAX-ACCESS read-write STATUS current DESCRIPTION "The value used by the Port Transmit state machine to limit the maximum transmission rate." ::= { swMSTPGblMgmt 7 } swMSTPStpForwardBPDU OBJECT-TYPE SYNTAX INTEGER { other(1), disabled(2), enabled(3) } MAX-ACCESS read-write STATUS current DESCRIPTION "The enabled/disabled status is used to forward BPDU to non stp port." ::= { swMSTPGblMgmt 8 } --*************************************************************************** -- swMSTPCtrl --*************************************************************************** swMSTPName OBJECT-TYPE SYNTAX OCTET STRING (SIZE (1..32)) MAX-ACCESS read-write STATUS current DESCRIPTION "The object indicates the name of MST Configuration Identication." ::= { swMSTPCtrl 1 } swMSTPRevisionLevel OBJECT-TYPE SYNTAX INTEGER (0..65535) MAX-ACCESS read-write STATUS current DESCRIPTION "The object indicates the revision level of the MST Configuration Identification." ::= { swMSTPCtrl 2 } swMSTPInstanceCtrlTable OBJECT-TYPE SYNTAX SEQUENCE OF SwMSTPInstanceCtrlEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A table that contains MSTP instance information." ::= { swMSTPCtrl 3 } swMSTPInstanceCtrlEntry OBJECT-TYPE SYNTAX SwMSTPInstanceCtrlEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "." INDEX {swMSTPInstId} ::= { swMSTPInstanceCtrlTable 1 } SwMSTPInstanceCtrlEntry ::= SEQUENCE { swMSTPInstId INTEGER, swMSTPInstVlanRangeList1to64 OCTET STRING, swMSTPInstVlanRangeList65to128 OCTET STRING, swMSTPInstVlanRangeList129to192 OCTET STRING, swMSTPInstVlanRangeList192to256 OCTET STRING, swMSTPInstVlanRangeList257to320 OCTET STRING, swMSTPInstVlanRangeList321to384 OCTET STRING, swMSTPInstVlanRangeList385to448 OCTET STRING, swMSTPInstVlanRangeList449to512 OCTET STRING, swMSTPInstType INTEGER, swMSTPInstStatus INTEGER, swMSTPInstPriority INTEGER, swMSTPInstDesignatedRootBridge BridgeId, swMSTPInstExternalRootCost INTEGER, swMSTPInstRegionalRootBridge BridgeId, swMSTPInstInternalRootCost INTEGER, swMSTPInstDesignatedBridge BridgeId, swMSTPInstRootPort INTEGER, swMSTPInstMaxAge INTEGER, swMSTPInstForwardDelay INTEGER, swMSTPInstLastTopologyChange TimeTicks, swMSTPInstTopChangesCount Counter, swMSTPInstRemainHops INTEGER, swMSTPInstRowStatus RowStatus } swMSTPInstId OBJECT-TYPE SYNTAX INTEGER (0..15) MAX-ACCESS read-only STATUS current DESCRIPTION "This object indicates the specific instance. An MSTP Instance Id(MSTID) of zero is used to identify the CIST." ::= { swMSTPInstanceCtrlEntry 1 } swMSTPInstVlanRangeList1to64 OBJECT-TYPE SYNTAX OCTET STRING (SIZE (64)) MAX-ACCESS read-create STATUS current DESCRIPTION "This object indicates the VLAN range (1-512) that belongs to the instance." ::= { swMSTPInstanceCtrlEntry 2 } swMSTPInstVlanRangeList65to128 OBJECT-TYPE SYNTAX OCTET STRING (SIZE (64)) MAX-ACCESS read-create STATUS current DESCRIPTION "This object indicates the VLAN range (513-1024) that belongs to the instance." ::= { swMSTPInstanceCtrlEntry 3 } swMSTPInstVlanRangeList129to192 OBJECT-TYPE SYNTAX OCTET STRING (SIZE (64)) MAX-ACCESS read-create STATUS current DESCRIPTION "This object indicates the VLAN range (1025-1536) that belongs to the instance." ::= { swMSTPInstanceCtrlEntry 4 } swMSTPInstVlanRangeList192to256 OBJECT-TYPE SYNTAX OCTET STRING (SIZE (64)) MAX-ACCESS read-create STATUS current DESCRIPTION "This object indicates the VLAN range(1537-2048) that belongs to the instance." ::= { swMSTPInstanceCtrlEntry 5 } swMSTPInstVlanRangeList257to320 OBJECT-TYPE SYNTAX OCTET STRING (SIZE (64)) MAX-ACCESS read-create STATUS current DESCRIPTION "This object indicates the VLAN range (2049-2560) that belongs to the instance." ::= { swMSTPInstanceCtrlEntry 6 } swMSTPInstVlanRangeList321to384 OBJECT-TYPE SYNTAX OCTET STRING (SIZE (64)) MAX-ACCESS read-create STATUS current DESCRIPTION "This object indicates the VLAN range (2561-3072) that belongs to the instance." ::= { swMSTPInstanceCtrlEntry 7 } swMSTPInstVlanRangeList385to448 OBJECT-TYPE SYNTAX OCTET STRING (SIZE (64)) MAX-ACCESS read-create STATUS current DESCRIPTION "This object indicates the VLAN range (3073-3584) that belongs to the instance." ::= { swMSTPInstanceCtrlEntry 8 } swMSTPInstVlanRangeList449to512 OBJECT-TYPE SYNTAX OCTET STRING (SIZE (64)) MAX-ACCESS read-create STATUS current DESCRIPTION "This object indicates the VLAN range (3585-4096) that belongs to the instance." ::= { swMSTPInstanceCtrlEntry 9 } swMSTPInstType OBJECT-TYPE SYNTAX INTEGER { cist(0), msti(1) } MAX-ACCESS read-only STATUS current DESCRIPTION "This object indicates the type of instance." ::= { swMSTPInstanceCtrlEntry 10 } swMSTPInstStatus OBJECT-TYPE SYNTAX INTEGER { enabled(1), disabled(2) } MAX-ACCESS read-only STATUS current DESCRIPTION "The instance state that could be enabled/disabled." ::= { swMSTPInstanceCtrlEntry 11 } swMSTPInstPriority OBJECT-TYPE SYNTAX INTEGER (0..61440) MAX-ACCESS read-create STATUS current DESCRIPTION "The priority of the instance. The priority must be dividable by 4096 " ::= { swMSTPInstanceCtrlEntry 12 } swMSTPInstDesignatedRootBridge OBJECT-TYPE SYNTAX BridgeId MAX-ACCESS read-only STATUS current DESCRIPTION "The bridge identifier of the CIST. For MST instance, this object is unused." ::= { swMSTPInstanceCtrlEntry 13 } swMSTPInstExternalRootCost OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current DESCRIPTION "The path cost between MST Regions from the transmitting Bridge to the CIST Root. For MST instance this object is unused." ::= { swMSTPInstanceCtrlEntry 14 } swMSTPInstRegionalRootBridge OBJECT-TYPE SYNTAX BridgeId MAX-ACCESS read-only STATUS current DESCRIPTION "For CIST, Regional Root Identifier is the Bridge Identifier of the single bridge in a Region whose CIST Root Port is a Boundary Port, or the Bridge Identifier of the CIST Root if that is within the Region; For MSTI,MSTI Regional Root Identifier is the Bridge Identifier of the MSTI Regional Root for this particular MSTI in this MST Region; The Regional Root Bridge of this instance." ::= { swMSTPInstanceCtrlEntry 15 } swMSTPInstInternalRootCost OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current DESCRIPTION "For CIST, the internal path cost is the path cost to the CIST Regional Root; For MSTI, the internal path cost is the path cost to the MSTI Regional Root for this particular MSTI in this MST Region" ::= { swMSTPInstanceCtrlEntry 16 } swMSTPInstDesignatedBridge OBJECT-TYPE SYNTAX BridgeId MAX-ACCESS read-only STATUS current DESCRIPTION "The Bridge Identifier for the transmitting bridge for this CIST or MSTI" ::= { swMSTPInstanceCtrlEntry 17 } swMSTPInstRootPort OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current DESCRIPTION "The port number of the port which offers the lowest cost path from this bridge to the CIST or MSTI root bridge." ::= { swMSTPInstanceCtrlEntry 18 } swMSTPInstMaxAge OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current 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." ::= { swMSTPInstanceCtrlEntry 19 } swMSTPInstForwardDelay OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current DESCRIPTION "This value, 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." ::= { swMSTPInstanceCtrlEntry 20 } swMSTPInstLastTopologyChange OBJECT-TYPE SYNTAX TimeTicks MAX-ACCESS read-only STATUS current DESCRIPTION "The time (in hundredths of a second) since the last time a topology change was detected by the bridge entity." ::= { swMSTPInstanceCtrlEntry 21 } swMSTPInstTopChangesCount OBJECT-TYPE SYNTAX Counter MAX-ACCESS read-only STATUS current DESCRIPTION "The total number of topology changes detected by this bridge since the management entity was last reset or initialized." ::= { swMSTPInstanceCtrlEntry 22} swMSTPInstRemainHops OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current DESCRIPTION "." ::= { swMSTPInstanceCtrlEntry 23} swMSTPInstRowStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "This object indicates the RowStatus of this entry." ::= { swMSTPInstanceCtrlEntry 24 } -- STP Port Table swMSTPPortTable OBJECT-TYPE SYNTAX SEQUENCE OF SwMSTPPortEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A table that contains port-specific information for the Spanning Tree Protocol." ::= { swMSTPCtrl 4 } swMSTPPortEntry OBJECT-TYPE SYNTAX SwMSTPPortEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A list of information maintained by every port about the Spanning Tree Protocol state for that port." INDEX { swMSTPPort } ::= { swMSTPPortTable 1 } SwMSTPPortEntry ::= SEQUENCE { swMSTPPort INTEGER, swMSTPPortAdminHelloTime INTEGER, swMSTPPortOperHelloTime INTEGER, swMSTPSTPPortEnable INTEGER, swMSTPPortExternalPathCost INTEGER, swMSTPPortMigration TruthValue, swMSTPPortAdminEdgePort TruthValue, swMSTPPortOperEdgePort TruthValue, swMSTPPortAdminP2P INTEGER, swMSTPPortOperP2P INTEGER } swMSTPPort OBJECT-TYPE SYNTAX INTEGER (1..65535) MAX-ACCESS read-only STATUS current DESCRIPTION "The port number of the port for this entry." ::= { swMSTPPortEntry 1 } swMSTPPortAdminHelloTime OBJECT-TYPE SYNTAX INTEGER (100..1000)--(1..10) MAX-ACCESS read-write STATUS current DESCRIPTION "The amount of time between the transmission of BPDU 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." ::= { swMSTPPortEntry 2 } swMSTPPortOperHelloTime OBJECT-TYPE SYNTAX INTEGER (100..1000)--(1..10) MAX-ACCESS read-only STATUS current DESCRIPTION "Is the acture value of the hello time." ::= { swMSTPPortEntry 3 } swMSTPSTPPortEnable OBJECT-TYPE SYNTAX INTEGER { enabled(1), disabled(2) } MAX-ACCESS read-write STATUS current DESCRIPTION "The enabled/disabled status of the port." ::= { swMSTPPortEntry 4 } swMSTPPortExternalPathCost OBJECT-TYPE SYNTAX INTEGER (0..200000000) MAX-ACCESS read-write STATUS current DESCRIPTION "The contribution of this port to the path cost of paths towards the CIST root which include this port." ::= { swMSTPPortEntry 5 } swMSTPPortMigration OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-write STATUS current DESCRIPTION "When operating in MSTP mode or RSTP mode, writing TRUE(1) to this object forces this port to transmit MST BPDUs. Any other operation on this object has no effect and it always returns FALSE(2) when read." ::= { swMSTPPortEntry 6 } swMSTPPortAdminEdgePort OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-write STATUS current DESCRIPTION "The value of the Edge Port parameter. A value of TRUE indicates that this port should be assumed as an edge-port and a value of FALSE indicates that this port should be assumed as a non-edge-port" ::= { swMSTPPortEntry 7 } swMSTPPortOperEdgePort OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-only STATUS current DESCRIPTION "It is the acuture value of edge port status" ::= { swMSTPPortEntry 8 } swMSTPPortAdminP2P OBJECT-TYPE SYNTAX INTEGER { true(0), false(1), auto(2) } MAX-ACCESS read-write STATUS current DESCRIPTION "The point-to-point status of the LAN segment attached to this port." ::= { swMSTPPortEntry 9 } swMSTPPortOperP2P OBJECT-TYPE SYNTAX INTEGER { true(0), false(1), auto(2) } MAX-ACCESS read-only STATUS current DESCRIPTION "It is the acture value of P2P status." ::= { swMSTPPortEntry 10 } -- STP MST Port Table swMSTPMstPortTable OBJECT-TYPE SYNTAX SEQUENCE OF SwMSTPMstPortEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A table that contains port-specific information for the MST Protocol." ::= { swMSTPCtrl 5 } swMSTPMstPortEntry OBJECT-TYPE SYNTAX SwMSTPMstPortEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A list of information maintained by every port about the MST state for that port." INDEX { swMSTPMstPort,swMSTPMstPortInsID } ::= { swMSTPMstPortTable 1 } SwMSTPMstPortEntry ::= SEQUENCE { swMSTPMstPort INTEGER, swMSTPMstPortInsID INTEGER, swMSTPMstPortDesignatedBridge BridgeId, swMSTPMstPortInternalPathCost INTEGER, swMSTPMstPortPriority INTEGER, swMSTPMstPortStatus INTEGER, swMSTPMstPortRole INTEGER } swMSTPMstPort OBJECT-TYPE SYNTAX INTEGER (1..65535) MAX-ACCESS read-only STATUS current DESCRIPTION "The port number of the port for this entry." ::= { swMSTPMstPortEntry 1 } swMSTPMstPortInsID OBJECT-TYPE SYNTAX INTEGER (0..15) MAX-ACCESS read-only STATUS current DESCRIPTION "This object indicates the MSTP Instance Id(MSTID)." ::= { swMSTPMstPortEntry 2 } swMSTPMstPortDesignatedBridge OBJECT-TYPE SYNTAX BridgeId MAX-ACCESS read-only STATUS current DESCRIPTION "." ::= { swMSTPMstPortEntry 3 } swMSTPMstPortInternalPathCost OBJECT-TYPE SYNTAX INTEGER (0..200000000) MAX-ACCESS read-write STATUS current DESCRIPTION "This is the value of this port to the path cost of paths towards the MSTI root." ::= { swMSTPMstPortEntry 4 } swMSTPMstPortPriority OBJECT-TYPE SYNTAX INTEGER (0..240) MAX-ACCESS read-write STATUS current 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.." ::= { swMSTPMstPortEntry 5 } swMSTPMstPortStatus OBJECT-TYPE SYNTAX INTEGER { other(1), disabled(2), discarding(3), learning(4), forwarding(5), broken(6), no-stp-enabled(7) } MAX-ACCESS read-only STATUS current DESCRIPTION "When the port Enable state is enabled, the port's current state as defined by application of the Spanning Tree Protocol. If the PortEnable is disabled, the the port status will be no-stp-enabled(7)" ::= { swMSTPMstPortEntry 6 } swMSTPMstPortRole OBJECT-TYPE SYNTAX INTEGER { disable(0), alternate(1), backup(2), root(3), desinated(4), master(5), nonstp(6) } MAX-ACCESS read-only STATUS current DESCRIPTION "When the port Enable state is enabled, the port's current port role as defined by application of the Spanning Tree Protocol. If the Port Enable state is disabled, the the port role will be nonstp(5)" ::= { swMSTPMstPortEntry 7 } END