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

📄 bridge-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 3 页
字号:
    SEQUENCE {        dot1dTpFdbAddress            MacAddress,        dot1dTpFdbPort            INTEGER,        dot1dTpFdbStatus            INTEGER    }dot1dTpFdbAddress OBJECT-TYPE    SYNTAX  MacAddress    ACCESS  read-only    STATUS  mandatory    DESCRIPTION            "A unicast MAC address for which the bridge has            forwarding and/or filtering information."    REFERENCE            "IEEE 802.1D-1990: Section 3.9.1, 3.9.2"    ::= { dot1dTpFdbEntry 1 }dot1dTpFdbPort OBJECT-TYPE    SYNTAX  INTEGER    ACCESS  read-only    STATUS  mandatory    DESCRIPTION            "Either the value '0', or the port number of the            port on which a frame having a source address            equal to the value of the corresponding instance            of dot1dTpFdbAddress has been seen.  A value of            '0' indicates that the port number has not been            learned but that the bridge does have some            forwarding/filtering information about this            address (e.g. in the dot1dStaticTable).            Implementors are encouraged to assign the port            value to this object whenever it is learned even            for addresses for which the corresponding value of            dot1dTpFdbStatus is not learned(3)."    ::= { dot1dTpFdbEntry 2 }dot1dTpFdbStatus OBJECT-TYPE    SYNTAX  INTEGER {                other(1),                invalid(2),                learned(3),                self(4),                mgmt(5)            }    ACCESS  read-only    STATUS  mandatory    DESCRIPTION            "The status of this entry.  The meanings of the            values are:              other(1)   : none of the following.  This would                           include the case where some other                           MIB object (not the corresponding                           instance of dot1dTpFdbPort, nor an                           entry in the dot1dStaticTable) is                           being used to determine if and how                           frames addressed to the value of                           the corresponding instance of                           dot1dTpFdbAddress are being                           forwarded.              invalid(2) : this entry is not longer valid                           (e.g., it was learned but has since                           aged-out), but has not yet been                           flushed from the table.              learned(3) : the value of the corresponding                           instance of dot1dTpFdbPort was                           learned, and is being used.              self(4)    : the value of the corresponding                           instance of dot1dTpFdbAddress                           represents one of the bridge's                           addresses.  The corresponding                           instance of dot1dTpFdbPort                           indicates which of the bridge's                           ports has this address.              mgmt(5)    : the value of the corresponding                           instance of dot1dTpFdbAddress is                           also the value of an existing                           instance of dot1dStaticAddress."    ::= { dot1dTpFdbEntry 3 }--  Port Table for Transparent Bridgesdot1dTpPortTable OBJECT-TYPE    SYNTAX  SEQUENCE OF Dot1dTpPortEntry    ACCESS  not-accessible    STATUS  mandatory    DESCRIPTION            "A table that contains information about every            port that is associated with this transparent            bridge."    ::= { dot1dTp 4 }dot1dTpPortEntry OBJECT-TYPE    SYNTAX  Dot1dTpPortEntry    ACCESS  not-accessible    STATUS  mandatory    DESCRIPTION            "A list of information for each port of a            transparent bridge."    INDEX   { dot1dTpPort }    ::= { dot1dTpPortTable 1 }Dot1dTpPortEntry ::=    SEQUENCE {        dot1dTpPort            INTEGER,        dot1dTpPortMaxInfo            INTEGER,        dot1dTpPortInFrames            Counter,        dot1dTpPortOutFrames            Counter,        dot1dTpPortInDiscards            Counter    }dot1dTpPort OBJECT-TYPE    SYNTAX  INTEGER (1..65535)    ACCESS  read-only    STATUS  mandatory    DESCRIPTION            "The port number of the port for which this entry            contains Transparent bridging management            information."    ::= { dot1dTpPortEntry 1 }-- It would be nice if we could use ifMtu as the size of the-- largest INFO field, but we can't because ifMtu is defined-- to be the size that the (inter-)network layer can use which-- can differ from the MAC layer (especially if several layers-- of encapsulation are used).dot1dTpPortMaxInfo OBJECT-TYPE    SYNTAX  INTEGER    ACCESS  read-only    STATUS  mandatory    DESCRIPTION            "The maximum size of the INFO (non-MAC) field that            this port will receive or transmit."    ::= { dot1dTpPortEntry 2 }dot1dTpPortInFrames OBJECT-TYPE    SYNTAX  Counter    ACCESS  read-only    STATUS  mandatory    DESCRIPTION            "The number of frames that have been received by            this port from its segment. Note that a frame            received on the interface corresponding to this            port is only counted by this object if and only if            it is for a protocol being processed by the local            bridging function, including bridge management            frames."    REFERENCE            "IEEE 802.1D-1990: Section 6.6.1.1.3"    ::= { dot1dTpPortEntry 3 }dot1dTpPortOutFrames OBJECT-TYPE    SYNTAX  Counter    ACCESS  read-only    STATUS  mandatory    DESCRIPTION            "The number of frames that have been transmitted            by this port to its segment.  Note that a frame            transmitted on the interface corresponding to this            port is only counted by this object if and only if            it is for a protocol being processed by the local            bridging function, including bridge management            frames."    REFERENCE            "IEEE 802.1D-1990: Section 6.6.1.1.3"    ::= { dot1dTpPortEntry 4 }dot1dTpPortInDiscards OBJECT-TYPE    SYNTAX   Counter    ACCESS   read-only    STATUS   mandatory    DESCRIPTION            "Count of valid frames received which were            discarded (i.e., filtered) by the Forwarding            Process."    REFERENCE            "IEEE 802.1D-1990: Section 6.6.1.1.3"    ::= { dot1dTpPortEntry 5 }-- The Static (Destination-Address Filtering) Database-- Implementation of this group is optional.dot1dStaticTable OBJECT-TYPE    SYNTAX  SEQUENCE OF Dot1dStaticEntry    ACCESS  not-accessible    STATUS  mandatory    DESCRIPTION            "A table containing filtering information            configured into the bridge by (local or network)            management specifying the set of ports to which            frames received from specific ports and containing            specific destination addresses are allowed to be            forwarded.  The value of zero in this table as the            port number from which frames with a specific            destination address are received, is used to            specify all ports for which there is no specific            entry in this table for that particular            destination address.  Entries are valid for            unicast and for group/broadcast addresses."    REFERENCE            "IEEE 802.1D-1990: Section 6.7.2"    ::= { dot1dStatic 1 }dot1dStaticEntry OBJECT-TYPE    SYNTAX  Dot1dStaticEntry    ACCESS  not-accessible    STATUS  mandatory    DESCRIPTION            "Filtering information configured into the bridge            by (local or network) management specifying the            set of ports to which frames received from a            specific port and containing a specific            destination address are allowed to be forwarded."    REFERENCE            "IEEE 802.1D-1990: Section 6.7.2"    INDEX   { dot1dStaticAddress, dot1dStaticReceivePort }    ::= { dot1dStaticTable 1 }Dot1dStaticEntry ::=    SEQUENCE {        dot1dStaticAddress            MacAddress,        dot1dStaticReceivePort            INTEGER,        dot1dStaticAllowedToGoTo            OCTET STRING,        dot1dStaticStatus            INTEGER    }dot1dStaticAddress OBJECT-TYPE    SYNTAX  MacAddress    ACCESS  read-write    STATUS  mandatory    DESCRIPTION            "The destination MAC address in a frame to which            this entry's filtering information applies.  This            object can take the value of a unicast address, a            group address or the broadcast address."    REFERENCE            "IEEE 802.1D-1990: Section 3.9.1, 3.9.2"    ::= { dot1dStaticEntry 1 }dot1dStaticReceivePort OBJECT-TYPE    SYNTAX  INTEGER    ACCESS  read-write    STATUS  mandatory    DESCRIPTION            "Either the value '0', or the port number of the            port from which a frame must be received in order            for this entry's filtering information to apply.            A value of zero indicates that this entry applies            on all ports of the bridge for which there is no            other applicable entry."    ::= { dot1dStaticEntry 2 }dot1dStaticAllowedToGoTo OBJECT-TYPE    SYNTAX  OCTET STRING    ACCESS  read-write    STATUS  mandatory    DESCRIPTION            "The set of ports to which frames received from a            specific port and destined for a specific MAC            address, are allowed to be forwarded.  Each octet            within the value of this object specifies a set of            eight ports, with the first octet specifying ports            1 through 8, the second octet specifying ports 9            through 16, etc.  Within each octet, the most            significant bit represents the lowest numbered            port, and the least significant bit represents the            highest numbered port.  Thus, each port of the            bridge is represented by a single bit within the            value of this object.  If that bit has a value of            '1' then that port is included in the set of            ports; the port is not included if its bit has a            value of '0'.  (Note that the setting of the bit            corresponding to the port from which a frame is            received is irrelevant.)  The default value of            this object is a string of ones of appropriate            length."    ::= { dot1dStaticEntry 3 }dot1dStaticStatus OBJECT-TYPE    SYNTAX  INTEGER {                other(1),                invalid(2),                permanent(3),                deleteOnReset(4),                deleteOnTimeout(5)            }    ACCESS  read-write    STATUS  mandatory    DESCRIPTION            "This object indicates the status of this entry.            The default value is permanent(3).                 other(1) - this entry is currently in use but                      the conditions under which it will                      remain so are different from each of the                      following values.                 invalid(2) - writing this value to the object                      removes the corresponding entry.                 permanent(3) - this entry is currently in use                      and will remain so after the next reset                      of the bridge.                 deleteOnReset(4) - this entry is currently in                      use and will remain so until the next                      reset of the bridge.                 deleteOnTimeout(5) - this entry is currently                      in use and will remain so until it is                      aged out."    ::= { dot1dStaticEntry 4 }-- Traps for use by Bridges-- Traps for the Spanning Tree ProtocolnewRoot TRAP-TYPE    ENTERPRISE  dot1dBridge    DESCRIPTION            "The newRoot trap indicates that the sending agent            has become the new root of the Spanning Tree; the            trap is sent by a bridge soon after its election            as the new root, e.g., upon expiration of the            Topology Change Timer immediately subsequent to            its election.  Implementation of this trap is            optional."    ::= 1topologyChange TRAP-TYPE    ENTERPRISE  dot1dBridge    DESCRIPTION            "A topologyChange trap is sent by a bridge when            any of its configured ports transitions from the            Learning state to the Forwarding state, or from            the Forwarding state to the Blocking state.  The            trap is not sent if a newRoot trap is sent for the            same transition.  Implementation of this trap is            optional."    ::= 2END

⌨️ 快捷键说明

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