"Fossies" - the Fresh Open Source Software Archive

Member "netxms-3.1.300/contrib/mibs/A3COM-HUAWEI-STACK-MIB.txt" (7 Jan 2020, 14576 Bytes) of package /linux/misc/netxms-3.1.300.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. For more information about "A3COM-HUAWEI-STACK-MIB.txt" see the Fossies "Dox" file reference documentation.

    1 -- =================================================================
    2 -- Copyright (c) 2004-2012 Hangzhou H3C Tech. Co., Ltd. All rights reserved.
    3 --
    4 -- Description: stack mib
    5 -- Reference: STACK-MIB
    6 -- Version: V1.1
    7 -- History:
    8 --   V1.0 created by ranbin
    9 --     Initial version 2008-04-30
   10 --   V1.1 Modified by zhengwei
   11 --     Change the range of link-delay to 0-30000ms
   12 -- =================================================================
   13 A3COM-HUAWEI-STACK-MIB DEFINITIONS ::= BEGIN
   14 
   15 IMPORTS
   16         h3cCommon
   17     FROM A3COM-HUAWEI-OID-MIB
   18         entPhysicalIndex
   19     FROM ENTITY-MIB
   20         Integer32, OBJECT-TYPE, MODULE-IDENTITY, NOTIFICATION-TYPE
   21     FROM SNMPv2-SMI;
   22 
   23 h3cStack MODULE-IDENTITY
   24     LAST-UPDATED "200804301650Z"        -- 30th April, 2007 at 16:50 GMT
   25     ORGANIZATION
   26         "Hangzhou H3C Technologies Co., Ltd."
   27     CONTACT-INFO
   28         "Platform Team H3C Technologies Co., Ltd.
   29          Hai-Dian District Beijing P.R. China
   30          Http://www.h3c.com
   31          Zip:100085"
   32     DESCRIPTION
   33         "This MIB is used to manage STM (Stack Topology Management)
   34          information for IRF (Intelligent Resilient Framework) device.
   35          This MIB is applicable to products which support IRF. Some objects in
   36          this MIB may be used only for some specific products, so users should
   37          refer to the related documents to acquire more detailed information."
   38     REVISION "200804301650Z"             -- 30th April, 2007 at 16:50 GMT
   39     DESCRIPTION
   40         "The initial revision of this MIB module."
   41     ::= { h3cCommon 91 }
   42 
   43 
   44 -- Scalar MIB objects, which are considered as global variables
   45 -- Global Level Configuration
   46 
   47 h3cStackGlobalConfig OBJECT IDENTIFIER ::= { h3cStack 1 }
   48 
   49 h3cStackMaxMember OBJECT-TYPE
   50     SYNTAX      Integer32
   51     MAX-ACCESS  read-only
   52     STATUS      current
   53     DESCRIPTION
   54         "The maximum number of members in a stack."
   55     ::= { h3cStackGlobalConfig 1 }
   56 
   57 h3cStackMemberNum OBJECT-TYPE
   58     SYNTAX      Integer32
   59     MAX-ACCESS  read-only
   60     STATUS      current
   61     DESCRIPTION
   62         "The number of members currently in a stack."
   63     ::= { h3cStackGlobalConfig 2 }
   64 
   65 h3cStackMaxConfigPriority OBJECT-TYPE
   66     SYNTAX      Integer32
   67     MAX-ACCESS  read-only
   68     STATUS      current
   69     DESCRIPTION
   70         "The highest priority that can be configured for a member in a stack."
   71     ::= { h3cStackGlobalConfig 3 }
   72 
   73 h3cStackAutoUpdate OBJECT-TYPE
   74     SYNTAX      INTEGER
   75         {
   76             disabled(1),
   77             enabled(2)
   78         }
   79     MAX-ACCESS  read-write
   80     STATUS      current
   81     DESCRIPTION
   82         "The function for automatically updating the image from master to
   83          slave. When a new device tries to join a stack, the image version is
   84          checked. When this function is enabled, if the image version of the
   85          new device is different from that of the master, the image of the new
   86          device will be updated to be consistent with that of the master.
   87          When this function is disabled, the new device can not join the stack
   88          if the image version of the new device is different from that of the
   89          master.
   90 
   91         disabled: disable auto update function
   92         enabled: enable auto update function"
   93     ::= { h3cStackGlobalConfig 4 }
   94 
   95 h3cStackMacPersistence OBJECT-TYPE
   96     SYNTAX      INTEGER
   97         {
   98             notPersist(1),
   99             persistForSixMin(2),
  100             persistForever(3)
  101         }
  102     MAX-ACCESS  read-write
  103     STATUS      current
  104     DESCRIPTION
  105         "The mode of bridge MAC address persistence. When a stack starts, the
  106          bridge MAC address of master board will be used as that of the stack.
  107          If the master board leaves the stack, the bridge MAC address of the
  108          stack will change based on the mode of bridge MAC address persistence.
  109 
  110         notPersist: The bridge MAC address of the new master board will be used
  111          as that of the stack immediately.
  112         persistForSixMin: The bridge MAC address will be reserved for six
  113          minutes. In this period, if the master board which has left the stack
  114          rejoins the stack, the bridge MAC address of the stack will not change.
  115          Otherwise, the bridge MAC address of the new master board will be used
  116          as that of the stack.
  117         persistForever: Whether the master leaves or not, the bridge MAC address
  118          of the stack will never change."
  119     ::= { h3cStackGlobalConfig 5 }
  120 
  121 h3cStackLinkDelayInterval OBJECT-TYPE
  122     SYNTAX      Integer32 (0..30000)
  123     UNITS       "millisecond"
  124     MAX-ACCESS  read-write
  125     STATUS      current
  126     DESCRIPTION
  127         "The delay time for a device in a stack to report the change of stack
  128          port link status.
  129          If the delay time is configured, a device in a stack will not report
  130          the change immediately when the stack port link status changes to down.
  131          During the delay period, if the stack port link status is resumed, the
  132          device will ignore the current change of the stack port link status.
  133          If the stack port link status is not resumed after the delay time,
  134          the device will report the change.
  135          0 means no delay, namely, the device will report the change as soon as
  136          the stack port link status changes to down.
  137 
  138         0: no delay
  139         1-30000(ms): delay time"
  140     ::= { h3cStackGlobalConfig 6 }
  141 
  142 h3cStackTopology OBJECT-TYPE
  143     SYNTAX      INTEGER
  144         {
  145             chainConn(1),
  146             ringConn(2)
  147         }
  148     MAX-ACCESS  read-only
  149     STATUS      current
  150     DESCRIPTION
  151         "The topology of the stack.
  152 
  153         chainConn: chain connection
  154         ringConn: ring connection"
  155     ::= { h3cStackGlobalConfig 7 }
  156 
  157 
  158 -- Device Level Configuration
  159 h3cStackDeviceConfigTable OBJECT-TYPE
  160     SYNTAX      SEQUENCE OF H3cStackDeviceConfigEntry
  161     MAX-ACCESS  not-accessible
  162     STATUS      current
  163     DESCRIPTION
  164         "This table contains objects to manage device information in a stack."
  165     ::= { h3cStack 2 }
  166 
  167 h3cStackDeviceConfigEntry OBJECT-TYPE
  168     SYNTAX      H3cStackDeviceConfigEntry
  169     MAX-ACCESS  not-accessible
  170     STATUS      current
  171     DESCRIPTION
  172         "This table contains objects to manage device information in a stack."
  173     INDEX
  174         {
  175             entPhysicalIndex
  176         }
  177     ::= { h3cStackDeviceConfigTable 1 }
  178 
  179 H3cStackDeviceConfigEntry ::= SEQUENCE
  180     {
  181         h3cStackMemberID          Integer32,
  182         h3cStackConfigMemberID    Integer32,
  183         h3cStackPriority          Integer32,
  184         h3cStackPortNum           Integer32,
  185         h3cStackPortMaxNum        Integer32
  186     }
  187 
  188 h3cStackMemberID OBJECT-TYPE
  189     SYNTAX      Integer32
  190     MAX-ACCESS  read-only
  191     STATUS      current
  192     DESCRIPTION
  193         "The member ID of the device in a stack."
  194     ::= { h3cStackDeviceConfigEntry 1 }
  195 
  196 h3cStackConfigMemberID OBJECT-TYPE
  197     SYNTAX      Integer32
  198     MAX-ACCESS  read-write
  199     STATUS      current
  200     DESCRIPTION
  201         "The configured member ID of the device. The valid value ranges from 1
  202          to the value of h3cStackMaxMember. After the member ID is configured
  203          for a device, if this ID is not the same with that of another device,
  204          the ID will be used as the member ID of the device when the device
  205          reboots. If a same ID exists, the member ID of the device will be set
  206          as another exclusive ID automatically."
  207     ::= { h3cStackDeviceConfigEntry 2 }
  208 
  209 h3cStackPriority OBJECT-TYPE
  210     SYNTAX      Integer32
  211     MAX-ACCESS  read-write
  212     STATUS      current
  213     DESCRIPTION
  214         "The priority of a device in a stack. The valid value ranges from 1 to
  215          the value of h3cStackMaxConfigPriority."
  216     ::= { h3cStackDeviceConfigEntry 3 }
  217 
  218 h3cStackPortNum OBJECT-TYPE
  219     SYNTAX      Integer32
  220     MAX-ACCESS  read-only
  221     STATUS      current
  222     DESCRIPTION
  223         "The number of stack ports which is enabled in a device."
  224     ::= { h3cStackDeviceConfigEntry 4 }
  225 
  226 h3cStackPortMaxNum OBJECT-TYPE
  227     SYNTAX      Integer32
  228     MAX-ACCESS  read-only
  229     STATUS      current
  230     DESCRIPTION
  231         "The maximum number of stack ports in a device."
  232     ::= { h3cStackDeviceConfigEntry 5 }
  233 
  234 
  235 -- Board Level Configuration
  236 h3cStackBoardConfigTable OBJECT-TYPE
  237     SYNTAX      SEQUENCE OF H3cStackBoardConfigEntry
  238     MAX-ACCESS  not-accessible
  239     STATUS      current
  240     DESCRIPTION
  241         "This table contains objects to manage board information of the device
  242          in a stack."
  243     ::= { h3cStack 3 }
  244 
  245 h3cStackBoardConfigEntry OBJECT-TYPE
  246     SYNTAX      H3cStackBoardConfigEntry
  247     MAX-ACCESS  not-accessible
  248     STATUS      current
  249     DESCRIPTION
  250         "This table contains objects to manage board information of the device
  251          in a stack."
  252     INDEX
  253         {
  254             entPhysicalIndex
  255         }
  256     ::= { h3cStackBoardConfigTable 1 }
  257 
  258 H3cStackBoardConfigEntry ::= SEQUENCE
  259     {
  260         h3cStackBoardRole              INTEGER,
  261         h3cStackBoardBelongtoMember    Integer32
  262     }
  263 
  264 h3cStackBoardRole OBJECT-TYPE
  265     SYNTAX      INTEGER
  266         {
  267             slave(1),
  268             master(2),
  269             loading(3),
  270             other(4)
  271         }
  272     MAX-ACCESS  read-only
  273     STATUS      current
  274     DESCRIPTION
  275         "The role of the board in a stack.
  276 
  277         slave: slave board
  278         master: master board
  279         loading: slave board whose image version is different from that of the
  280          master board.
  281         other: other"
  282     ::= { h3cStackBoardConfigEntry 1 }
  283 
  284 h3cStackBoardBelongtoMember OBJECT-TYPE
  285     SYNTAX      Integer32
  286     MAX-ACCESS  read-only
  287     STATUS      current
  288     DESCRIPTION
  289         "The member ID of the device where the current board resides in a
  290          stack."
  291     ::= { h3cStackBoardConfigEntry 2 }
  292 
  293 
  294 -- stack port Information
  295 h3cStackPortInfoTable OBJECT-TYPE
  296     SYNTAX      SEQUENCE OF H3cStackPortInfoEntry
  297     MAX-ACCESS  not-accessible
  298     STATUS      current
  299     DESCRIPTION
  300         "This table contains objects to manage stack port information of a
  301          device in a stack."
  302     ::= { h3cStack 4 }
  303 
  304 h3cStackPortInfoEntry OBJECT-TYPE
  305     SYNTAX      H3cStackPortInfoEntry
  306     MAX-ACCESS  not-accessible
  307     STATUS      current
  308     DESCRIPTION
  309         "This table contains objects to manage stack port information of a
  310          device in a stack."
  311     INDEX
  312         {
  313             h3cStackMemberID,
  314             h3cStackPortIndex
  315         }
  316     ::= { h3cStackPortInfoTable 1 }
  317 
  318 H3cStackPortInfoEntry ::= SEQUENCE
  319     {
  320         h3cStackPortIndex     Integer32,
  321         h3cStackPortEnable    INTEGER,
  322         h3cStackPortStatus    INTEGER,
  323         h3cStackNeighbor      Integer32
  324     }
  325 
  326 h3cStackPortIndex OBJECT-TYPE
  327     SYNTAX      Integer32
  328     MAX-ACCESS  accessible-for-notify
  329     STATUS      current
  330     DESCRIPTION
  331         "The index of a stack port of the device in a stack."
  332     ::= { h3cStackPortInfoEntry 1 }
  333 
  334 h3cStackPortEnable OBJECT-TYPE
  335     SYNTAX      INTEGER
  336         {
  337             disabled(1),
  338             enabled(2)
  339         }
  340     MAX-ACCESS  read-only
  341     STATUS      current
  342     DESCRIPTION
  343         "The status of the stack port of the device in a stack. If no physical
  344          port is added to the stack port, its status is 'disabled'; otherwise,
  345          its status is 'enabled'.
  346 
  347         disabled: The stack port is disabled.
  348         enabled: The stack port is enabled."
  349     ::= { h3cStackPortInfoEntry 2 }
  350 
  351 h3cStackPortStatus OBJECT-TYPE
  352     SYNTAX      INTEGER
  353         {
  354             up(1),
  355             down(2),
  356             silent(3),
  357             disabled(4)
  358         }
  359     MAX-ACCESS  read-only
  360     STATUS      current
  361     DESCRIPTION
  362         "The link status of the stack port of the device in a stack.
  363 
  364         up: The link status of a stack port with reasonable physical connection
  365          is up.
  366         down: The link status of a stack port without physical connection is
  367          down.
  368         silent: The link status of a stack port which can not be used normally
  369          is silent.
  370         disabled: The link status of a stack port in disabled status is
  371          disabled."
  372     ::= { h3cStackPortInfoEntry 3 }
  373 
  374 h3cStackNeighbor OBJECT-TYPE
  375     SYNTAX      Integer32
  376     MAX-ACCESS  read-only
  377     STATUS      current
  378     DESCRIPTION
  379         "The member ID of the stack port's neighbor in a stack. 0 means no
  380          neighbor exists."
  381     ::= { h3cStackPortInfoEntry 4 }
  382 
  383 
  384 -- Physical port Information
  385 h3cStackPhyPortInfoTable OBJECT-TYPE
  386     SYNTAX      SEQUENCE OF H3cStackPhyPortInfoEntry
  387     MAX-ACCESS  not-accessible
  388     STATUS      current
  389     DESCRIPTION
  390         "This table contains objects to manage the information for physical
  391          ports which can be used for physical connection of stack port in a
  392          stack."
  393     ::= { h3cStack 5 }
  394 
  395 h3cStackPhyPortInfoEntry OBJECT-TYPE
  396     SYNTAX      H3cStackPhyPortInfoEntry
  397     MAX-ACCESS  not-accessible
  398     STATUS      current
  399     DESCRIPTION
  400         "This table contains objects to manage the information for physical
  401          ports which can be used for physical connection of stack port in a
  402          stack."
  403     INDEX
  404         {
  405             entPhysicalIndex
  406         }
  407     ::= { h3cStackPhyPortInfoTable 1 }
  408 
  409 H3cStackPhyPortInfoEntry ::= SEQUENCE
  410     {
  411         h3cStackBelongtoPort    Integer32
  412     }
  413 
  414 h3cStackBelongtoPort OBJECT-TYPE
  415     SYNTAX      Integer32
  416     MAX-ACCESS  read-write
  417     STATUS      current
  418     DESCRIPTION
  419         "The index of the stack port to which the physical port is added. 0
  420          means the physical port is not added to any stack port. The value will
  421          be valid after the device in the stack reboots."
  422     ::= { h3cStackPhyPortInfoEntry 1 }
  423 
  424 --
  425 -- Notification definitions
  426 --
  427 -- =================================================================
  428 -- Traps are defined below.
  429 h3cStackTrap OBJECT IDENTIFIER ::= { h3cStack 6 }
  430 
  431 -- All objects used for TRAP only are defined here.
  432 h3cStackTrapOjbects OBJECT IDENTIFIER ::= { h3cStackTrap 0 }
  433 
  434 h3cStackPortLinkStatusChange  NOTIFICATION-TYPE
  435     OBJECTS
  436         {
  437             h3cStackMemberID,
  438             h3cStackPortIndex,
  439             h3cStackPortStatus
  440         }
  441 
  442     STATUS      current
  443     DESCRIPTION
  444         "The h3cStackPortLinkStatusChange trap indicates that the link status
  445          of the stack port has changed."
  446     ::= { h3cStackTrapOjbects 1 }
  447 
  448 h3cStackTopologyChange  NOTIFICATION-TYPE
  449     OBJECTS
  450         {
  451             h3cStackTopology
  452         }
  453     STATUS      current
  454     DESCRIPTION
  455         "The h3cStackTopologyChange trap indicates that the topology type of
  456          the stack has changed."
  457     ::= { h3cStackTrapOjbects 2 }
  458 
  459 END