"Fossies" - the Fresh Open Source Software Archive

Member "netxms-3.1.300/contrib/mibs/A3COM-HUAWEI-IP-ADDRESS-MIB.txt" (7 Jan 2020, 13749 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-IP-ADDRESS-MIB.txt" see the Fossies "Dox" file reference documentation.

    1 -- ====================================================================
    2 -- Copyright (c) 2004-2011 Hangzhou H3C Tech. Co., Ltd. All rights reserved.
    3 --
    4 -- Description: IPv4 address MIB
    5 -- Reference:
    6 -- Version: V1.5
    7 -- History:
    8 --   V1.0 2005-11-22 Created by Wang Hui and Liu Jinguang
    9 --        Initial version
   10 --   V1.1 2006-03-16 Modify by Yu Hongqiang
   11 --        Modify the description of some objects.
   12 --   V1.2 2007-12-18 Modify by Zhangyinfei
   13 --        Add enmu 'vrrp' for h3cIpAddrReadSourceType and h3cIpAddrReadCatalog
   14 --   V1.3 2009-8-11 Modify by lifei
   15 --        Add ip address change notify trap
   16 --   V1.4 2010-03-06 Modify by Jianzhuang Ge
   17 --        Add ipv4 address management table h3cIpv4AddrTable
   18 --   V1.5 2011-11-28 Modify by zhangshuai
   19 --        Add h3cIpAddrFirstTrapTime
   20 -- ====================================================================
   21 A3COM-HUAWEI-IP-ADDRESS-MIB DEFINITIONS ::= BEGIN
   22 
   23     IMPORTS
   24         h3cCommon
   25             FROM A3COM-HUAWEI-OID-MIB
   26         Integer32, IpAddress, OBJECT-TYPE, MODULE-IDENTITY, NOTIFICATION-TYPE,
   27         TimeTicks
   28             FROM SNMPv2-SMI
   29         RowStatus
   30             FROM SNMPv2-TC
   31         InetAddressType,InetAddress
   32             FROM INET-ADDRESS-MIB
   33         ifIndex
   34             FROM IF-MIB;
   35 
   36     h3cIpAddrMIB MODULE-IDENTITY
   37         LAST-UPDATED "200511220000Z"
   38         ORGANIZATION
   39             "H3C Technologies Co., Ltd."
   40         CONTACT-INFO
   41             "Platform Team H3C Technologies Co., Ltd.
   42             Hai-Dian District Beijing P.R. China
   43             http://www.h3c.com
   44             Zip:100085
   45             "
   46         DESCRIPTION
   47             "The MIB module for managing IPv4 address."
   48         REVISION "200511220000Z"
   49         DESCRIPTION
   50             "The initial revision of this MIB module."
   51         ::= { h3cCommon 67 }
   52 
   53 
   54 --
   55 -- Node definitions
   56 --
   57     h3cIpAddressObjects OBJECT IDENTIFIER ::= { h3cIpAddrMIB 1 }
   58 
   59     h3cIpAddressConfig OBJECT IDENTIFIER ::= { h3cIpAddressObjects 1 }
   60 
   61     h3cIpAddrSetTable OBJECT-TYPE
   62         SYNTAX SEQUENCE OF H3cIpAddrSetEntry
   63         MAX-ACCESS not-accessible
   64         STATUS current
   65         DESCRIPTION
   66             "The table of address information is relevant to this
   67             entity's IPv4 addresses for setting. The address information
   68             that can be read and set in this table is a subset of the
   69             address information that can be read in h3cIpAddrReadTable
   70             and ipAddrTable in IP-MIB. This table is used to configure IPv4
   71             addresses of an interface identified by h3cIpAddrSetIfIndex.
   72             When users create or delete an entry in this table, the agent also
   73             increases or reduces a corresponding entry in the
   74             h3cIpAddrReadTable and ipAddrTable in IP-MIB.
   75             When an interface which has been assigned IPv6 address is deleted,
   76             the agent also deletes the entry corresponding to the interface
   77             in this table and h3cIpAddrReadTable.
   78             All IPv4 addresses in this table will also show in ipAddrTable in
   79             IP-MIB.
   80             "
   81         REFERENCE
   82             "RFC 2011"
   83         ::= { h3cIpAddressConfig 1 }
   84 
   85     h3cIpAddrSetEntry OBJECT-TYPE
   86         SYNTAX H3cIpAddrSetEntry
   87         MAX-ACCESS not-accessible
   88         STATUS current
   89         DESCRIPTION
   90             "Define the IPv4 address information.
   91             "
   92         INDEX { h3cIpAddrSetIfIndex, h3cIpAddrSetAddrType, h3cIpAddrSetAddr }
   93         ::= { h3cIpAddrSetTable 1 }
   94 
   95     H3cIpAddrSetEntry ::=
   96         SEQUENCE
   97         {
   98             h3cIpAddrSetIfIndex
   99                 Integer32,
  100             h3cIpAddrSetAddrType
  101                 InetAddressType,
  102             h3cIpAddrSetAddr
  103                 InetAddress,
  104             h3cIpAddrSetMask
  105                 IpAddress,
  106             h3cIpAddrSetSourceType
  107                 INTEGER,
  108             h3cIpAddrSetCatalog
  109                 INTEGER,
  110             h3cIpAddrSetRowStatus
  111                 RowStatus
  112         }
  113 
  114     h3cIpAddrSetIfIndex OBJECT-TYPE
  115         SYNTAX Integer32 (1..2147483647)
  116         MAX-ACCESS not-accessible
  117         STATUS current
  118         DESCRIPTION
  119             "The index value which uniquely identifies the interface to
  120             which this entry is applicable. The interface identified by
  121             a particular value of this index is the same interface as
  122             identified by the same value of RFC 1573's ifIndex.
  123             "
  124         ::= { h3cIpAddrSetEntry 1 }
  125 
  126     h3cIpAddrSetAddrType OBJECT-TYPE
  127         SYNTAX InetAddressType
  128         MAX-ACCESS not-accessible
  129         STATUS current
  130         DESCRIPTION
  131             "The IP address type to which this entry's address information
  132             pertains. The value must be ipv4.
  133             "
  134         ::= { h3cIpAddrSetEntry 2 }
  135 
  136     h3cIpAddrSetAddr OBJECT-TYPE
  137         SYNTAX InetAddress
  138         MAX-ACCESS not-accessible
  139         STATUS current
  140         DESCRIPTION
  141             "The IPv4 address to which this entry's address information
  142             pertains.
  143             "
  144         ::= { h3cIpAddrSetEntry 3 }
  145 
  146     h3cIpAddrSetMask OBJECT-TYPE
  147         SYNTAX IpAddress
  148         MAX-ACCESS read-create
  149         STATUS current
  150         DESCRIPTION
  151             "The subnet mask associated with the IPv4 address of this
  152             entry. The value of the mask is an IPv4 address with all the
  153             network bits set to 1 and all the hosts bits set to 0.
  154             "
  155         ::= { h3cIpAddrSetEntry 4 }
  156 
  157     h3cIpAddrSetSourceType OBJECT-TYPE
  158         SYNTAX INTEGER
  159         {
  160             assignedIp(1)
  161         }
  162         MAX-ACCESS read-create
  163         STATUS current
  164         DESCRIPTION
  165             "Indicate the type of source of the IPv4 address."
  166         DEFVAL { assignedIp }
  167         ::= { h3cIpAddrSetEntry 5 }
  168 
  169     h3cIpAddrSetCatalog OBJECT-TYPE
  170         SYNTAX INTEGER
  171         {
  172             primary(1),
  173             sub(2)
  174         }
  175         MAX-ACCESS read-create
  176         STATUS current
  177         DESCRIPTION
  178             "Indicate the category of the IPv4 address."
  179         DEFVAL { primary }
  180         ::= { h3cIpAddrSetEntry 6 }
  181 
  182     h3cIpAddrSetRowStatus OBJECT-TYPE
  183         SYNTAX RowStatus
  184         MAX-ACCESS read-create
  185         STATUS current
  186         DESCRIPTION
  187             "This object is used to create a new row or delete an
  188             existing row in this table, only support active,
  189             createAndGo and destroy.
  190             "
  191         ::= { h3cIpAddrSetEntry 7 }
  192 
  193     h3cIpAddrReadTable OBJECT-TYPE
  194         SYNTAX SEQUENCE OF H3cIpAddrReadEntry
  195         MAX-ACCESS not-accessible
  196         STATUS current
  197         DESCRIPTION
  198             "The table of address information is relevant to this
  199             entity's IP addresses for reading. This is the extension
  200             of the ipAddrTable in IP-MIB.
  201             All IPv4 addresses in this table will also show in ipAddrTable
  202             in IP-MIB.
  203             "
  204         REFERENCE
  205             "RFC 2011"
  206         ::= { h3cIpAddressConfig 2 }
  207 
  208     h3cIpAddrReadEntry OBJECT-TYPE
  209         SYNTAX H3cIpAddrReadEntry
  210         MAX-ACCESS not-accessible
  211         STATUS current
  212         DESCRIPTION
  213             "Define the IPv4 address information.
  214             "
  215         INDEX { h3cIpAddrReadIfIndex, h3cIpAddrReadAddrType, h3cIpAddrReadAddr }
  216         ::= { h3cIpAddrReadTable 1 }
  217 
  218     H3cIpAddrReadEntry ::=
  219         SEQUENCE
  220         {
  221             h3cIpAddrReadIfIndex
  222                 Integer32,
  223             h3cIpAddrReadAddrType
  224                 InetAddressType,
  225             h3cIpAddrReadAddr
  226                 InetAddress,
  227             h3cIpAddrReadMask
  228                 IpAddress,
  229             h3cIpAddrReadSourceType
  230                 INTEGER,
  231             h3cIpAddrReadCatalog
  232                 INTEGER
  233         }
  234 
  235     h3cIpAddrReadIfIndex OBJECT-TYPE
  236         SYNTAX Integer32 (1..2147483647)
  237         MAX-ACCESS not-accessible
  238         STATUS current
  239         DESCRIPTION
  240             "The index value which uniquely identifies the interface to
  241             which this entry is applicable. The interface identified by
  242             a particular value of this index is the same interface as
  243             identified by the same value of RFC 1573's ifIndex.
  244             "
  245         ::= { h3cIpAddrReadEntry 1 }
  246 
  247     h3cIpAddrReadAddrType OBJECT-TYPE
  248         SYNTAX InetAddressType
  249         MAX-ACCESS not-accessible
  250         STATUS current
  251         DESCRIPTION
  252             "The IP address type to which this entry's address information
  253             pertains. The value must be ipv4.
  254             "
  255         ::= { h3cIpAddrReadEntry 2 }
  256 
  257     h3cIpAddrReadAddr OBJECT-TYPE
  258         SYNTAX InetAddress
  259         MAX-ACCESS not-accessible
  260         STATUS current
  261         DESCRIPTION
  262             "The IPv4 address to which this entry's address information
  263             pertains.
  264             "
  265         ::= { h3cIpAddrReadEntry 3 }
  266 
  267     h3cIpAddrReadMask OBJECT-TYPE
  268         SYNTAX IpAddress
  269         MAX-ACCESS read-only
  270         STATUS current
  271         DESCRIPTION
  272             "The subnet mask associated with the IPv4 address of this
  273             entry. The value of the mask is an IPv4 address with all the
  274             network bits set to 1 and all the hosts bits set to 0.
  275             "
  276         ::= { h3cIpAddrReadEntry 4 }
  277 
  278     h3cIpAddrReadSourceType OBJECT-TYPE
  279         SYNTAX INTEGER
  280         {
  281             assignedIp(1),
  282             cluster(2),
  283             dhcp(3),
  284             bootp(4),
  285             negotiate(5),
  286             unnumbered(6),
  287             vrrp(7)
  288         }
  289         MAX-ACCESS read-only
  290         STATUS current
  291         DESCRIPTION
  292             "Indicate the type of source of the IPv4 address."
  293         ::= { h3cIpAddrReadEntry 5 }
  294 
  295     h3cIpAddrReadCatalog OBJECT-TYPE
  296         SYNTAX INTEGER
  297         {
  298             primary(1),
  299             sub(2),
  300             cluster(3),
  301             vrrp(4)
  302         }
  303         MAX-ACCESS read-only
  304         STATUS current
  305         DESCRIPTION
  306             "Indicate the category of the IPv4 address."
  307         ::= { h3cIpAddrReadEntry 6 }
  308 
  309     h3cIpv4AddrTable OBJECT-TYPE
  310         SYNTAX SEQUENCE OF H3cIpv4AddrEntry
  311         MAX-ACCESS not-accessible
  312         STATUS current
  313         DESCRIPTION
  314             "This table is used to configure primary IPv4 address of an
  315              interface identified by ifIndex."
  316         ::= { h3cIpAddressConfig 3 }
  317 
  318     h3cIpv4AddrEntry OBJECT-TYPE
  319         SYNTAX H3cIpv4AddrEntry
  320         MAX-ACCESS not-accessible
  321         STATUS current
  322         DESCRIPTION
  323             "Define the IPv4 address information.
  324             "
  325         INDEX { ifIndex }
  326         ::= { h3cIpv4AddrTable 1 }
  327 
  328     H3cIpv4AddrEntry ::=
  329         SEQUENCE
  330         {
  331             h3cIpv4AddrAddr
  332                 IpAddress,
  333             h3cIpv4AddrMask
  334                 IpAddress,
  335             h3cIpv4AddrRowStatus
  336                 RowStatus
  337         }
  338 
  339     h3cIpv4AddrAddr OBJECT-TYPE
  340         SYNTAX IpAddress
  341         MAX-ACCESS read-create
  342         STATUS current
  343         DESCRIPTION
  344             "The IPv4 address to which this entry's address information
  345             pertains.
  346             "
  347         ::= { h3cIpv4AddrEntry 1 }
  348 
  349     h3cIpv4AddrMask OBJECT-TYPE
  350         SYNTAX IpAddress
  351         MAX-ACCESS read-create
  352         STATUS current
  353         DESCRIPTION
  354             "The subnet mask associated with the IPv4 address of this
  355             entry.  The value of the mask is an IPv4 address with all the
  356             network bits set to 1 and all the hosts bits set to 0.
  357             "
  358         ::= { h3cIpv4AddrEntry 2 }
  359 
  360     h3cIpv4AddrRowStatus OBJECT-TYPE
  361         SYNTAX RowStatus
  362         MAX-ACCESS read-create
  363         STATUS current
  364         DESCRIPTION
  365             "This object is used to create a new row or delete an
  366             existing row in this table, only support active,
  367             notInService, createAndGo and destroy.
  368             "
  369         ::= { h3cIpv4AddrEntry 3 }
  370 
  371 --
  372 -- Define the IP Address Traps.
  373 --
  374 
  375 h3cIpAddrNotify OBJECT IDENTIFIER ::= { h3cIpAddrMIB 2 }
  376 
  377 -- Scalar Objects for Notify
  378 h3cIpAddrNotifyScalarObjects OBJECT IDENTIFIER ::= { h3cIpAddrNotify 1 }
  379 
  380 h3cIpAddrNotifyIfIndex OBJECT-TYPE
  381     SYNTAX      Integer32 (1..2147483647)
  382     MAX-ACCESS  accessible-for-notify
  383     STATUS      current
  384     DESCRIPTION
  385         "The IP address IfIndex of specified interface on the device."
  386     ::= { h3cIpAddrNotifyScalarObjects 1 }
  387 
  388 h3cIpAddrOldIpAddress OBJECT-TYPE
  389     SYNTAX      InetAddress
  390     MAX-ACCESS  accessible-for-notify
  391     STATUS      current
  392     DESCRIPTION
  393         "The Old IP address of specified interface on the device."
  394     ::= { h3cIpAddrNotifyScalarObjects 2 }
  395 
  396 h3cIpAddrNewIpAddress OBJECT-TYPE
  397     SYNTAX      InetAddress
  398     MAX-ACCESS  accessible-for-notify
  399     STATUS      current
  400     DESCRIPTION
  401         "The New IP address of specified interface on the device."
  402     ::= { h3cIpAddrNotifyScalarObjects 3 }
  403 
  404 h3cIpAddrFirstTrapTime OBJECT-TYPE
  405     SYNTAX      TimeTicks
  406     MAX-ACCESS  accessible-for-notify
  407     STATUS      current
  408     DESCRIPTION
  409         "Represents the first trap time."
  410     ::= { h3cIpAddrNotifyScalarObjects 4 }
  411 
  412 
  413 -- Notification Objects
  414 h3cIpAddrNotifyObjects OBJECT IDENTIFIER ::= { h3cIpAddrNotify 2 }
  415 
  416 h3cIpAddrNotifyObjectsPrefix OBJECT IDENTIFIER ::= { h3cIpAddrNotifyObjects 0 }
  417 
  418 h3cIpAddressChangeNotify NOTIFICATION-TYPE
  419     OBJECTS
  420         {
  421             h3cIpAddrNotifyIfIndex,
  422             h3cIpAddrOldIpAddress,
  423             h3cIpAddrNewIpAddress,
  424             h3cIpAddrFirstTrapTime
  425          }
  426     STATUS      current
  427     DESCRIPTION
  428         "This notification will be generated when the IP address of interface
  429         is changed.  The change maybe originate from NMS, DHCP server or
  430         administrator.
  431 
  432         This notification announces useful IP address change.  So it
  433         is triggered by significative IP address change."
  434 
  435     ::= { h3cIpAddrNotifyObjectsPrefix 1 }
  436 
  437 END