Path: blob/main/usr.sbin/bsnmpd/modules/snmp_bridge/RSTP-MIB.txt
108735 views
--1-- Copyright (C) The Internet Society (2005).2--3-- This document is subject to the rights, licenses and restrictions4-- contained in BCP 78, and except as set forth therein, the authors5-- retain all their rights.6--7-- This document and the information contained herein are provided on an8-- "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS9-- OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET10-- ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED,11-- INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE12-- INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED13-- WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.14--1516RSTP-MIB DEFINITIONS ::= BEGIN1718-- -------------------------------------------------------------19-- MIB for IEEE 802.1w Rapid Spanning Tree Protocol20-- -------------------------------------------------------------2122IMPORTS23MODULE-IDENTITY, OBJECT-TYPE, Integer32, mib-224FROM SNMPv2-SMI25TruthValue26FROM SNMPv2-TC27MODULE-COMPLIANCE, OBJECT-GROUP28FROM SNMPv2-CONF29dot1dStp, dot1dStpPortEntry30FROM BRIDGE-MIB;3132rstpMIB MODULE-IDENTITY33LAST-UPDATED "200512070000Z"34ORGANIZATION "IETF Bridge MIB Working Group"35CONTACT-INFO36"Email: [email protected]"37DESCRIPTION38"The Bridge MIB Extension module for managing devices39that support the Rapid Spanning Tree Protocol defined40by IEEE 802.1w.4142Copyright (C) The Internet Society (2005). This version of43this MIB module is part of RFC 4318; See the RFC itself for44full legal notices."4546REVISION "200512070000Z"47DESCRIPTION48"The initial version of this MIB module as published in49RFC 4318."50::= { mib-2 134 }5152-- ---------------------------------------------------------- --53-- subtrees in the RSTP-MIB54-- ---------------------------------------------------------- --5556rstpNotifications OBJECT IDENTIFIER ::= { rstpMIB 0 }57rstpObjects OBJECT IDENTIFIER ::= { rstpMIB 1 }58rstpConformance OBJECT IDENTIFIER ::= { rstpMIB 2 }5960-- -------------------------------------------------------------61-- Addition to the dot1dStp group62-- -------------------------------------------------------------6364dot1dStpVersion OBJECT-TYPE65SYNTAX INTEGER {66stpCompatible(0),67rstp(2)68}69MAX-ACCESS read-write70STATUS current71DESCRIPTION72"The version of Spanning Tree Protocol the bridge is73currently running. The value 'stpCompatible(0)'74indicates the Spanning Tree Protocol specified in75IEEE 802.1D-1998 and 'rstp(2)' indicates the Rapid76Spanning Tree Protocol specified in IEEE 802.1w and77clause 17 of 802.1D-2004. The values are directly from78the IEEE standard. New values may be defined as future79versions of the protocol become available.8081The value of this object MUST be retained across82reinitializations of the management system."83REFERENCE84"IEEE 802.1w clause 14.8.1, 17.12, 17.16.1"85DEFVAL { rstp }86::= { dot1dStp 16 }8788dot1dStpTxHoldCount OBJECT-TYPE89SYNTAX Integer32 (1..10)90MAX-ACCESS read-write91STATUS current92DESCRIPTION93"The value used by the Port Transmit state machine to limit94the maximum transmission rate.9596The value of this object MUST be retained across97reinitializations of the management system."9899REFERENCE100"IEEE 802.1w clause 17.16.6"101DEFVAL { 3 }102::= { dot1dStp 17 }103104--105-- { dot1dStp 18 } was used to represent dot1dStpPathCostDefault106-- in an earlier version of this MIB. It has since been107-- obsoleted, and should not be used.108--109110dot1dStpExtPortTable OBJECT-TYPE111SYNTAX SEQUENCE OF Dot1dStpExtPortEntry112MAX-ACCESS not-accessible113STATUS current114DESCRIPTION115"A table that contains port-specific Rapid Spanning Tree116information."117::= { dot1dStp 19 }118119dot1dStpExtPortEntry OBJECT-TYPE120SYNTAX Dot1dStpExtPortEntry121MAX-ACCESS not-accessible122STATUS current123DESCRIPTION124"A list of Rapid Spanning Tree information maintained by125each port."126AUGMENTS { dot1dStpPortEntry }127::= { dot1dStpExtPortTable 1 }128129Dot1dStpExtPortEntry ::=130SEQUENCE {131dot1dStpPortProtocolMigration132TruthValue,133dot1dStpPortAdminEdgePort134TruthValue,135dot1dStpPortOperEdgePort136TruthValue,137dot1dStpPortAdminPointToPoint138INTEGER,139dot1dStpPortOperPointToPoint140TruthValue,141dot1dStpPortAdminPathCost142Integer32143}144145dot1dStpPortProtocolMigration OBJECT-TYPE146SYNTAX TruthValue147MAX-ACCESS read-write148STATUS current149DESCRIPTION150"When operating in RSTP (version 2) mode, writing true(1)151to this object forces this port to transmit RSTP BPDUs.152Any other operation on this object has no effect and153it always returns false(2) when read."154REFERENCE155"IEEE 802.1w clause 14.8.2.4, 17.18.10, 17.26"156::= { dot1dStpExtPortEntry 1 }157158dot1dStpPortAdminEdgePort OBJECT-TYPE159SYNTAX TruthValue160MAX-ACCESS read-write161STATUS current162DESCRIPTION163"The administrative value of the Edge Port parameter. A164value of true(1) indicates that this port should be165assumed as an edge-port, and a value of false(2) indicates166that this port should be assumed as a non-edge-port.167Setting this object will also cause the corresponding168instance of dot1dStpPortOperEdgePort to change to the169same value. Note that even when this object's value170is true, the value of the corresponding instance of171dot1dStpPortOperEdgePort can be false if a BPDU has172been received.173174The value of this object MUST be retained across175reinitializations of the management system."176177REFERENCE178"IEEE 802.1t clause 14.8.2, 18.3.3"179::= { dot1dStpExtPortEntry 2 }180181dot1dStpPortOperEdgePort OBJECT-TYPE182SYNTAX TruthValue183MAX-ACCESS read-only184STATUS current185DESCRIPTION186"The operational value of the Edge Port parameter. The187object is initialized to the value of the corresponding188instance of dot1dStpPortAdminEdgePort. When the189corresponding instance of dot1dStpPortAdminEdgePort is190set, this object will be changed as well. This object191will also be changed to false on reception of a BPDU."192193REFERENCE194"IEEE 802.1t clause 14.8.2, 18.3.4"195::= { dot1dStpExtPortEntry 3 }196197dot1dStpPortAdminPointToPoint OBJECT-TYPE198SYNTAX INTEGER {199forceTrue(0),200forceFalse(1),201auto(2)202}203MAX-ACCESS read-write204STATUS current205DESCRIPTION206"The administrative point-to-point status of the LAN segment207attached to this port, using the enumeration values of the208IEEE 802.1w clause. A value of forceTrue(0) indicates209that this port should always be treated as if it is210connected to a point-to-point link. A value of211forceFalse(1) indicates that this port should be treated as212having a shared media connection. A value of auto(2)213indicates that this port is considered to have a214point-to-point link if it is an Aggregator and all of its215members are aggregatable, or if the MAC entity216is configured for full duplex operation, either through217auto-negotiation or by management means. Manipulating this218object changes the underlying adminPortToPortMAC.219220The value of this object MUST be retained across221reinitializations of the management system."222223REFERENCE224"IEEE 802.1w clause 6.4.3, 6.5, 14.8.2"225::= { dot1dStpExtPortEntry 4 }226227dot1dStpPortOperPointToPoint OBJECT-TYPE228SYNTAX TruthValue229MAX-ACCESS read-only230STATUS current231DESCRIPTION232"The operational point-to-point status of the LAN segment233attached to this port. It indicates whether a port is234considered to have a point-to-point connection.235If adminPointToPointMAC is set to auto(2), then the value236of operPointToPointMAC is determined in accordance with the237specific procedures defined for the MAC entity concerned,238as defined in IEEE 802.1w, clause 6.5. The value is239determined dynamically; that is, it is re-evaluated whenever240the value of adminPointToPointMAC changes, and whenever241the specific procedures defined for the MAC entity evaluate242a change in its point-to-point status."243REFERENCE244"IEEE 802.1w clause 6.4.3, 6.5, 14.8.2"245::= { dot1dStpExtPortEntry 5 }246247dot1dStpPortAdminPathCost OBJECT-TYPE248SYNTAX Integer32 (0..200000000)249MAX-ACCESS read-write250STATUS current251DESCRIPTION252"The administratively assigned value for the contribution253of this port to the path cost of paths toward the spanning254tree root.255256Writing a value of '0' assigns the automatically calculated257default Path Cost value to the port. If the default Path258Cost is being used, this object returns '0' when read.259260This complements the object dot1dStpPortPathCost or261dot1dStpPortPathCost32, which returns the operational value262of the path cost.263264The value of this object MUST be retained across265reinitializations of the management system."266REFERENCE267"IEEE 802.1D-1998: Section 8.5.5.3"268::= { dot1dStpExtPortEntry 6 }269270-- -------------------------------------------------------------271-- rstpMIB - Conformance Information272-- -------------------------------------------------------------273274rstpGroups OBJECT IDENTIFIER ::= { rstpConformance 1 }275276rstpCompliances OBJECT IDENTIFIER ::= { rstpConformance 2 }277278-- -------------------------------------------------------------279-- Units of conformance280-- -------------------------------------------------------------281282rstpBridgeGroup OBJECT-GROUP283OBJECTS {284dot1dStpVersion,285dot1dStpTxHoldCount286}287STATUS current288DESCRIPTION289"Rapid Spanning Tree information for the bridge."290::= { rstpGroups 1 }291292rstpPortGroup OBJECT-GROUP293OBJECTS {294dot1dStpPortProtocolMigration,295dot1dStpPortAdminEdgePort,296dot1dStpPortOperEdgePort,297dot1dStpPortAdminPointToPoint,298dot1dStpPortOperPointToPoint,299dot1dStpPortAdminPathCost300}301STATUS current302DESCRIPTION303"Rapid Spanning Tree information for individual ports."304::= { rstpGroups 2 }305306-- -------------------------------------------------------------307-- Compliance statements308-- -------------------------------------------------------------309310rstpCompliance MODULE-COMPLIANCE311STATUS current312DESCRIPTION313"The compliance statement for device support of Rapid314Spanning Tree Protocol (RSTP) bridging services."315MODULE316MANDATORY-GROUPS {317rstpBridgeGroup,318rstpPortGroup319}320::= { rstpCompliances 1 }321322END323324325