-- ----------------------------------------------------------------------------- -- MIB NAME : Ethernet OAM Common mib -- FILE NAME: EthernetOAM.mib -- DATE : 2011/3/10 -- VERSION : 1.00 -- PURPOSE : To construct the MIB structure of Ethernet OAM -- for proprietary enterprise -- ----------------------------------------------------------------------------- -- MODIFICTION HISTORY: -- ----------------------------------------------------------------------------- -- Version, Date, Author -- Description: -- [New Object] -- [Modification] -- Notes: (Requested by who and which project) -- -- Version 1.00, 2011/3/10, Wang Yu -- This is the first formal version for universal MIB definition. -- Notes:Requested by DES-3700-28 -- ----------------------------------------------------------------------------- ETHERNET-OAM-MIB DEFINITIONS ::= BEGIN IMPORTS MODULE-IDENTITY,OBJECT-TYPE, Unsigned32, Counter32 FROM SNMPv2-SMI ifIndex FROM IF-MIB dlink-common-mgmt FROM DLINK-ID-REC-MIB; swEthernetOamMIB MODULE-IDENTITY LAST-UPDATED "201103100000Z" ORGANIZATION "D-Link Corp." CONTACT-INFO "http://support.dlink.com" DESCRIPTION "The Ethernet OAM module MIB for the proprietary enterprise." ::= { dlink-common-mgmt 100} swEtherOamMgmtNotifications OBJECT IDENTIFIER ::= { swEthernetOamMIB 0 } swEtherOamMgmtMIBObjects OBJECT IDENTIFIER ::= { swEthernetOamMIB 1 } swEtherOamMgmtGeneralGroup OBJECT IDENTIFIER ::= { swEtherOamMgmtMIBObjects 1 } -- ----------------------------------------------------------------------------- -- swEtherOamRemoteLoopbackTable -- ----------------------------------------------------------------------------- swEtherOamRemoteLoopbackTable OBJECT-TYPE SYNTAX SEQUENCE OF SwEtherOamRemoteLoopbackEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This table only contains the private OAM remote loopback information for each Ethernet port in the system. This table doesn't contains the Ethernet OAM control and status information defined in IEEE 802.3ah." ::= { swEtherOamMgmtMIBObjects 2 } swEtherOamRemoteLoopbackEntry OBJECT-TYPE SYNTAX SwEtherOamRemoteLoopbackEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entry in the table that contains private OAM remote loopback information for a single Ethernet port." INDEX {ifIndex} ::= { swEtherOamRemoteLoopbackTable 1 } SwEtherOamRemoteLoopbackEntry ::= SEQUENCE { swEtherOamRemoteLoopbackTestStatus INTEGER, swEtherOamRemoteLoopbackTimeout Unsigned32 } swEtherOamRemoteLoopbackTestStatus OBJECT-TYPE SYNTAX INTEGER {enabled(1), disabled(2) } MAX-ACCESS read-write STATUS current DESCRIPTION "If enabled(1), once the OAM remote peer enters OAM loopback status, the Ethernet port sends out test PDU to remote peer according the rate of 10 packets per seconds. If disabled(2), the port does not send out test PDU automatically." DEFVAL { disabled } ::= { swEtherOamRemoteLoopbackEntry 1 } swEtherOamRemoteLoopbackTimeout OBJECT-TYPE SYNTAX Unsigned32 (1..65535) UNITS "seconds" MAX-ACCESS read-write STATUS current DESCRIPTION "This object indicates the remote loopback time of the Ethernet port. If OAM remote peer enters loopback status, a remote loopback timer of the port starts. If no remote loopback command input before the timer expired, the local sends out the loopback stop OAMPDU to remote and then exits remote loopback status automatically. The value 65535 means never stop the remote loopback automatically." DEFVAL { 65535 } ::= { swEtherOamRemoteLoopbackEntry 2 } -- ----------------------------------------------------------------------------- -- swEtherOamRemoteLoopbackTestResultTable -- ----------------------------------------------------------------------------- swEtherOamRemoteLoopbackTestResultTable OBJECT-TYPE SYNTAX SEQUENCE OF SwEtherOamRemoteLoopbackTestResultEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This table only contains remote loopback test result information for each Ethernet port in the system." ::= { swEtherOamMgmtMIBObjects 3 } swEtherOamRemoteLoopbackTestResultEntry OBJECT-TYPE SYNTAX SwEtherOamRemoteLoopbackTestResultEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entry in the table that contains remote loopback test result information for for a single Ethernet port." INDEX {ifIndex} ::= { swEtherOamRemoteLoopbackTestResultTable 1 } SwEtherOamRemoteLoopbackTestResultEntry ::= SEQUENCE { swEtherOamRemoteLoopbackTestTime Unsigned32, swEtherOamRemoteLoopbackTestTx Counter32, swEtherOamRemoteLoopbackTestRx Counter32, swEtherOamRemoteLoopbackClearAction INTEGER } swEtherOamRemoteLoopbackTestTime OBJECT-TYPE SYNTAX Unsigned32 UNITS "seconds" MAX-ACCESS read-only STATUS current DESCRIPTION "This object indicates the last remote loopback test time of the Ethernet port. 0 means no remote loopback test." ::= { swEtherOamRemoteLoopbackTestResultEntry 1 } swEtherOamRemoteLoopbackTestTx OBJECT-TYPE SYNTAX Counter32 UNITS "frames" MAX-ACCESS read-only STATUS current DESCRIPTION "This object indicates the transmitted packets of the Ethernet port in the last remote loopback test." ::= { swEtherOamRemoteLoopbackTestResultEntry 2 } swEtherOamRemoteLoopbackTestRx OBJECT-TYPE SYNTAX Counter32 UNITS "frames" MAX-ACCESS read-only STATUS current DESCRIPTION "This object indicates the received packets of the Ethernet port in the last remote loopback test." ::= { swEtherOamRemoteLoopbackTestResultEntry 3 } swEtherOamRemoteLoopbackClearAction OBJECT-TYPE SYNTAX INTEGER{ other(1), start(2) } MAX-ACCESS read-write STATUS current DESCRIPTION "This object indicates whether to clear the remote loopback test result information." ::= { swEtherOamRemoteLoopbackTestResultEntry 4 } END