⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rfc2494.txt

📁 著名的RFC文档,其中有一些文档是已经翻译成中文的的.
💻 TXT
📖 第 1 页 / 共 4 页
字号:
   An example is given here to explain the ifIndex mapping objects in   the DS0Bundle MIB to help the implementor use the objects correctly.   Assume that a DS1 (with ifIndex 1) is channelized into DS0s.  There   will be 24 DS0s in the ifTable.  Assume the entries in the ifTable   for the DS0s are created in channel order and the ifIndex values are   2 through 25.  Now, assume that there are two bundles on the DS1.   The first one uses channels 1 and 2.  The second uses channels 3 and   4.  There will be two ifTable entries for these bundles, with values   of 26 and 27 for ifIndex.  There will be an entry in the   dsx0BundleTable for each bundle.  The entries will be as follows:           dsx0BundleTable Entries           dsx0BundleIndex    dsx0BundleIfIndex           1                  26           2                  27   There will be an entry in the dsx0ConfigTable for each DS0.  The   entries will be as follows:           dsx0ConfigTable Entries           ifIndex  dsx0Ds0ChannelNumber   dsx0Ds0BundleMappedIfIndex           2        1                      26           3        2                      26           4        3                      27           5        4                      27           6        5                      0           7        6                      0           ......           25       24                     03.  Overview of the MIB   This document contains 2 MIB modules, the DS0 MIB and the DS0Bundle   MIB.Fowler, Ed.                 Standards Track                     [Page 7]RFC 2494                DSO MIB / DSOBUNDLE MIB             January 19993.1.  DS0 MIB   The DS0 MIB is used to represent individual DS0s in a DS1 or E1.   Variables in this MIB would be created for each DS0 in the ifTable.   This MIB contains the following group:   The DS0 Config Group - This group contains configuration information   about a particular DS0.3.2.  DS0Bundle MIB   The DS0Bundle MIB is used to represent collections of DS0s that are   used together to carry data within a DS1/E1 at speeds greater than   that of a single DS0.  DS0Bundles are created on top of DS0s and are   represented that way in the ifStackTable.  This MIB contains the   following groups:   The DS0 Bundle Group - This group contains objects used for creating   new ds0Bundles.  This group is mandatory.   The DS0 Bonding Group - This group contains information about bonding   for a ds0Bundle, if bonding is enabled.  This group is optional.4.  Object Definitions for DS0   DS0-MIB DEFINITIONS ::= BEGIN   IMPORTS        MODULE-IDENTITY, OBJECT-TYPE,        transmission                     FROM SNMPv2-SMI        MODULE-COMPLIANCE, OBJECT-GROUP  FROM SNMPv2-CONF        DisplayString, TruthValue        FROM SNMPv2-TC        ifIndex, InterfaceIndex,        InterfaceIndexOrZero             FROM IF-MIB;   --  This is the MIB module for the DS0 Interface objects.   ds0 MODULE-IDENTITY       LAST-UPDATED "9807161630Z"       ORGANIZATION "IETF Trunk MIB Working Group"       CONTACT-INFO         "        David Fowler          Postal: Newbridge Networks Corporation                  600 March Road                  Kanata, Ontario, Canada K2K 2E6                  Tel: +1 613 591 3600Fowler, Ed.                 Standards Track                     [Page 8]RFC 2494                DSO MIB / DSOBUNDLE MIB             January 1999                  Fax: +1 613 599 3619          E-mail: davef@newbridge.com"       DESCRIPTION            "The MIB module to describe             DS0 interfaces objects."       REVISION "9805242010Z"       DESCRIPTION            "Initial version of the DS0-MIB."       ::= { transmission 81 }   -- The DS0 Config Group   -- Implementation of this group is mandatory for all   -- systems that use a DS0 Interface.   -- The DS0 Config Group consists of two tables:   --    DS0 Configuration Table   --    DS0 Channel Mapping Table   -- The DS0 Configuration Table   dsx0ConfigTable OBJECT-TYPE       SYNTAX  SEQUENCE OF Dsx0ConfigEntry       MAX-ACCESS  not-accessible       STATUS  current       DESCRIPTION               "The DS0 Configuration table."       ::= { ds0 1 }   dsx0ConfigEntry OBJECT-TYPE       SYNTAX  Dsx0ConfigEntry       MAX-ACCESS  not-accessible       STATUS  current       DESCRIPTION               "An entry in the DS0 Configuration table.  There               is an entry in this table for each DS0 interface."       INDEX   { ifIndex }       ::= { dsx0ConfigTable 1 }   Dsx0ConfigEntry ::=       SEQUENCE {           dsx0Ds0ChannelNumber        INTEGER,           dsx0RobbedBitSignalling     TruthValue,           dsx0CircuitIdentifier       DisplayString,           dsx0IdleCode                INTEGER,           dsx0SeizedCode              INTEGER,Fowler, Ed.                 Standards Track                     [Page 9]RFC 2494                DSO MIB / DSOBUNDLE MIB             January 1999           dsx0ReceivedCode            INTEGER,           dsx0TransmitCodesEnable     TruthValue,           dsx0Ds0BundleMappedIfIndex  InterfaceIndexOrZero   }   dsx0Ds0ChannelNumber OBJECT-TYPE       SYNTAX  INTEGER(0..31)       MAX-ACCESS  read-only       STATUS  current       DESCRIPTION               "This object indicates the channel number of the               ds0 on its DS1/E1."       ::= { dsx0ConfigEntry 1 }   dsx0RobbedBitSignalling OBJECT-TYPE       SYNTAX  TruthValue       MAX-ACCESS  read-write       STATUS  current       DESCRIPTION               "This object indicates if Robbed Bit Signalling is               turned on or off for a given ds0.  This only               applies to DS0s on a DS1 link.  For E1 links the               value is always off (false)."       ::= { dsx0ConfigEntry 2 }   dsx0CircuitIdentifier OBJECT-TYPE        SYNTAX  DisplayString (SIZE (0..255))        MAX-ACCESS  read-write        STATUS  current        DESCRIPTION               "This object contains the transmission vendor's               circuit identifier, for the purpose of               facilitating troubleshooting."       ::= { dsx0ConfigEntry 3 }   dsx0IdleCode OBJECT-TYPE        SYNTAX  INTEGER(0..15)        MAX-ACCESS  read-write        STATUS  current        DESCRIPTION               "This object contains the code transmitted in the               ABCD bits when the ds0 is not connected and               dsx0TransmitCodesEnable is enabled.  The object is               a bitmap and the various bit positions are:                     1     D bit                     2     C bit                     4     B bit                     8     A bit"Fowler, Ed.                 Standards Track                    [Page 10]RFC 2494                DSO MIB / DSOBUNDLE MIB             January 1999       ::= { dsx0ConfigEntry 4 }   dsx0SeizedCode OBJECT-TYPE        SYNTAX  INTEGER(0..15)        MAX-ACCESS  read-write        STATUS  current        DESCRIPTION               "This object contains the code transmitted in the               ABCD bits when the ds0 is connected and               dsx0TransmitCodesEnable is enabled.  The object is               a bitmap and the various bit positions are:                     1     D bit                     2     C bit                     4     B bit                     8     A bit"       ::= { dsx0ConfigEntry 5 }   dsx0ReceivedCode OBJECT-TYPE        SYNTAX  INTEGER(0..15)        MAX-ACCESS  read-only        STATUS  current        DESCRIPTION               "This object contains the code being received in               the ABCD bits.  The object is a bitmap and the               various bit positions are:                     1     D bit                     2     C bit                     4     B bit                     8     A bit"       ::= { dsx0ConfigEntry 6 }   dsx0TransmitCodesEnable OBJECT-TYPE        SYNTAX TruthValue        MAX-ACCESS  read-write        STATUS  current        DESCRIPTION               "This object determines if the idle and seized               codes are transmitted. If the value of this object               is true then the codes are transmitted."       ::= { dsx0ConfigEntry 7 }   dsx0Ds0BundleMappedIfIndex OBJECT-TYPE        SYNTAX InterfaceIndexOrZero        MAX-ACCESS  read-only        STATUS  current        DESCRIPTION               "This object indicates the ifIndex value assigned               by the agent for the ds0Bundle(82) ifEntry toFowler, Ed.                 Standards Track                    [Page 11]RFC 2494                DSO MIB / DSOBUNDLE MIB             January 1999               which the given ds0(81) ifEntry may belong.               If the given ds0(81) ifEntry does not belong to               any ds0Bundle(82) ifEntry, then this object has a               value of zero.               While this object provides information that can               also be found in the ifStackTable, it provides               this same information with a single table lookup,               rather than by walking the ifStackTable to find               the possibly non-existent ds0Bundle(82) ifEntry               that may be stacked above the given ds0(81)               ifTable entry."       ::= { dsx0ConfigEntry 8 }   -- The DS0 Channel Mapping Table   dsx0ChanMappingTable OBJECT-TYPE        SYNTAX  SEQUENCE OF Dsx0ChanMappingEntry        MAX-ACCESS  not-accessible        STATUS  current        DESCRIPTION               "The DS0 Channel Mapping table.  This table maps a               DS0 channel number on a particular DS1/E1 into an               ifIndex."        ::= { ds0 3 }   dsx0ChanMappingEntry OBJECT-TYPE        SYNTAX  Dsx0ChanMappingEntry        MAX-ACCESS  not-accessible        STATUS  current        DESCRIPTION               "An entry in the DS0 Channel Mapping table.  There               is an entry in this table corresponding to each               ds0 ifEntry within any interface that is               channelized to the individual ds0 ifEntry level.               This table is intended to facilitate mapping from               channelized interface / channel number to DS0               ifEntry.  (e.g. mapping (DS1 ifIndex, DS0 Channel               Number) -> ifIndex)               While this table provides information that can               also be found in the ifStackTable and               dsx0ConfigTable, it provides this same information               with a single table lookup, rather than by walking               the ifStackTable to find the various constituent               ds0 ifTable entries, and testing variousFowler, Ed.                 Standards Track                    [Page 12]RFC 2494                DSO MIB / DSOBUNDLE MIB             January 1999               dsx0ConfigTable entries to check for the entry               with the applicable DS0 channel number."        INDEX   { ifIndex, dsx0Ds0ChannelNumber }        ::= { dsx0ChanMappingTable 1 }   Dsx0ChanMappingEntry ::=        SEQUENCE {            dsx0ChanMappedIfIndex  InterfaceIndex   }   dsx0ChanMappedIfIndex OBJECT-TYPE        SYNTAX  InterfaceIndex        MAX-ACCESS  read-only        STATUS  current        DESCRIPTION               "This object indicates the ifIndex value assigned               by the agent for the individual ds0 ifEntry that               corresponds to the given DS0 channel number               (specified by the INDEX element               dsx0Ds0ChannelNumber) of the given channelized               interface (specified by INDEX element ifIndex)."        ::= { dsx0ChanMappingEntry 1 }   -- conformance information

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -