⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dot12-rptr-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 5 页
字号:
                       allowEndNodesOrRepeaters(3),                       allowAnything(4)                   }        MAX-ACCESS read-write        STATUS     current        DESCRIPTION                "This security object is set by the network                manager to configure what type of device is                permitted to connect to the port.  One of the                following values:                    allowEndNodesOnly        - only non-                                               promiscuous end                                               nodes permitted.                    allowPromiscuousEndNodes - promiscuous or                                               non-promiscuous                                               end nodes                                               permitted                    allowEndNodesOrRepeaters - repeaters or non-                                               promiscuous end                                               nodes permitted                    allowAnything            - repeaters,                                               promiscuous or                                               non-promiscuous                                               end nodes                                               permitted                For a port for which vgRptrPortType is equal to                'cascadeInternal' or 'cascadeExternal', the                corresponding instance of this object may not be                set to 'allowEndNodesOnly' or                'allowPromiscuousEndNodes'.                The agent must reject a SET of this object if the                value includes no capabilities that are                supported by this port's hardware, as defined by                the values of the corresponding instances of                vgRptrPortSupportedPromiscMode and                vgRptrPortSupportedCascadeMode.                Note that vgRptrPortSupportPromiscMode and                vgRptrPortSupportedCascadeMode represent what the                port hardware is capable of supporting.                vgRptrPortAllowedTrainType is used for setting an                administrative policy for a port.  The actual set                of training configurations that will be allowed                to succeed on a port is the intersection of what                the hardware will support and what is                administratively allowed.  The above requirement                on what values may be set to this object says that                the intersection of what is supported and what is                allowed must be non-empty.  In other words, it                must not result in a situation in which nothing                would be allowed to train on that port.  However,                a value can be set to this object as long as the                combination of this object and what is supported                by the hardware would still leave at least one                configuration that could successfully train on the                port.                The value of this object should be preserved                across repeater resets and power failures."        REFERENCE                "IEEE Standard 802.12-1995, 13.2.4.5.1,                aAllowableTrainingType."        ::= { vgRptrBasicPortEntry 7 }    vgRptrPortLastTrainConfig OBJECT-TYPE        SYNTAX     OCTET STRING (SIZE(2))        MAX-ACCESS read-only        STATUS     current        DESCRIPTION                "This object is a 16 bit field.  For local ports,                this object contains the requested configuration                field from the most recent error-free training                request frame sent by the device connected to                the port.  For cascade ports, this object contains                the responder's allowed configuration field from                the most recent error-free training response frame                received in response to training initiated by this                repeater.  The format of the current version of                this field is described in section 3.2.  Please                refer to the most recent version of the IEEE                802.12 standard for the most up-to-date definition                of the format of this object."        REFERENCE                "IEEE Standard 802.12-1995, 13.2.4.5.1,                aLastTrainingConfig."        ::= { vgRptrBasicPortEntry 8 }    vgRptrPortTrainingResult OBJECT-TYPE        SYNTAX     OCTET STRING (SIZE(3))        MAX-ACCESS read-only        STATUS     current        DESCRIPTION                "This 18 bit field is used to indicate the result                of training.  It contains two bits which indicate                if error-free training frames have been received,                and it also contains the 16 bits of the allowed                configuration field from the most recent                error-free training response frame on the port.                  First Octet:    Second and Third Octets:                  7 6 5 4 3 2 1 0                 +-+-+-+-+-+-+-+-+-----------------------------+                 |0|0|0|0|0|0|V|G| allowed configuration field |                 +-+-+-+-+-+-+-+-+-----------------------------+                    V:   Valid: set when at least one error-free                         training frame has been received.                         Indicates the 16 training configuration                         bits in vgRptrPortLastTrainConfig and                         vgRptrPortTrainingResult contain valid                         information.  This bit is cleared when                         vgRptrPortStatus transitions to the                         'inactive' or 'training' state.                    G:   LinkGood: indicates the link hardware is                         OK.  Set if 24 consecutive error-free                         training packets have been exchanged.                         Cleared when a training packet with                         errors is received, or when                         vgRptrPortStatus transitions to the                         'inactive' or 'training' state.                The format of the current version of the allowed                configuration field is described in section 3.2.                Please refer to the most recent version of the                IEEE 802.12 standard for the most up-to-date                definition of the format of this field.                If the port is in training, a management station                can examine this object to see if any training                packets have been passed successfully.  If there                have been any good training packets, the Valid                bit will be set and the management station can                examine the allowed configuration field to see if                there is a duplicate address, configuration, or                security problem.                Note that on a repeater local port, this repeater                generates the training response bits, while on                a cascade port, the device at the upper end of                the link originated the training response bits."        REFERENCE                "IEEE Standard 802.12-1995, 13.2.4.5.1,                aTrainingResult."        ::= { vgRptrBasicPortEntry 9 }    vgRptrPortPriorityEnable OBJECT-TYPE        SYNTAX     TruthValue        MAX-ACCESS read-write        STATUS     current        DESCRIPTION                "A configuration flag used to determine whether                the repeater will service high priority requests                received on the port as high priority or normal                priority.  When 'false', high priority requests                on this port will be serviced as normal priority.                The setting of this object has no effect on a                cascade port.  Also note that the setting of this                object has no effect on a port connected to a                cascaded repeater.  In both of these cases, this                setting is treated as always 'true'.  The value                'false' only has an effect when the port is a                localInternal or localExternal port connected to                an end node.                The value of this object should be preserved                across repeater resets and power failures."        REFERENCE                "IEEE Standard 802.12-1995, 13.2.4.5.1,                aPriorityEnable."        ::= { vgRptrBasicPortEntry 10 }    vgRptrPortRptrInfoIndex OBJECT-TYPE        SYNTAX     Integer32 (0..2147483647)        MAX-ACCESS read-only        STATUS     current        DESCRIPTION                "This object identifies the repeater that this                port is currently mapped to.  The repeater                identified by a particular value of this object                is the same as that identified by the same value                of vgRptrInfoIndex.  A value of zero indicates                that this port is not currently mapped to any                repeater."        ::= { vgRptrBasicPortEntry 11 }    vgRptrMonitor      OBJECT IDENTIFIER ::= { vgRptrObjects 2 }    vgRptrMonRepeater  OBJECT IDENTIFIER ::= { vgRptrMonitor 1 }    vgRptrMonitorTable OBJECT-TYPE        SYNTAX     SEQUENCE OF VgRptrMonitorEntry        MAX-ACCESS not-accessible        STATUS     current        DESCRIPTION                "A table of performance and error statistics for                each repeater in the system.  The instance of the                vgRptrInfoLastChange associated with a repeater                is used to indicate possible discontinuities of                the counters in this table that are associated                with the same repeater."        ::= { vgRptrMonRepeater 1 }    vgRptrMonitorEntry OBJECT-TYPE        SYNTAX     VgRptrMonitorEntry        MAX-ACCESS not-accessible        STATUS     current        DESCRIPTION                "An entry in the table, containing statistics                for a single repeater."        INDEX      { vgRptrInfoIndex }        ::= { vgRptrMonitorTable 1 }    VgRptrMonitorEntry ::=        SEQUENCE {            vgRptrMonTotalReadableFrames    Counter32,            vgRptrMonTotalReadableOctets    Counter32,            vgRptrMonReadableOctetRollovers Counter32,            vgRptrMonHCTotalReadableOctets  Counter64,            vgRptrMonTotalErrors            Counter32        }    vgRptrMonTotalReadableFrames OBJECT-TYPE        SYNTAX     Counter32        MAX-ACCESS read-only        STATUS     current        DESCRIPTION                "The total number of good frames of valid frame                length that have been received on all ports in                this repeater.  If an implementation cannot                obtain a count of frames as seen by the repeater                itself, this counter may be implemented as the                summation of the values of the                vgRptrPortReadableFrames counters for all of the                ports in this repeater.                This counter may experience a discontinuity when                the value of the corresponding instance of                vgRptrInfoLastChange changes."        ::= { vgRptrMonitorEntry 1 }    vgRptrMonTotalReadableOctets OBJECT-TYPE        SYNTAX     Counter32        MAX-ACCESS read-only        STATUS     current        DESCRIPTION                "The total number of octets contained in good                frames that have been received on all ports in                this repeater.  If an implementation cannot                obtain a count of octets as seen by the repeater                itself, this counter may be implemented as the                summation of the values of the                vgRptrPortReadableOctets counters for all of the                ports in this repeater.                Note that this counter can roll over very                quickly.  A management station is advised to                also poll the vgRptrReadableOctetRollovers                object, or to use the 64-bit counter defined by                vgRptrMonHCTotalReadableOctets instead of the                two 32-bit counters.                This two-counter mechanism is provided for those                network management protocols that do not support                64-bit counters (e.g. SNMPv1).  Note that                retrieval of these two counters in the same PDU                is NOT guaranteed to be atomic.                This counter may experience a discontinuity when                the value of the corresponding instance of                vgRptrInfoLastChange changes."        ::= { vgRptrMonitorEntry 2 }    vgRptrMonReadableOctetRollovers OBJECT-TYPE        SYNTAX     Counter32        MAX-ACCESS read-only        STATUS     current        DESCRIPTION                "The total number of times that the associated                instance of the vgRptrMonTotalReadableOctets                counter has rolled over.                This two-counter mechanism is provided for those                network management protocols that do not support                64-bit counters (e.g. SNMPv1).  Note that                retrieval of these two counters in the same PDU                is NOT guaranteed to be atomic.                This counter may experience a discontinuity when                the value of the corresponding instance of                vgRptrInfoLastChange changes."        ::= { vgRptrMonitorEntry 3 }    vgRptrMonHCTotalReadableOctets OBJECT-TYPE        SYNTAX     Counter64        MAX-ACCESS read-only        STATUS     current        DESCRIPTION                "The total number of octets contained in good                frames that have been received on all ports in                this repeater.  If an implementation cannot                obtain a count of octets as seen by the repeater                itself, this counter may be implemented as the                summation of the values of the                vgRptrPortHCReadableOctets counters for all of the

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -