-- ================================================================== -- Copyright (C) 2002 by HUAWEI TECHNOLOGIES. All rights reserved. -- -- Description: This file describes the huawei mib implementation of ndec -- Reference: -- Version: V1.0 -- History: -- -- -- ================================================================== HUAWEI-NDEC-MIB DEFINITIONS ::= BEGIN IMPORTS IpAddress, Counter32, Gauge32, Integer32 ,Unsigned32 ,NOTIFICATION-TYPE FROM SNMPv2-SMI Counter FROM RFC1155-SMI OBJECT-TYPE FROM RFC-1212 TRAP-TYPE FROM RFC-1215 -- DisplayString, TruthValue -- FROM SNMPv2-TC mlsr FROM HUAWEI-3COM-OID-MIB; -- HW-NDEC-MIB defination huaweiNDEC OBJECT IDENTIFIER -- LAST-UPDATED "200203120100Z" -- ORGANIZATION "HuaWei Corporation" -- CONTACT-INFO -- "HuaWei Corporation -- Phone: +86 10 8288xxxx -- Fax: +86 10 8288xxxx -- Web: http://www.huawei.com/ -- E-Mail: huawei@huawei.com" -- DESCRIPTION -- "HuaWei NDEC Root" ::= { mlsr 2 } DisplayString ::= OCTET STRING(SIZE(0..255)) ECStatus ::= INTEGER{ ec_state_invalid(1), -- status exeception ec_state_ready(2), -- status normal ec_state_resetting(3) , -- card is reseting ec_state_program_updating(4), --card is loading ec_state_disable(5) -- card is forbidden } hipsNDECInfoTable OBJECT-TYPE SYNTAX SEQUENCE OF HipsNDECInfoEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "The table is NDEC set." ::= { huaweiNDEC 6 } hipsNDECInfoEntry OBJECT-TYPE SYNTAX HipsNDECInfoEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "Each entry contains the attributes of each NDEC. " INDEX { hipsCardSlot } ::= { hipsNDECInfoTable 1 } HipsNDECInfoEntry ::= SEQUENCE { hipsCardSlot INTEGER(0..7), hipsCardStatus ECStatus, hipsCardHardVer DisplayString, hipsCardSoftVer DisplayString, hipsCardCPLDVer DisplayString, hipsDropPacInUnitTime Gauge } hipsCardSlot OBJECT-TYPE SYNTAX INTEGER(0..7) ACCESS read-only STATUS mandatory DESCRIPTION "The slot number of NDEC ." ::= { hipsNDECInfoEntry 1 } hipsCardStatus OBJECT-TYPE SYNTAX ECStatus ACCESS read-only STATUS mandatory DESCRIPTION "The state of the NDEC ." ::= { hipsNDECInfoEntry 7 } hipsCardHardVer OBJECT-TYPE SYNTAX DisplayString -- Units -- Integral Units ACCESS read-only STATUS mandatory DESCRIPTION "The version of the NDEC's hardware." ::= { hipsNDECInfoEntry 8 } hipsCardSoftVer OBJECT-TYPE SYNTAX DisplayString -- Units -- Integral Units ACCESS read-only STATUS mandatory DESCRIPTION "The version of the NDEC's software." ::= { hipsNDECInfoEntry 9 } hipsCardCPLDVer OBJECT-TYPE SYNTAX DisplayString -- Units -- Integral Units ACCESS read-only STATUS mandatory DESCRIPTION "The version of the NDEC's CPLD." ::= { hipsNDECInfoEntry 10 } hipsDropPacInUnitTime OBJECT-TYPE SYNTAX Gauge -- Units -- Integral Units ACCESS read-only STATUS mandatory DESCRIPTION "the droped packets in unit time " ::= { hipsNDECInfoEntry 12 } hipsTraps OBJECT IDENTIFIER ::= { huaweiNDEC 8 } hipsNDECNormalResetTrap NOTIFICATION-TYPE OBJECTS { hipsCardSlot,hipsCardHardVer, hipsCardSoftVer,hipsCardCPLDVer } STATUS current DESCRIPTION "This trap is generated when a NDEC card's state changed." ::= { hipsTraps 1 } hipsNDECStateChangeTrap NOTIFICATION-TYPE OBJECTS { hipsCardSlot,hipsCardStatus } STATUS current DESCRIPTION "This trap is generated when a NDEC card reset ." ::= { hipsTraps 2 } hipsNDECFlowTrap NOTIFICATION-TYPE OBJECTS { hipsCardSlot,hipsDropPacInUnitTime } STATUS current DESCRIPTION "This trap is generated when a NDEC card is overloaded ." ::= { hipsTraps 3 } --hipsNDECNormaResetTrap TRAP-TYPE -- NDEC'S STATE CHANGE trap -- ENTERPRISE hipsTrapGroup -- VARIABLES { -- hipsNDECSlotNum } -- Status -- mandatory -- DESCRIPTION -- "This trap is generated when a NDEC card's state changed. -- " -- ::= 1 --hipsNDECStateChangeTrap TRAP-TYPE -- NDEC reset trap -- ENTERPRISE hipsTrapGroup -- VARIABLES { -- hipsNDECSlotNum,hipsCardStatus } -- Status -- mandatory -- DESCRIPTION -- "This trap is generated when a NDEC card reset . -- " -- ::= 1 END