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

📄 q-bridge-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 5 页
字号:
Q-BRIDGE-MIB DEFINITIONS ::= BEGIN-- --------------------------------------------------------------- MIB for IEEE 802.1Q Devices-- -------------------------------------------------------------IMPORTS    MODULE-IDENTITY, OBJECT-TYPE,    Counter32, Counter64, Unsigned32, TimeTicks        FROM SNMPv2-SMI    RowStatus, TruthValue, TEXTUAL-CONVENTION, MacAddress        FROM SNMPv2-TC    SnmpAdminString        FROM SNMP-FRAMEWORK-MIB    MODULE-COMPLIANCE, OBJECT-GROUP        FROM SNMPv2-CONF    dot1dBridge, dot1dBasePortEntry, dot1dBasePort        FROM BRIDGE-MIB    EnabledStatus        FROM P-BRIDGE-MIB    TimeFilter        FROM RMON2-MIB;qBridgeMIB MODULE-IDENTITY    LAST-UPDATED "9908250000Z"    ORGANIZATION "IETF Bridge MIB Working Group"    CONTACT-INFO        "       Les Bell        Postal: 3Com Europe Ltd.                3Com Centre, Boundary Way                Hemel Hempstead, Herts. HP2 7YU                UK         Phone: +44 1442 438025         Email: Les_Bell@3Com.com                Andrew Smith        Postal: Extreme Networks                3585 Monroe St.                Santa Clara CA 95051                USA         Phone: +1 408 579 2821         Email: andrew@extremenetworks.com                Paul Langille        Postal: Newbridge Networks                5 Corporate Drive                Andover, MA 01810                USA         Phone: +1 978 691 4665         Email: langille@newbridge.com                Anil Rijhsinghani        Postal: Cabletron Systems                50 Minuteman Road                Andover, MA 01810                USA         Phone: +1 978 684 1295         Email: anil@cabletron.com                Keith McCloghrie        Postal: cisco Systems, Inc.                170 West Tasman Drive                San Jose, CA 95134-1706                USA         Phone: +1 408 526 5260         Email: kzm@cisco.com"    DESCRIPTION        "The VLAN Bridge MIB module for managing Virtual Bridged        Local Area Networks, as defined by IEEE 802.1Q-1998."-- revision history    REVISION     "9908250000Z"    DESCRIPTION         "Initial version, published as RFC 2674."    ::= { dot1dBridge 7 }qBridgeMIBObjects OBJECT IDENTIFIER ::= { qBridgeMIB 1 }-- --------------------------------------------------------------- Textual Conventions-- -------------------------------------------------------------PortList ::= TEXTUAL-CONVENTION    STATUS      current    DESCRIPTION        "Each octet within this value 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'."    SYNTAX      OCTET STRINGVlanIndex ::= TEXTUAL-CONVENTION    STATUS      current    DESCRIPTION        "A value used to index per-VLAN tables: values of 0 and        4095 are not permitted; if the value is between 1 and        4094 inclusive, it represents an IEEE 802.1Q VLAN-ID with        global scope within a given bridged domain (see VlanId        textual convention).  If the value is greater than 4095        then it represents a VLAN with scope local to the        particular agent, i.e. one without a global VLAN-ID        assigned to it. Such VLANs are outside the scope of        IEEE 802.1Q but it is convenient to be able to manage them        in the same way using this MIB."    SYNTAX      Unsigned32VlanId ::= TEXTUAL-CONVENTION    STATUS      current    DESCRIPTION        "A 12-bit VLAN ID used in the VLAN Tag header."    SYNTAX      INTEGER (1..4094)-- --------------------------------------------------------------- groups in the Q-BRIDGE MIB-- -------------------------------------------------------------dot1qBase       OBJECT IDENTIFIER ::= { qBridgeMIBObjects 1 }dot1qTp         OBJECT IDENTIFIER ::= { qBridgeMIBObjects 2 }dot1qStatic     OBJECT IDENTIFIER ::= { qBridgeMIBObjects 3 }dot1qVlan       OBJECT IDENTIFIER ::= { qBridgeMIBObjects 4 }-- --------------------------------------------------------------- --------------------------------------------------------------- dot1qBase group-- -------------------------------------------------------------dot1qVlanVersionNumber OBJECT-TYPE    SYNTAX      INTEGER {                    version1(1)                }    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The version number of IEEE 802.1Q that this device        supports."    REFERENCE        "IEEE 802.1Q/D11 Section 12.10.1.1"    ::= { dot1qBase 1 }dot1qMaxVlanId OBJECT-TYPE    SYNTAX      VlanId    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The maximum IEEE 802.1Q VLAN ID that this device        supports."    REFERENCE        "IEEE 802.1Q/D11 Section 9.3.2.3"    ::= { dot1qBase 2 }dot1qMaxSupportedVlans OBJECT-TYPE    SYNTAX      Unsigned32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The maximum number of IEEE 802.1Q VLANs that this        device supports."    REFERENCE        "IEEE 802.1Q/D11 Section 12.10.1.1"    ::= { dot1qBase 3 }dot1qNumVlans OBJECT-TYPE    SYNTAX      Unsigned32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The current number of IEEE 802.1Q VLANs that are        configured in this device."    REFERENCE        "IEEE 802.1Q/D11 Section 12.7.1.1"    ::= { dot1qBase 4 }dot1qGvrpStatus OBJECT-TYPE    SYNTAX      EnabledStatus    MAX-ACCESS  read-write    STATUS      current    DESCRIPTION        "The administrative status requested by management for        GVRP.  The value enabled(1) indicates that GVRP should        be enabled on this device, on all ports for which it has        not been specifically disabled.  When disabled(2), GVRP        is disabled on all ports and all GVRP packets will be        forwarded transparently.  This object affects all GVRP        Applicant and Registrar state machines.  A transition        from disabled(2) to enabled(1) will cause a reset of all        GVRP state machines on all ports."    DEFVAL      { enabled }    ::= { dot1qBase 5 }-- --------------------------------------------------------------- the dot1qTp group-- --------------------------------------------------------------- --------------------------------------------------------------- the current Filtering Database Table-- -------------------------------------------------------------dot1qFdbTable OBJECT-TYPE    SYNTAX      SEQUENCE OF Dot1qFdbEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "A table that contains configuration and control        information for each Filtering Database currently        operating on this device.  Entries in this table appear        automatically when VLANs are assigned FDB IDs in the        dot1qVlanCurrentTable."    ::= { dot1qTp 1 }dot1qFdbEntry OBJECT-TYPE    SYNTAX      Dot1qFdbEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "Information about a specific Filtering Database."    INDEX   { dot1qFdbId }    ::= { dot1qFdbTable 1 }Dot1qFdbEntry ::=    SEQUENCE {        dot1qFdbId            Unsigned32,        dot1qFdbDynamicCount            Counter32    }dot1qFdbId OBJECT-TYPE    SYNTAX       Unsigned32    MAX-ACCESS   not-accessible    STATUS       current    DESCRIPTION        "The identity of this Filtering Database."    ::= { dot1qFdbEntry 1 }dot1qFdbDynamicCount OBJECT-TYPE    SYNTAX       Counter32    MAX-ACCESS   read-only    STATUS       current    DESCRIPTION        "The current number of dynamic entries in this        Filtering Database."    REFERENCE        "IEEE 802.1Q/D11 Section 12.7.1.1.3"    ::= { dot1qFdbEntry 2 }-- --------------------------------------------------------------- Multiple Forwarding Databases for 802.1Q Transparent devices-- This table is an alternative to the dot1dTpFdbTable,-- previously defined for 802.1D devices which only support a-- single Forwarding Database.-- -------------------------------------------------------------dot1qTpFdbTable OBJECT-TYPE    SYNTAX      SEQUENCE OF Dot1qTpFdbEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "A table that contains information about unicast entries        for which the device has forwarding and/or filtering        information.  This information is used by the        transparent bridging function in determining how to        propagate a received frame."    REFERENCE        "IEEE 802.1Q/D11 Section 12.7.7"    ::= { dot1qTp 2 }dot1qTpFdbEntry OBJECT-TYPE    SYNTAX      Dot1qTpFdbEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "Information about a specific unicast MAC address for        which the device has some forwarding and/or filtering        information."    INDEX   { dot1qFdbId, dot1qTpFdbAddress }    ::= { dot1qTpFdbTable 1 }Dot1qTpFdbEntry ::=    SEQUENCE {        dot1qTpFdbAddress            MacAddress,        dot1qTpFdbPort            INTEGER,        dot1qTpFdbStatus            INTEGER    }dot1qTpFdbAddress OBJECT-TYPE    SYNTAX      MacAddress    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "A unicast MAC address for which the device has        forwarding and/or filtering information."    ::= { dot1qTpFdbEntry 1 }dot1qTpFdbPort OBJECT-TYPE    SYNTAX      INTEGER (0..65535)    MAX-ACCESS  read-only    STATUS      current    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 dot1qTpFdbAddress has        been seen.  A value of '0' indicates that the port        number has not been learned but that the device does        have some forwarding/filtering information about this        address (e.g. in the dot1qStaticUnicastTable).        Implementors are encouraged to assign the port value to        this object whenever it is learned even for addresses        for which the corresponding value of dot1qTpFdbStatus is        not learned(3)."    ::= { dot1qTpFdbEntry 2 }dot1qTpFdbStatus OBJECT-TYPE    SYNTAX      INTEGER {                    other(1),                    invalid(2),                    learned(3),                    self(4),                    mgmt(5)                }    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The status of this entry.  The meanings of the values        are:            other(1) - none of the following.  This may include                the case where some other MIB object (not the                corresponding instance of dot1qTpFdbPort, nor an                entry in the dot1qStaticUnicastTable) is being                used to determine if and how frames addressed to                the value of the corresponding instance of                dot1qTpFdbAddress are being forwarded.            invalid(2) - this entry is no 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 dot1qTpFdbPort was learned and is being used.            self(4) - the value of the corresponding instance of                dot1qTpFdbAddress represents one of the device's                addresses.  The corresponding instance of                dot1qTpFdbPort indicates which of the device's                ports has this address.            mgmt(5) - the value of the corresponding instance of                dot1qTpFdbAddress is also the value of an                existing instance of dot1qStaticAddress."    ::= { dot1qTpFdbEntry 3 }-- --------------------------------------------------------------- Dynamic Group Registration Table-- -------------------------------------------------------------dot1qTpGroupTable OBJECT-TYPE    SYNTAX      SEQUENCE OF Dot1qTpGroupEntry    MAX-ACCESS  not-accessible    STATUS      current

⌨️ 快捷键说明

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