-- ================================================================== -- Copyright (C) 2002 by HUAWEI TECHNOLOGIES. All rights reserved. -- -- Description: HUAWEI Lan Switch mac management MIB -- Reference: -- Version: V1.0 -- History: --(1) Created by Zhangshilin, 2001.06.29 -- ================================================================== -- ================================================================== -- -- Varibles and types be imported -- -- ================================================================== HUAWEI_LswMAM_MIB DEFINITIONS ::= BEGIN IMPORTS MacAddress FROM SNMPv2-TC OBJECT-TYPE,INTEGER32 FROM SNMPv2-SMI lswCommon FROM HUAWEI-MIB hwdot1qVlanIndex FROM HUAWEI_LswINF_MIB; InterfaceIndex ::= TEXTUAL-CONVENTION DISPLAY-HINT "d" STATUS current DESCRIPTION "A unique value, greater than zero, for each interface or interface sub-layer in the managed system. It is recommended that values are assigned contiguously starting from 1. The value for each interface sub- layer must remain constant at least from one re- initialization of the entity's network management system to the next re-initialization." SYNTAX Integer32 -- ================================================================== -- -- ======================= definition begin ========================= -- -- ================================================================== hwLswMacPort OBJECT IDENTIFIER ::= { lswCommon 3 } hwdot1qMacSearchTable OBJECT-TYPE SYNTAX SEQUENCE OF HwDot1qMacSearchEntry ACCESS not-accessible STATUS current DESCRIPTION "Information table for searching port with mac address " ::= { hwLswMacPort 1 } hwdot1qMacSearchEntry OBJECT-TYPE SYNTAX HwDot1qMacSearchEntry ACCESS not-accessible STATUS current DESCRIPTION " Information table for searching port with mac address entry " INDEX { hwdot1qMacSearchAddress,hwdot1qMacSearchVlanID } ::= { hwdot1qMacSearchTable 1 } HwDot1qMacSearchEntry ::= SEQUENCE { hwdot1qMacSearchAddress MacAddress , hwdot1qMacSearchVlanID INTEGER , hwdot1qMacSearchPort InterfaceIndex , hwdot1qMacSearchAgeTime INTEGER } hwdot1qMacSearchAddress OBJECT-TYPE SYNTAX MacAddress ACCESS read-only STATUS current DESCRIPTION "MAC address" ::= { hwdot1qMacSearchEntry 1 } hwdot1qMacSearchVlanID OBJECT-TYPE SYNTAX INTEGER (-1 | 1..4096) ACCESS read-only STATUS current DESCRIPTION " VLANID of the native VLAN of the MAC address to be searched for " ::= { hwdot1qMacSearchEntry 2 } hwdot1qMacSearchPort OBJECT-TYPE SYNTAX InterfaceIndex ACCESS read-only STATUS current DESCRIPTION "Port index corresponding to the MAC address. From hwPortIndex." ::= { hwdot1qMacSearchEntry 3 } hwdot1qMacSearchAgeTime OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS current DESCRIPTION " Address aging time" ::= { hwdot1qMacSearchEntry 4 } hwdot1qTpFdbSetTable OBJECT-TYPE SYNTAX SEQUENCE OF HwDot1qTpFdbSetEntry ACCESS not-accessible STATUS current DESCRIPTION "Unicast address setting table " ::= { hwLswMacPort 2 } hwdot1qTpFdbSetEntry OBJECT-TYPE SYNTAX HwDot1qTpFdbSetEntry ACCESS not-accessible STATUS current DESCRIPTION " Unicast address setting table entry " INDEX { hwdot1qVlanIndex , hwdot1qTpFdbSetAddress } ::= { hwdot1qTpFdbSetTable 1 } HwDot1qTpFdbSetEntry ::= SEQUENCE { hwdot1qTpFdbSetAddress MacAddress , hwdot1qTpFdbSetPort InterfaceIndex , hwdot1qTpFdbSetStatus INTEGER, hwdot1qTpFdbSetOperate INTEGER } hwdot1qTpFdbSetAddress OBJECT-TYPE SYNTAX MacAddress ACCESS not-accessible STATUS current DESCRIPTION "Unicast MAC address " ::= { hwdot1qTpFdbSetEntry 1 } hwdot1qTpFdbSetPort OBJECT-TYPE SYNTAX InterfaceIndex ACCESS read-write STATUS current DESCRIPTION "Port index corresponding to the MAC address. From hwPortIndex. " ::= { hwdot1qTpFdbSetEntry 2 } hwdot1qTpFdbSetStatus OBJECT-TYPE SYNTAX INTEGER { other(1), learned(3), static(6), dynamic(7) } MAX-ACCESS read-write STATUS current DESCRIPTION "State corresponding to the MAC address" ::= { hwdot1qTpFdbSetEntry 3 } hwdot1qTpFdbSetOperate OBJECT-TYPE SYNTAX INTEGER { add(1), delete(2) } MAX-ACCESS write-only STATUS current DESCRIPTION "Add or delete an MAC address." ::= { hwdot1qTpFdbSetEntry 4 } END