The following is an excerpt from RFC 1317 and illustrates the way in which serial interfaces are modeled in this MIB. The object instances supported by a real device that implements this MIB can be viewed using a MIB browser and pointing it at an appropriately configured terminal server. RFC1317-MIB DEFINITIONS ::= BEGIN IMPORTS Counter FROM RFC1155-SMI transmission FROM RFC1213-MIB OBJECT-TYPE FROM RFC-1212; -- this is the MIB module for RS-232-like hardware devices rs232 OBJECT IDENTIFIER ::= { transmission 33 } -- the generic RS-232-like group -- Implementation of this group is mandatory for all -- systems that have RS-232-like hardware ports -- supporting higher level services such as character -- streams or network interfaces rs232Number OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "The number of ports (regardless of their current state) in the RS-232-like general port table." ::= { rs232 1 } rs232AsyncPortTable OBJECT-TYPE SYNTAX SEQUENCE OF Rs232AsyncPortEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "A list of asynchronous port entries. The maximum entry number is given by the value of rs232Number. Entries need not exist for synchronous ports." ::= { rs232 3 } rs232AsyncPortEntry OBJECT-TYPE SYNTAX Rs232AsyncPortEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "Status and parameter values for an asynchronous port." INDEX { rs232AsyncPortIndex } ::= { rs232AsyncPortTable 1 } Rs232AsyncPortEntry ::= SEQUENCE { rs232AsyncPortIndex INTEGER, rs232AsyncPortBits INTEGER, rs232AsyncPortStopBits INTEGER, rs232AsyncPortParity INTEGER, rs232AsyncPortAutobaud INTEGER, rs232AsyncPortParityErrs Counter, rs232AsyncPortFramingErrs Counter, rs232AsyncPortOverrunErrs Counter } This MIB provides all of the above objects for use when managing serial devices. Each entry in the table corresponds to a serial interface, and the other columns provide access to configuration data such as the number of bits in a data word (rs232AsyncPortBits) , the number of stop bits (rs232AsyncPortStopBits) , and the port parity (rs232AsyncPortParity) . A network management system reads the values of all entries in the rs232AsyncPortTable and sets the values of the port parameters as required. An example would be an appropriately configured 10-port terminal server, which would have 10 entries in this table. By sending a block of SNMP GetRequest messages, the entire table can be retrieved. If required, the user can also send a block of SNMP SetRequest messages in order to modify the rows in rs232AsyncPortTable . The following is the complete definition of the columns of this table: [View full width]
|