"Fossies" - the Fresh Open Source Software Archive

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

    1 -- =================================================================
    2 -- Copyright (c) 2004-2010 Hangzhou H3C Tech. Co., Ltd. All rights reserved.
    3 --
    4 -- Description: This file describes the enterprise mib implementation
    5 --              of sending some traps.
    6 -- Reference:
    7 -- Version: V1.5
    8 -- History:
    9 --   V1.0 created by Huang Yang
   10 --     Initial version 2005-01-25
   11 --   V1.1 2005-10-27  added h3cArpPortDynamicEntryFullTrap by ZhangLin
   12 --   V1.2 2007-02-06  added h3cNdTabTrapEnable, h3cNdTabTrapInterval,
   13 --                    h3cNdTabLen and h3cNdTabFullTrap by lizuxing04859
   14 --   V1.3 2008-07-18  added h3cPeriodicalTrapGroup by songhao
   15 --   V1.4 2009-10-09   modified h3cPeriodicalTrapInterval by lisong
   16 --   V1.5 2010-03-06  added h3cPeriodicalTrapSwitch, h3cTrapDesInfoTable
   17 --                    h3cTrapConfigTable by haoyan
   18 --        2010-04-29  added h3cDefaultRtDelTrap by wenchenhua
   19 --        2010-06-05  added h3cTrapDesAddrTAddress by jinyi
   20 -- =================================================================
   21 A3COM-HUAWEI-TRAP-MIB DEFINITIONS ::= BEGIN
   22 
   23     IMPORTS
   24         IpAddress
   25             FROM SNMPv2-SMI
   26         SnmpAdminString
   27             FROM SNMP-FRAMEWORK-MIB
   28         ifIndex, ifDescr, InterfaceIndex
   29             FROM IF-MIB
   30         RowStatus, TAddress, TruthValue
   31             FROM SNMPv2-TC
   32         Integer32, OBJECT-TYPE,
   33         MODULE-IDENTITY, NOTIFICATION-TYPE
   34             FROM SNMPv2-SMI
   35         InetAddressType, InetAddress
   36             FROM INET-ADDRESS-MIB
   37         h3cCommon
   38             FROM A3COM-HUAWEI-OID-MIB;
   39 
   40     h3cTrap MODULE-IDENTITY
   41         LAST-UPDATED "201006051050Z"
   42         ORGANIZATION
   43             "Hangzhou H3C Technologies Co., Ltd."
   44         CONTACT-INFO
   45             "Platform Team H3C Technologies Co., Ltd.
   46              Hai-Dian District Beijing P.R. China
   47              http://www.h3c.com
   48              Zip: 100085"
   49         DESCRIPTION
   50             "This MIB is applicable to routers, switches and other products.
   51 
   52             Some objects in this may be used only for some specific products,
   53             so users should refer to the related documents to acquire more
   54             detail information.
   55             "
   56         REVISION "201006051050Z"
   57         DESCRIPTION
   58             "The initial revision of this MIB module."
   59         ::= { h3cCommon 38 }
   60 
   61 
   62 --
   63 -- Node definitions
   64 --
   65     h3cTableGroup OBJECT IDENTIFIER ::= { h3cTrap 1 }
   66 
   67 -- Describe objects for MAC table
   68     h3cMacTabStatGroup OBJECT IDENTIFIER ::= { h3cTableGroup 1 }
   69 
   70     h3cMacTabTrapEnable OBJECT-TYPE
   71         SYNTAX INTEGER{
   72                         enable(1),
   73                         disable(2)
   74                         }
   75         MAX-ACCESS read-write
   76         STATUS current
   77         DESCRIPTION
   78             "Indicates whether h3cMacTabFullTrap and
   79             h3cMacTabAlmostFullTrap traps should be generated
   80             when the MAC table is filled."
   81         DEFVAL { enable }
   82         ::= { h3cMacTabStatGroup 1 }
   83 
   84     h3cMacTabTrapInterval OBJECT-TYPE
   85         SYNTAX Integer32 (30..3600)
   86         UNITS "seconds"
   87         MAX-ACCESS read-write
   88         STATUS current
   89         DESCRIPTION
   90             "Definition of the minimum interval between two
   91             traps which occur when the MAC table is full or
   92             two traps which occur when the MAC table is almost full."
   93         DEFVAL { 30 }
   94         ::= { h3cMacTabStatGroup 2 }
   95 
   96     h3cMacTabTrapInfo OBJECT IDENTIFIER ::= { h3cMacTabStatGroup 3 }
   97 
   98     h3cMacTabLen OBJECT-TYPE
   99         SYNTAX Integer32
  100         MAX-ACCESS accessible-for-notify
  101         STATUS current
  102         DESCRIPTION
  103             "The length of the MAC table."
  104         ::= { h3cMacTabTrapInfo 1 }
  105 
  106     h3cMacTabTrap OBJECT IDENTIFIER ::= { h3cMacTabStatGroup 4 }
  107 
  108     h3cMacTabFullTrap NOTIFICATION-TYPE
  109             OBJECTS { h3cMacTabLen }
  110             STATUS current
  111             DESCRIPTION
  112                 "Send this trap when the MAC table is filled.  The
  113                 interval between two traps generated should be longer
  114                 than h3cMacTabTrapInterval."
  115             ::= { h3cMacTabTrap 1 }
  116 
  117     h3cMacTabAlmostFullTrap NOTIFICATION-TYPE
  118             STATUS current
  119             DESCRIPTION
  120                 "Send this trap when the MAC table is almost full.  The
  121                 interval between two traps generated should be longer
  122                 than h3cMacTabTrapInterval."
  123             ::= { h3cMacTabTrap 2 }
  124 
  125 -- Describe objects for ARP table
  126     h3cArpTabStatGroup OBJECT IDENTIFIER ::= { h3cTableGroup 2 }
  127 
  128     h3cArpTabTrapEnable OBJECT-TYPE
  129         SYNTAX INTEGER {
  130                         enable(1),
  131                         disable(2)
  132                         }
  133         MAX-ACCESS read-write
  134         STATUS current
  135         DESCRIPTION
  136             "Indicates whether h3cArpTabFullTrap traps
  137             should be generated when the ARP table is filled."
  138         DEFVAL { enable }
  139         ::= { h3cArpTabStatGroup 1 }
  140 
  141     h3cArpTabTrapInterval OBJECT-TYPE
  142         SYNTAX Integer32 (30..3600)
  143         UNITS "seconds"
  144         MAX-ACCESS read-write
  145         STATUS current
  146         DESCRIPTION
  147             "Definition of the minimum interval between two traps
  148             which occur when the ARP table is filled."
  149         DEFVAL { 30 }
  150         ::= { h3cArpTabStatGroup 2 }
  151 
  152     h3cArpTabTrapInfo OBJECT IDENTIFIER ::= { h3cArpTabStatGroup 3 }
  153 
  154     h3cArpTabLen OBJECT-TYPE
  155         SYNTAX Integer32
  156         MAX-ACCESS accessible-for-notify
  157         STATUS current
  158         DESCRIPTION
  159             "The length of the ARP table."
  160         ::= { h3cArpTabTrapInfo 1 }
  161 
  162     h3cArpTabTrap OBJECT IDENTIFIER ::= { h3cArpTabStatGroup 4 }
  163 
  164     h3cArpTabFullTrap NOTIFICATION-TYPE
  165             OBJECTS { h3cArpTabLen }
  166             STATUS current
  167             DESCRIPTION
  168                 "Send this trap when the ARP table is filled.  The
  169                 interval between two traps generated should be longer
  170                 than h3cArpTabTrapInterval."
  171             ::= { h3cArpTabTrap 1 }
  172 
  173     h3cArpPortDynamicEntryFullTrap NOTIFICATION-TYPE
  174             OBJECTS { h3cArpTabLen, ifIndex, ifDescr }
  175             STATUS current
  176             DESCRIPTION
  177                  "Send this trap when the dynamic ARP number of the
  178                 port exceeds the limitation. The object h3cArpTabLen
  179                 describes the limitation of the max dynamic ARP number
  180                 of this port. The interval between two traps should be
  181                 longer than h3cArpTabTrapInterval."
  182             ::= { h3cArpTabTrap 2 }
  183 
  184 -- Describe objects for routing table
  185     h3cRtTabStatGroup OBJECT IDENTIFIER ::= { h3cTableGroup 3 }
  186 
  187     h3cDetailRtTrapTable OBJECT-TYPE
  188         SYNTAX SEQUENCE OF H3cDetailRtTrapEntry
  189         MAX-ACCESS not-accessible
  190         STATUS current
  191         DESCRIPTION
  192             "This table contains objects to decide what kind of
  193             trap should be sent."
  194         ::= { h3cRtTabStatGroup 1 }
  195 
  196     h3cDetailRtTrapEntry OBJECT-TYPE
  197         SYNTAX H3cDetailRtTrapEntry
  198         MAX-ACCESS not-accessible
  199         STATUS current
  200         DESCRIPTION
  201             "Entry items"
  202         INDEX { h3cDetailRtProType }
  203         ::= { h3cDetailRtTrapTable 1 }
  204 
  205     H3cDetailRtTrapEntry ::=
  206         SEQUENCE {
  207             h3cDetailRtProType
  208                 INTEGER,
  209             h3cDetailRtEnable
  210                 INTEGER
  211         }
  212 
  213     h3cDetailRtProType OBJECT-TYPE
  214         SYNTAX INTEGER {
  215             other(1),       -- none of the following
  216 
  217                             -- non-protocol information,
  218                             -- e.g., manually configured
  219             local(2),       -- entries
  220             rip(3),
  221             isis(4),
  222             ospf(5),
  223             bgp(6)
  224         }
  225         MAX-ACCESS accessible-for-notify
  226         STATUS current
  227         DESCRIPTION
  228             "The index value which uniquely identifies an entry
  229             in the h3cDetailRtTrapTable."
  230         ::= { h3cDetailRtTrapEntry 1 }
  231 
  232     h3cDetailRtEnable OBJECT-TYPE
  233         SYNTAX INTEGER {
  234                         enable(1),
  235                         disable(2)
  236                         }
  237         MAX-ACCESS read-write
  238         STATUS current
  239         DESCRIPTION
  240             "Indicates whether h3cDetailRtTabFullTrap traps
  241             should be generated when a specific routing table
  242             is filled."
  243         DEFVAL { enable }
  244         ::= { h3cDetailRtTrapEntry 2 }
  245 
  246     h3cRtTabTrapEnable OBJECT-TYPE
  247         SYNTAX INTEGER {
  248                         enable(1),
  249                         disable(2)
  250                         }
  251         MAX-ACCESS read-write
  252         STATUS current
  253         DESCRIPTION
  254             "Indicates whether h3cRtTabFullTrap traps should
  255             be generated when the routing table is filled."
  256         DEFVAL { enable }
  257         ::= { h3cRtTabStatGroup 2 }
  258 
  259     h3cRtTabTrapInterval OBJECT-TYPE
  260         SYNTAX Integer32 (30..3600)
  261         UNITS "seconds"
  262         MAX-ACCESS read-write
  263         STATUS current
  264         DESCRIPTION
  265             "Definition of the minimum interval between two
  266             traps which occur when the routing table is filled."
  267         DEFVAL { 30 }
  268         ::= { h3cRtTabStatGroup 3 }
  269 
  270     h3cRtTabTrapInfo OBJECT IDENTIFIER ::= { h3cRtTabStatGroup 4 }
  271 
  272     h3cRtTabLen OBJECT-TYPE
  273         SYNTAX Integer32
  274         MAX-ACCESS accessible-for-notify
  275         STATUS current
  276         DESCRIPTION
  277             "The length of the routing table.  The detail
  278             routing tables also use the same object."
  279         ::= { h3cRtTabTrapInfo 1 }
  280 
  281     h3cDefaultRtNextHopType OBJECT-TYPE
  282         SYNTAX InetAddressType
  283         MAX-ACCESS accessible-for-notify
  284         STATUS current
  285         DESCRIPTION
  286             "The IP address type of the next hop of the default route.
  287             The value must be ipv4 or ipv6"
  288         ::= { h3cRtTabTrapInfo 2 }
  289 
  290     h3cDefaultRtNextHop OBJECT-TYPE
  291         SYNTAX InetAddress
  292         MAX-ACCESS accessible-for-notify
  293         STATUS current
  294         DESCRIPTION
  295             "The IP address of the next hop of the default route."
  296         ::= { h3cRtTabTrapInfo 3 }
  297 
  298     h3cDefaultRtOutIf OBJECT-TYPE
  299         SYNTAX InterfaceIndex
  300         MAX-ACCESS accessible-for-notify
  301         STATUS current
  302         DESCRIPTION
  303             "The index value which uniquely identifies the
  304              local interface through which the next hop of this
  305              route should be reached.  The interface identified
  306              by a particular value of this index is the same
  307              interface as identified by the same value of
  308              ifIndex."
  309         ::= { h3cRtTabTrapInfo 4 }
  310 
  311     h3cRtTabTrap OBJECT IDENTIFIER ::= { h3cRtTabStatGroup 5 }
  312 
  313     h3cRtTabFullTrap NOTIFICATION-TYPE
  314             OBJECTS { h3cRtTabLen }
  315             STATUS current
  316             DESCRIPTION
  317                 "Send this trap when the routing table is filled.  The
  318                 interval between two traps generated should be longer
  319                 than h3cRtTabTrapInterval."
  320             ::= { h3cRtTabTrap 1 }
  321 
  322     h3cDetailRtTabFullTrap NOTIFICATION-TYPE
  323             OBJECTS { h3cDetailRtProType, h3cRtTabLen }
  324             STATUS current
  325             DESCRIPTION
  326                 "Send this trap when the detail routing table is filled.  The
  327                 interval between two traps generated should be longer than
  328                 h3cRtTabTrapInterval."
  329             ::= { h3cRtTabTrap 2 }
  330 
  331     h3cDefaultRtDelTrap NOTIFICATION-TYPE
  332             OBJECTS { h3cDetailRtProType, h3cDefaultRtNextHopType, h3cDefaultRtNextHop, h3cDefaultRtOutIf }
  333             STATUS current
  334             DESCRIPTION
  335                 "Send this trap when the default route is deleted."
  336             ::= { h3cRtTabTrap 3 }
  337 
  338     h3cDefaultRtDelTrapEnable OBJECT-TYPE
  339         SYNTAX TruthValue
  340         MAX-ACCESS read-write
  341         STATUS current
  342         DESCRIPTION
  343             "Indicates whether h3cDefaultRtDelTrap traps should
  344             be generated when the default route is deleted."
  345         DEFVAL { false }
  346         ::= { h3cRtTabStatGroup 6 }
  347 
  348 -- Describe objects for multicast table
  349     h3cMulticastTabStatGroup OBJECT IDENTIFIER ::= { h3cTableGroup 4 }
  350 
  351     h3cMulticastTabTrapEnable OBJECT-TYPE
  352         SYNTAX INTEGER {
  353                         enable(1),
  354                         disable(2)
  355                         }
  356         MAX-ACCESS read-write
  357         STATUS current
  358         DESCRIPTION
  359             "Indicates whether h3cMulticastTabFullTrap traps
  360             should be generated when the multicast table is filled."
  361         DEFVAL { enable }
  362         ::= { h3cMulticastTabStatGroup 1 }
  363 
  364     h3cMulticastTabTrapInterval OBJECT-TYPE
  365         SYNTAX Integer32 (30..3600)
  366         UNITS "seconds"
  367         MAX-ACCESS read-write
  368         STATUS current
  369         DESCRIPTION
  370             "Definition of the minimum interval between two traps
  371             which occur when the multicast table is filled."
  372         DEFVAL { 30 }
  373         ::= { h3cMulticastTabStatGroup 2 }
  374 
  375     h3cMulticastTabTrapInfo OBJECT IDENTIFIER ::= { h3cMulticastTabStatGroup 3 }
  376 
  377     h3cMulticastTabType OBJECT-TYPE
  378         SYNTAX INTEGER {
  379                         lay2(1),
  380                         lay3(2)
  381                         }
  382         MAX-ACCESS accessible-for-notify
  383         STATUS current
  384         DESCRIPTION
  385             "Defining the type of the multicast table, layer2 or layer3."
  386         ::= { h3cMulticastTabTrapInfo 1 }
  387 
  388     h3cMulticastTabLen OBJECT-TYPE
  389         SYNTAX Integer32
  390         MAX-ACCESS accessible-for-notify
  391         STATUS current
  392         DESCRIPTION
  393             "The length of the multicast table."
  394         ::= { h3cMulticastTabTrapInfo 2 }
  395 
  396     h3cMulticastTabTrap OBJECT IDENTIFIER ::= { h3cMulticastTabStatGroup 4 }
  397 
  398     h3cMulticastTabFullTrap NOTIFICATION-TYPE
  399             OBJECTS { h3cMulticastTabType, h3cMulticastTabLen }
  400             STATUS current
  401             DESCRIPTION
  402                 "Send this trap when the multicast table is filled.  The
  403                 interval between two traps generated should be longer
  404                 than h3cMulticastTabTrapInterval."
  405             ::= { h3cMulticastTabTrap 1 }
  406 
  407 
  408 -- Describe objects for Neighbor table
  409     h3cNdTabStatGroup OBJECT IDENTIFIER ::= { h3cTableGroup 5 }
  410 
  411     h3cNdTabTrapEnable OBJECT-TYPE
  412         SYNTAX INTEGER {
  413                         enable(1),
  414                         disable(2)
  415                         }
  416         MAX-ACCESS read-write
  417         STATUS current
  418         DESCRIPTION
  419             "Indicates whether h3cNdTabFullTrap traps
  420             should be generated when the ND table is filled."
  421         DEFVAL { enable }
  422         ::= { h3cNdTabStatGroup 1 }
  423 
  424     h3cNdTabTrapInterval OBJECT-TYPE
  425         SYNTAX Integer32 (30..3600)
  426         UNITS "seconds"
  427         MAX-ACCESS read-write
  428         STATUS current
  429         DESCRIPTION
  430             "Definition of the minimum interval between two traps
  431             which occur when the ND table is filled."
  432         DEFVAL { 30 }
  433         ::= { h3cNdTabStatGroup 2 }
  434 
  435     h3cNdTabTrapInfo OBJECT IDENTIFIER ::= { h3cNdTabStatGroup 3 }
  436 
  437     h3cNdTabLen OBJECT-TYPE
  438         SYNTAX Integer32
  439         MAX-ACCESS accessible-for-notify
  440         STATUS current
  441         DESCRIPTION
  442             "The length of the ND table."
  443         ::= { h3cNdTabTrapInfo 1 }
  444 
  445     h3cNdTabTrap OBJECT IDENTIFIER ::= { h3cNdTabStatGroup 4 }
  446 
  447     h3cNdTabFullTrap NOTIFICATION-TYPE
  448             OBJECTS { h3cNdTabLen }
  449             STATUS current
  450             DESCRIPTION
  451                 "Send this trap when the ND table is filled.  The
  452                 interval between two traps generated should be longer
  453                 than h3cNdTabTrapInterval."
  454             ::= { h3cNdTabTrap 1 }
  455 
  456 -- Describe SNMP periodical trap group
  457     h3cPeriodicalTrapGroup OBJECT IDENTIFIER ::= { h3cTableGroup 6 }
  458 
  459 -- Describe objects for SNMP periodical trap
  460     h3cPeriodicalTrapObjects OBJECT IDENTIFIER
  461         ::= { h3cPeriodicalTrapGroup 1 }
  462 
  463     h3cPeriodicalTrapInterval OBJECT-TYPE
  464         SYNTAX Integer32 (0|10..3600)
  465         UNITS "seconds"
  466         MAX-ACCESS read-write
  467         STATUS current
  468         DESCRIPTION
  469             "Definition of the periodical interval.
  470             If no trap occurs during the certain interval, an h3cPeriodicalTrap
  471             will be generated.
  472             If the interval is set to 0, no h3cPeriodicalTrap will be generated."
  473         DEFVAL { 60 }
  474         ::= { h3cPeriodicalTrapObjects 1 }
  475 
  476     h3cPeriodicalTrapSwitch OBJECT-TYPE
  477         SYNTAX INTEGER {
  478                         enable(1),
  479                         disable(2)
  480                         }
  481         MAX-ACCESS read-write
  482         STATUS current
  483         DESCRIPTION
  484             "Definition of the periodical switch.
  485             If the value is off,the h3cPeriodicalTrap will not be generated.
  486             the h3cPeriodicalTrapInterval will be set to 0."
  487         DEFVAL { enable }
  488         ::= { h3cPeriodicalTrapObjects 2 }
  489 
  490 -- Describe information for SNMP periodical trap
  491     h3cPeriodicalTrapInfo OBJECT IDENTIFIER
  492         ::= { h3cPeriodicalTrapGroup 2 }
  493 
  494 -- Describe SNMP periodical trap
  495     h3cPeriodicalNotification OBJECT IDENTIFIER
  496         ::= { h3cPeriodicalTrapGroup 3 }
  497 
  498     h3cPeriodicalNotificationPrefix OBJECT IDENTIFIER
  499         ::= { h3cPeriodicalNotification 0 }
  500 
  501     h3cPeriodicalTrap NOTIFICATION-TYPE
  502             STATUS current
  503             DESCRIPTION
  504                 "If no trap occurs during the interval spicified by
  505                 h3cPeriodicalTrapInterval, an h3cPeriodicalTrap
  506                 will be generated. If the interval is set to 0, no
  507                 h3cPeriodicalTrap will be generated."
  508             ::= { h3cPeriodicalNotificationPrefix 1 }
  509 
  510 -- Describe SNMP TrapDesInfo group
  511     h3cTrapDesInfo OBJECT IDENTIFIER ::= { h3cTableGroup 7 }
  512 
  513     h3cTrapDesInfoTable OBJECT-TYPE
  514             SYNTAX SEQUENCE OF H3cTrapDesInfoEntry
  515             MAX-ACCESS not-accessible
  516             STATUS current
  517             DESCRIPTION
  518                 "A table of trap destination host address and port ."
  519             ::= { h3cTrapDesInfo 1 }
  520 
  521     h3cTrapDesInfoEntry OBJECT-TYPE
  522             SYNTAX H3cTrapDesInfoEntry
  523             MAX-ACCESS not-accessible
  524             STATUS current
  525             DESCRIPTION
  526                 "The entry of trap destination host address and port."
  527             INDEX { h3cTrapDesInfoIndex }
  528             ::= { h3cTrapDesInfoTable 1 }
  529 
  530     H3cTrapDesInfoEntry ::=
  531             SEQUENCE {
  532                 h3cTrapDesInfoIndex Integer32,
  533                 h3cTrapDesIPAddress IpAddress,
  534                 h3cTrapDesPort Integer32,
  535                 h3cTrapDesRowStatus  RowStatus,
  536                 h3cTrapDesAddrTAddress TAddress
  537             }
  538 
  539     h3cTrapDesInfoIndex OBJECT-TYPE
  540             SYNTAX Integer32 (1..20)
  541             MAX-ACCESS not-accessible
  542             STATUS current
  543             DESCRIPTION
  544                 "The index of this table."
  545             ::= { h3cTrapDesInfoEntry 1 }
  546 
  547     h3cTrapDesIPAddress OBJECT-TYPE
  548             SYNTAX IpAddress
  549             MAX-ACCESS read-create
  550             STATUS current
  551             DESCRIPTION
  552                 "The host IP address of the trap destination."
  553             ::= { h3cTrapDesInfoEntry 2 }
  554 
  555     h3cTrapDesPort OBJECT-TYPE
  556             SYNTAX Integer32 (0..65535)
  557             MAX-ACCESS read-create
  558             STATUS current
  559             DESCRIPTION
  560                 "The port of the trap destination."
  561             ::= { h3cTrapDesInfoEntry 3 }
  562 
  563     h3cTrapDesRowStatus OBJECT-TYPE
  564             SYNTAX RowStatus
  565             MAX-ACCESS read-create
  566             STATUS current
  567             DESCRIPTION
  568                 "The status of this table entry."
  569             ::= { h3cTrapDesInfoEntry 4 }
  570 
  571     h3cTrapDesAddrTAddress OBJECT-TYPE
  572             SYNTAX TAddress
  573             MAX-ACCESS read-create
  574             STATUS current
  575             DESCRIPTION
  576                 "This object contains a transport address."
  577             ::= { h3cTrapDesInfoEntry 5 }
  578 
  579 -- Describe SNMP TrapConfig group
  580     h3cTrapConfig OBJECT IDENTIFIER ::= { h3cTableGroup 8 }
  581 
  582     h3cTrapConfigTable OBJECT-TYPE
  583             SYNTAX SEQUENCE OF H3cTrapConfigEntry
  584             MAX-ACCESS not-accessible
  585             STATUS current
  586             DESCRIPTION
  587                 "A table of trap configuration."
  588             ::= { h3cTrapConfig 1 }
  589 
  590     h3cTrapConfigEntry OBJECT-TYPE
  591             SYNTAX H3cTrapConfigEntry
  592             MAX-ACCESS not-accessible
  593             STATUS current
  594             DESCRIPTION
  595                 "The entry of trap configuration."
  596             INDEX { h3cTrapConfigIndex }
  597             ::= { h3cTrapConfigTable 1 }
  598 
  599     H3cTrapConfigEntry ::=
  600             SEQUENCE {
  601                     h3cTrapConfigIndex Integer32,
  602                     h3cTrapConfigName SnmpAdminString,
  603                     h3cTrapConfigDescr SnmpAdminString,
  604                     h3cTrapConfigSwitch INTEGER
  605             }
  606 
  607     h3cTrapConfigIndex OBJECT-TYPE
  608             SYNTAX Integer32 (1..2147483647)
  609             MAX-ACCESS not-accessible
  610             STATUS current
  611             DESCRIPTION
  612                 "The index of this table."
  613             ::= { h3cTrapConfigEntry 1 }
  614 
  615     h3cTrapConfigName OBJECT-TYPE
  616             SYNTAX SnmpAdminString (SIZE(0..127))
  617             MAX-ACCESS read-only
  618             STATUS current
  619             DESCRIPTION
  620                 "The name of the appointed traps."
  621             ::= { h3cTrapConfigEntry 2 }
  622 
  623     h3cTrapConfigDescr OBJECT-TYPE
  624             SYNTAX SnmpAdminString (SIZE(0..127))
  625             MAX-ACCESS read-write
  626             STATUS current
  627             DESCRIPTION
  628                 "The description of the appointed traps."
  629             ::= { h3cTrapConfigEntry 3 }
  630 
  631     h3cTrapConfigSwitch OBJECT-TYPE
  632             SYNTAX INTEGER {
  633                             enable(1),
  634                             disable(2)
  635                             }
  636             MAX-ACCESS read-write
  637             STATUS current
  638             DESCRIPTION
  639                 "Indicates whether the appointed traps
  640                 should be generated."
  641             DEFVAL { enable }
  642             ::= { h3cTrapConfigEntry 4 }
  643 
  644 END