-- ================================================================== -- Copyright (C) 2002 by HUAWEI TECHNOLOGIES. All rights reserved. -- -- Description£º HUAWEI Lan Switch Device Physical Information MIB -- Reference: -- Version: V1.0 -- History: --(1) Created by Hou Qiang, 2001.5.15 --(2) Revised by Qi Zhenglin, 2002.01.08 ----r003 revision -- ================================================================== -- ================================================================== -- -- Varibles and types be imported -- -- ================================================================== HUAWEI_DEVICE_MIB DEFINITIONS ::= BEGIN IMPORTS DisplayString, DateAndTime FROM SNMPv2-TC MODULE-IDENTITY,OBJECT-TYPE,IpAddress FROM SNMPv2-SMI lswCommon FROM HUAWEI-MIB; -- ================================================================== -- -- ======================= definition begin ========================= -- -- ================================================================== -- system information: hwLswDeviceAdmin -- ================================================================== hwLswDeviceAdmin MODULE-IDENTITY LAST-UPDATED "200101040000Z" ORGANIZATION "" CONTACT-INFO "" DESCRIPTION "" REVISION "200104040000Z" DESCRIPTION "" ::= { lswCommon 18 } hwLswSystemPara OBJECT IDENTIFIER ::= { hwLswDeviceAdmin 1 } -- ================================================================== hwLswSysIpAddr OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-only STATUS current DESCRIPTION " System IP address, which is the smallest IP address of the VLAN interface. " ::= { hwLswSystemPara 1 } hwLswSysIpMask OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-only STATUS current DESCRIPTION " Mask of the system IP address" ::= { hwLswSystemPara 2 } hwLswSysCpuRatio OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current DESCRIPTION " System CPU occupation ratio at the accuracy of 1%, ranging from 1 to 100." ::= { hwLswSystemPara 3 } hwLswSysVersion OBJECT-TYPE SYNTAX DisplayString (SIZE(1..64)) MAX-ACCESS read-only STATUS current DESCRIPTION "System version, revision version number" ::= { hwLswSystemPara 4 } hwLswSysTime OBJECT-TYPE SYNTAX DateAndTime MAX-ACCESS read-write STATUS current DESCRIPTION "System time" ::= { hwLswSystemPara 5 } -- ================================================================== -- -- slot and port management group -- -- ================================================================== hwLswSlotConf OBJECT IDENTIFIER ::= { hwLswDeviceAdmin 4 } -- ================================================================== -- -- Frame information table -- -- ================================================================== hwLswFrameTable OBJECT-TYPE SYNTAX SEQUENCE OF HwLswFrameEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Frame information table" ::= {hwLswSlotConf 2} hwLswFrameEntry OBJECT-TYPE SYNTAX HwLswFrameEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Frame description table entry" INDEX { hwLswFrameIndex } ::= {hwLswFrameTable 1} HwLswFrameEntry ::= SEQUENCE { hwLswFrameIndex INTEGER, hwLswFrameDesc DisplayString, hwLswFrameType INTEGER, hwLswSlotNumber INTEGER, hwLswFrameAdminStatus INTEGER } hwLswFrameIndex OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current DESCRIPTION "The unique index of frame" ::= {hwLswFrameEntry 1} hwLswFrameType OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current DESCRIPTION "Frame type" ::= {hwLswFrameEntry 2} hwLswFrameDesc OBJECT-TYPE SYNTAX DisplayString (SIZE(0..64)) MAX-ACCESS read-write STATUS current DESCRIPTION "Frame description with a character string not exceeding 64." ::= {hwLswFrameEntry 3} hwLswSlotNumber OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current DESCRIPTION "Number of slots of the current frame" ::= {hwLswFrameEntry 4} hwLswFrameAdminStatus OBJECT-TYPE SYNTAX INTEGER { normal (1), fault (2), other (3) } MAX-ACCESS read-only STATUS current DESCRIPTION "The Status of frame" ::= {hwLswFrameEntry 5} -- ================================================================== -- -- slot information table -- -- ================================================================== hwLswSlotTable OBJECT-TYPE SYNTAX SEQUENCE OF HwLswSlotEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Slot description table" ::= {hwLswSlotConf 3} hwLswSlotEntry OBJECT-TYPE SYNTAX HwLswSlotEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION " Slot description table entry" INDEX { hwLswFrameIndex, hwLswSlotIndex } ::= {hwLswSlotTable 1} HwLswSlotEntry ::= SEQUENCE { hwLswSlotIndex INTEGER, hwLswSlotType INTEGER, hwLswSlotDesc DisplayString, hwLswSlotCpuRatio INTEGER, hwLswSlotPcbVersion DisplayString, hwLswSlotSoftwareVersion DisplayString, hwLswSubslotNumber INTEGER, hwLswSlotAdminStatus INTEGER, hwLswSlotOperStatus INTEGER } hwLswSlotIndex OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current DESCRIPTION "Slot index. When the slot is empty, listed as vacant slot. " ::= {hwLswSlotEntry 1} hwLswSlotType OBJECT-TYPE SYNTAX INTEGER { type_NULL(0), type_10OR100M(1), type_1000BASE_LX_SM(2), type_1000BASE_SX_MM(3), type_1000BASE_TX(4), type_100M_SINGLEMODE_FX(5), type_100M_MULTIMODE_FX(6), type_100M_100BASE_TX(7), type_100M_HUB(8), type_VDSL(9), type_STACK(10), type_1000BASE_ZENITH_FX(11), type_1000BASE_LONG_FX(12), type_ADSL(13), type_4T10OR100_4FX100SM(14), type_4T10OR100_4FX100MM(15), type_VSPL(16), type_ASPL(17), type_1000M_SFP(18), Type_LS82O2CM(19), Type_LS82P2CM(20), Type_LS82O4GM(21), Type_LS82GB4C(22), Type_LS82GT4C(23), Type_LS82ST4C(24), BOARD_TYPE_LS82DSPU(25), BOARD_TYPE_LS81GP8U(26), BOARD_TYPE_LS82GT20(27), BOARD_TYPE_LS82FE48(28), Type_LS82T24B(29), Type_LSB1SRPA(30), Type_LSB1FT48A(31), Type_LSB1FT48B(32), Type_LSB1F48GA(33), Type_LSB1F48GB(34), Type_LSB1FP20A(35), Type_LSB1FP20B(36), Type_FT48A(37), Type_GP4U(38), Type_GP2U(39), Type_TGX1A(40), Type_1000BASE_LX_SM_IR_SC(41), Type_1000BASE_SX_MM_SR_SC(42), Type_1000BASE_T_RJ45(43), Type_100BASE_FX_SM_IR_SC(44), Type_100BASE_FX_MM_SR_SC(45), Type_GIGA_STACK_1M_PC(46), Type_1000BASE_LX_SM_VLR_LC(47), Type_1000BASE_LX_SM_LR_LC(48), Type_100BASE_FX_SM_LR_SC(49), Type_1000BASE_X_GBIC(50), Type_100M_SINGLEMODE_FX_LC(51), Type_100M_MULTIMODE_FX_LC(52), Type_1000BASE_4SFP(53), Type_1000BASE_4GBIC(54), Type_1000BASE_FIXED_4SFP(55), Type_1000BASE_FIXED_4GBIC(56), Type_LSB1GP12A(57), Type_LSB1GP12B(58), Type_LSB1TGX1A(59), Type_LSB1TGX1B(60), Type_LSB1P4G8A(61), Type_LSB1P4G8B(62), Type_LSB1A4G8A(63), Type_LSB1A4G8B(64), Type_FT48C(65), Type_FP20(66), BOARD_TYPE_LS81FT48(67), BOARD_TYPE_LS81GB8U(68), BOARD_TYPE_LS81GT8U(69), BOARD_TYPE_LS81FS24(70), BOARD_TYPE_LS81FM24(71), BOARD_TYPE_LS82GP20(72), Type_LSB1SRPB(73), Type_LSB1F32GA(74), Type_LSB1F32GB(75), Type_LSB1FT48C(76), Type_LSB1FT48D(77), Type_LSB1GT12A(78), Type_LSB1GT12B(79), Type_PC4U(80), Type_FT32A(81), Type_GT4U(82), Type_Main(256) } MAX-ACCESS read-only STATUS current DESCRIPTION "Slot type. BOM number is recommended. " ::= {hwLswSlotEntry 2} hwLswSlotDesc OBJECT-TYPE SYNTAX DisplayString(SIZE(0..64)) MAX-ACCESS read-write STATUS current DESCRIPTION "Slot description" ::= {hwLswSlotEntry 3} hwLswSlotCpuRatio OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current DESCRIPTION "CPU ratio occupied by the slot at the accuracy of 1%, ranging from 1 to 100. O indicates no CPU occupied. " ::= {hwLswSlotEntry 4} hwLswSlotPcbVersion OBJECT-TYPE SYNTAX DisplayString (SIZE(0..64)) MAX-ACCESS read-only STATUS current DESCRIPTION "Hardware version of the card" ::= {hwLswSlotEntry 5} hwLswSlotSoftwareVersion OBJECT-TYPE SYNTAX DisplayString (SIZE(0..64)) MAX-ACCESS read-only STATUS current DESCRIPTION " Software version of the card" ::= {hwLswSlotEntry 6} hwLswSubslotNumber OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current DESCRIPTION "Sub slot on the card" ::= {hwLswSlotEntry 7} hwLswSlotAdminStatus OBJECT-TYPE SYNTAX INTEGER { not_install (1), normal (2), fault (3), forbidden (4) } MAX-ACCESS read-only STATUS current DESCRIPTION "Slot status" ::= {hwLswSlotEntry 8} hwLswSlotOperStatus OBJECT-TYPE SYNTAX INTEGER { disable (1), enable (2), reset (3), test (4) } MAX-ACCESS read-write STATUS current DESCRIPTION "Slot operation status" ::= {hwLswSlotEntry 9} -- ================================================================== -- -- sub slot information table -- -- ================================================================== hwLswSubslotTable OBJECT-TYPE SYNTAX SEQUENCE OF HwLswSubslotEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Subslot description table " ::= {hwLswSlotConf 4} hwLswSubslotEntry OBJECT-TYPE SYNTAX HwLswSubslotEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION " Subslot description table entry" INDEX { hwLswFrameIndex, hwLswSlotIndex, hwLswSubslotIndex } ::= {hwLswSubslotTable 1} HwLswSubslotEntry ::= SEQUENCE { hwLswSubslotIndex INTEGER, hwLswSubslotType INTEGER, hwLswSubslotPortNum INTEGER, hwLswSubslotAdminStatus INTEGER, hwLswSubslotFirstIfIndex INTEGER } hwLswSubslotIndex OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current DESCRIPTION "Subslot index" ::= {hwLswSubslotEntry 1} hwLswSubslotType OBJECT-TYPE SYNTAX INTEGER { type_NULL(0), type_10OR100M(1), type_1000BASE_LX_SM(2), type_1000BASE_SX_MM(3), type_1000BASE_TX(4), type_100M_SINGLEMODE_FX(5), type_100M_MULTIMODE_FX(6), type_100M_100BASE_TX(7), type_100M_HUB(8), type_VDSL(9), type_STACK(10), type_1000BASE_ZENITH_FX(11), type_1000BASE_LONG_FX(12), type_ADSL(13), type_4T10OR100_4FX100SM(14), type_4T10OR100_4FX100MM(15), type_VSPL(16), type_ASPL(17), type_1000M_SFP(18), Type_LS82O2CM(19), Type_LS82P2CM(20), Type_LS82O4GM(21), Type_LS82GB4C(22), Type_LS82GT4C(23), Type_LS82ST4C(24), BOARD_TYPE_LS82DSPU(25), BOARD_TYPE_LS81GP8U(26), BOARD_TYPE_LS82GT20(27), BOARD_TYPE_LS82FE48(28), Type_LS82T24B(29), Type_LSB1SRPA(30), Type_LSB1FT48A(31), Type_LSB1FT48B(32), Type_LSB1F48GA(33), Type_LSB1F48GB(34), Type_LSB1FP20A(35), Type_LSB1FP20B(36), Type_FT48A(37), Type_GP4U(38), Type_GP2U(39), Type_TGX1A(40), Type_1000BASE_LX_SM_IR_SC(41), Type_1000BASE_SX_MM_SR_SC(42), Type_1000BASE_T_RJ45(43), Type_100BASE_FX_SM_IR_SC(44), Type_100BASE_FX_MM_SR_SC(45), Type_GIGA_STACK_1M_PC(46), Type_1000BASE_LX_SM_VLR_LC(47), Type_1000BASE_LX_SM_LR_LC(48), Type_100BASE_FX_SM_LR_SC(49), Type_1000BASE_X_GBIC(50), Type_100M_SINGLEMODE_FX_LC(51), Type_100M_MULTIMODE_FX_LC(52), Type_1000BASE_4SFP(53), Type_1000BASE_4GBIC(54), Type_1000BASE_FIXED_4SFP(55), Type_1000BASE_FIXED_4GBIC(56), Type_LSB1GP12A(57), Type_LSB1GP12B(58), Type_LSB1TGX1A(59), Type_LSB1TGX1B(60), Type_LSB1P4G8A(61), Type_LSB1P4G8B(62), Type_LSB1A4G8A(63), Type_LSB1A4G8B(64), Type_FT48C(65), Type_FP20(66), BOARD_TYPE_LS81FT48(67), BOARD_TYPE_LS81GB8U(68), BOARD_TYPE_LS81GT8U(69), BOARD_TYPE_LS81FS24(70), BOARD_TYPE_LS81FM24(71), BOARD_TYPE_LS82GP20(72), Type_LSB1SRPB(73), Type_LSB1F32GA(74), Type_LSB1F32GB(75), Type_LSB1FT48C(76), Type_LSB1FT48D(77), Type_LSB1GT12A(78), Type_LSB1GT12B(79), Type_PC4U(80), Type_FT32A(81), Type_GT4U(82), Type_Main(256) } MAX-ACCESS read-only STATUS current DESCRIPTION "Type of the pinch board in the subslot " ::= {hwLswSubslotEntry 2} hwLswSubslotPortNum OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current DESCRIPTION "Number of physical ports in the pinch board" ::= {hwLswSubslotEntry 3} hwLswSubslotAdminStatus OBJECT-TYPE SYNTAX INTEGER { not_install (1), normal (2), fault (3), forbidden (4) } MAX-ACCESS read-only STATUS current DESCRIPTION "Status of the pinch board in the subslot" ::= {hwLswSubslotEntry 4} hwLswSubslotFirstIfIndex OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current DESCRIPTION " ifIndex of the first physical port in the pinch board" ::= {hwLswSubslotEntry 5} -- ================================================================== -- -- port information table -- -- ================================================================== hwLswPortTable OBJECT-TYPE SYNTAX SEQUENCE OF HwLswPortEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Port configuration table" ::= {hwLswSlotConf 5} hwLswPortEntry OBJECT-TYPE SYNTAX HwLswPortEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION " Port configuration table entry" INDEX { hwLswFrameIndex, hwLswSlotIndex, hwLswSubslotIndex, hwLswPortIndex } ::= {hwLswPortTable 1} HwLswPortEntry ::= SEQUENCE { hwLswPortIndex INTEGER, hwLswPortType INTEGER, hwLswPortIfindex INTEGER, hwLswPortIsPlugged INTEGER } hwLswPortIndex OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current DESCRIPTION "The port number on the device. 1~ is the first port number, which is reserved if the port does not exit." ::= {hwLswPortEntry 1} hwLswPortType OBJECT-TYPE SYNTAX INTEGER { type_NULL(0), type_10OR100M(1), type_1000BASE_LX_SM(2), type_1000BASE_SX_MM(3), type_1000BASE_TX(4), type_100M_SINGLEMODE_FX(5), type_100M_MULTIMODE_FX(6), type_100M_100BASE_TX(7), type_100M_HUB(8), type_VDSL(9), type_STACK(10), type_1000BASE_ZENITH_FX(11), type_1000BASE_LONG_FX(12), type_ADSL(13), type_10OR100M_db(14), type_10GBASE_LR_SM(15), type_10GBASE_LX4_MM(16), type_10GBASE_LX4_SM(17), type_100M_LONG_FX(18), type_1000BASE_CX(19), type_1000BASE_ZENITH_FX_LC(20), type_1000BASE_LONG_FX_LC(21), type_100M_SM_FX_SC(22), type_100M_MM_FX_SC(23), type_100M_SM_FX_LC(24), type_100M_MM_FX_LC(25) } MAX-ACCESS read-only STATUS current DESCRIPTION "Normally the port type is the same as its card type. When there are different types of ports in one card, use the actual port type. " ::= {hwLswPortEntry 2} hwLswPortIfindex OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current DESCRIPTION " ifIndex (ifTable) corresponding to the port" ::= {hwLswPortEntry 3} hwLswPortIsPlugged OBJECT-TYPE SYNTAX INTEGER { unplugged(0), plugged(1) } MAX-ACCESS read-only STATUS current DESCRIPTION "Port is plugged or not: unplugged(0) plugged(1)" ::= {hwLswPortEntry 4} -- ================================================================== -- -- port loopback test table -- -- ================================================================== hwLswPortLoopbackTable OBJECT-TYPE SYNTAX SEQUENCE OF HwLswPortLoopbackEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Port loopback test table." ::= {hwLswSlotConf 6} hwLswPortLoopbackEntry OBJECT-TYPE SYNTAX HwLswPortLoopbackEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION " Port loopback test table entry." AUGMENTS {hwLswPortEntry } ::= {hwLswPortLoopbackTable 1} HwLswPortLoopbackEntry ::= SEQUENCE { hwLswPortLoopbackIsSupport INTEGER, hwLswPortLoopbackOperate INTEGER, hwLswPortLoopbackResult INTEGER } hwLswPortLoopbackIsSupport OBJECT-TYPE SYNTAX INTEGER { neither(1), both(2), internalOnly(3), externalOnly(4) } MAX-ACCESS read-only STATUS current DESCRIPTION "The loopback type can be supported by current port." ::= {hwLswPortLoopbackEntry 1} hwLswPortLoopbackOperate OBJECT-TYPE SYNTAX INTEGER { internalLoopback(1), externalLoopback(2) } MAX-ACCESS write-only STATUS current DESCRIPTION "Port loopback operate type." ::= {hwLswPortLoopbackEntry 2} hwLswPortLoopbackResult OBJECT-TYPE SYNTAX INTEGER { testing (0), testok (1), testfailed (2) } MAX-ACCESS read-only STATUS current DESCRIPTION "The loopback test result of the port, used for checking if the test is successful. Only after the testing will the query value on the node make sense. " ::= {hwLswPortLoopbackEntry 3} END