SMUX-MIB
上传用户:aonuowh
上传日期:2021-05-23
资源大小:35390k
文件大小:6k
源码类别:

SNMP编程

开发平台:

C/C++

  1. -- Changes to rfc1227 (SMUX MIB):
  2. --      changed RFC1212 to RFC-1212
  3. --      added import for DisplayString
  4. -- dperkins@scruznet.com
  5.           SMUX-MIB DEFINITIONS ::= BEGIN
  6.           -- From RFC1227
  7.           -- May 1991
  8.           IMPORTS
  9.                   enterprises
  10.                           FROM RFC1155-SMI
  11.                   OBJECT-TYPE
  12.                           FROM RFC-1212
  13.                   DisplayString
  14.                           FROM RFC1213-MIB;
  15.           unix    OBJECT IDENTIFIER ::= { enterprises 4 }
  16.           smux    OBJECT IDENTIFIER ::= { unix 4 }
  17.           smuxPeerTable   OBJECT-TYPE
  18.                   SYNTAX  SEQUENCE OF SmuxPeerEntry
  19.                   ACCESS  not-accessible
  20.                   STATUS  mandatory
  21.                   DESCRIPTION
  22.                       "The SMUX peer table."
  23.                   ::= { smux 1 }
  24.           smuxPeerEntry   OBJECT-TYPE
  25.                   SYNTAX  SmuxPeerEntry
  26.                   ACCESS  not-accessible
  27.                   STATUS  mandatory
  28.                   DESCRIPTION
  29.                       "An entry in the SMUX peer table."
  30.                   INDEX   { smuxPindex }
  31.                   ::= { smuxPeerTable 1}
  32.           SmuxPeerEntry ::=
  33.               SEQUENCE {
  34.                   smuxPindex
  35.                       INTEGER,
  36.                   smuxPidentity
  37.                       OBJECT IDENTIFIER,
  38.                   smuxPdescription
  39.                       DisplayString,
  40.                   smuxPstatus
  41.                       INTEGER
  42.               }
  43.           smuxPindex      OBJECT-TYPE
  44.                   SYNTAX  INTEGER
  45.                   ACCESS  read-only
  46.                   STATUS  mandatory
  47.                   DESCRIPTION
  48.                       "An index which uniquely identifies a SMUX peer."
  49.                   ::= { smuxPeerEntry 1 }
  50.           smuxPidentity   OBJECT-TYPE
  51.                   SYNTAX  OBJECT IDENTIFIER
  52.                   ACCESS  read-only
  53.                   STATUS  mandatory
  54.                   DESCRIPTION
  55.                       "The authoritative designation for a SMUX peer."
  56.                   ::= { smuxPeerEntry 2 }
  57.           smuxPdescription OBJECT-TYPE
  58.                   SYNTAX  DisplayString (SIZE (0..255))
  59.                   ACCESS  read-only
  60.                   STATUS  mandatory
  61.                   DESCRIPTION
  62.                       "A human-readable description of a SMUX peer."
  63.                   ::= { smuxPeerEntry 3 }
  64.           smuxPstatus     OBJECT-TYPE
  65.                   SYNTAX  INTEGER { valid(1), invalid(2), connecting(3) }
  66.                   ACCESS  read-write
  67.                   STATUS  mandatory
  68.                   DESCRIPTION
  69.                       "The type of SMUX peer.
  70.                       Setting this object to the value invalid(2) has
  71.                       the effect of invaliding the corresponding entry
  72.                       in the smuxPeerTable.  It is an implementation-
  73.                       specific matter as to whether the agent removes an
  74.                       invalidated entry from the table.  Accordingly,
  75.                       management stations must be prepared to receive
  76.                       tabular information from agents that correspond to
  77.                       entries not currently in use.  Proper
  78.                       interpretation of such entries requires
  79.                       examination of the relative smuxPstatus object."
  80.                   ::= { smuxPeerEntry 4 }
  81.           smuxTreeTable   OBJECT-TYPE
  82.                   SYNTAX  SEQUENCE OF SmuxTreeEntry
  83.                   ACCESS  not-accessible
  84.                   STATUS  mandatory
  85.                   DESCRIPTION
  86.                       "The SMUX tree table."
  87.                   ::= { smux 2 }
  88.           smuxTreeEntry   OBJECT-TYPE
  89.                   SYNTAX  SmuxTreeEntry
  90.                   ACCESS  not-accessible
  91.                   STATUS  mandatory
  92.                   DESCRIPTION
  93.                       "An entry in the SMUX tree table."
  94.                   INDEX   { smuxTsubtree, smuxTpriority }
  95.                   ::= { smuxTreeTable 1}
  96.           SmuxTreeEntry ::=
  97.               SEQUENCE {
  98.                   smuxTsubtree
  99.                       OBJECT IDENTIFIER,
  100.                   smuxTpriority
  101.                       INTEGER,
  102.                   smuxTindex
  103.                       INTEGER,
  104.                   smuxTstatus
  105.                       INTEGER
  106.               }
  107.           smuxTsubtree    OBJECT-TYPE
  108.                   SYNTAX  OBJECT IDENTIFIER
  109.                   ACCESS  read-only
  110.                   STATUS  mandatory
  111.                   DESCRIPTION
  112.                       "The MIB subtree being exported by a SMUX peer."
  113.                   ::= { smuxTreeEntry 1 }
  114.           smuxTpriority OBJECT-TYPE
  115.                   SYNTAX  INTEGER (0..'07fffffff'h)
  116.                   ACCESS  read-only
  117.                   STATUS  mandatory
  118.                   DESCRIPTION
  119.                       "The SMUX peer's priority when exporting the MIB
  120.                       subtree."
  121.                   ::= { smuxTreeEntry 2 }
  122.           smuxTindex OBJECT-TYPE
  123.                   SYNTAX  INTEGER
  124.                   ACCESS  read-only
  125.                   STATUS  mandatory
  126.                   DESCRIPTION
  127.                       "The SMUX peer's identity."
  128.                   ::= { smuxTreeEntry 3 }
  129.           smuxTstatus     OBJECT-TYPE
  130.                   SYNTAX  INTEGER { valid(1), invalid(2) }
  131.                   ACCESS  read-write
  132.                   STATUS  mandatory
  133.                   DESCRIPTION
  134.                       "The type of SMUX tree.
  135.                       Setting this object to the value invalid(2) has
  136.                       the effect of invaliding the corresponding entry
  137.                       in the smuxTreeTable.  It is an implementation-
  138.                       specific matter as to whether the agent removes an
  139.                       invalidated entry from the table.  Accordingly,
  140.                       management stations must be prepared to receive
  141.                       tabular information from agents that correspond to
  142.                       entries not currently in use.  Proper
  143.                       interpretation of such entries requires
  144.                       examination of the relative smuxTstatus object."
  145.                   ::= { smuxTreeEntry 4 }
  146.           END