Blame mibs/ietf/CHARACTER-MIB

Packit 022b05
CHARACTER-MIB DEFINITIONS ::= BEGIN
Packit 022b05
Packit 022b05
IMPORTS
Packit 022b05
    MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE,
Packit 022b05
    Counter32, Integer32, Gauge32, TimeTicks
Packit 022b05
        FROM SNMPv2-SMI
Packit 022b05
    AutonomousType, InstancePointer, TEXTUAL-CONVENTION,
Packit 022b05
    DisplayString
Packit 022b05
        FROM SNMPv2-TC
Packit 022b05
    InterfaceIndex
Packit 022b05
        FROM IF-MIB
Packit 022b05
    transmission, mib-2
Packit 022b05
        FROM RFC1213-MIB
Packit 022b05
    MODULE-COMPLIANCE, OBJECT-GROUP
Packit 022b05
        FROM SNMPv2-CONF;
Packit 022b05
Packit 022b05
Packit 022b05
char MODULE-IDENTITY
Packit 022b05
    LAST-UPDATED "9405261700Z"
Packit 022b05
    ORGANIZATION "IETF Character MIB Working Group"
Packit 022b05
    CONTACT-INFO
Packit 022b05
            "        Bob Stewart
Packit 022b05
             Postal: Xyplex, Inc.
Packit 022b05
                     295 Foster Street
Packit 022b05
                     Littleton, MA 01460
Packit 022b05
Packit 022b05
                Tel: 508-952-4816
Packit 022b05
                Fax: 508-952-4887
Packit 022b05
             E-mail: rlstewart@eng.xyplex.com"
Packit 022b05
    DESCRIPTION
Packit 022b05
            "The MIB module for character stream devices."
Packit 022b05
    ::= { mib-2 19 }
Packit 022b05
Packit 022b05
PortIndex ::= TEXTUAL-CONVENTION
Packit 022b05
    DISPLAY-HINT "d"
Packit 022b05
    STATUS current
Packit 022b05
    DESCRIPTION
Packit 022b05
            "A unique value, greater than zero, for each
Packit 022b05
            character port in the managed system.  It is
Packit 022b05
            recommended that values are assigned contiguously
Packit 022b05
            starting from 1.  The value for each interface sub-
Packit 022b05
            layer must remain constant at least from one re-
Packit 022b05
            initialization of the entity's network management
Packit 022b05
            system to the next re-initialization.
Packit 022b05
Packit 022b05
            In a system where the character ports are attached
Packit 022b05
            to hardware represented by an ifIndex, it is
Packit 022b05
            conventional, but not required, to make the
Packit 022b05
            character port index equal to the corresponding
Packit 022b05
            ifIndex."
Packit 022b05
    SYNTAX Integer32
Packit 022b05
Packit 022b05
Packit 022b05
-- Generic Character information
Packit 022b05
Packit 022b05
charNumber OBJECT-TYPE
Packit 022b05
    SYNTAX Integer32
Packit 022b05
    MAX-ACCESS read-only
Packit 022b05
    STATUS current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The number of entries in charPortTable, regardless
Packit 022b05
        of their current state."
Packit 022b05
    ::= { char 1 }
Packit 022b05
Packit 022b05
Packit 022b05
-- the Character Port table
Packit 022b05
Packit 022b05
charPortTable OBJECT-TYPE
Packit 022b05
    SYNTAX SEQUENCE OF CharPortEntry
Packit 022b05
    MAX-ACCESS not-accessible
Packit 022b05
    STATUS current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "A list of port entries.  The number of entries is
Packit 022b05
        given by the value of charNumber."
Packit 022b05
    ::= { char 2 }
Packit 022b05
Packit 022b05
charPortEntry OBJECT-TYPE
Packit 022b05
    SYNTAX CharPortEntry
Packit 022b05
    MAX-ACCESS not-accessible
Packit 022b05
    STATUS current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "Status and parameter values for a character port."
Packit 022b05
    INDEX { charPortIndex }
Packit 022b05
    ::= { charPortTable 1 }
Packit 022b05
Packit 022b05
CharPortEntry ::=
Packit 022b05
    SEQUENCE {
Packit 022b05
        charPortIndex
Packit 022b05
            PortIndex,
Packit 022b05
        charPortName
Packit 022b05
            DisplayString,
Packit 022b05
        charPortType
Packit 022b05
            INTEGER,
Packit 022b05
        charPortHardware
Packit 022b05
            AutonomousType,
Packit 022b05
        charPortReset
Packit 022b05
            INTEGER,
Packit 022b05
        charPortAdminStatus
Packit 022b05
            INTEGER,
Packit 022b05
        charPortOperStatus
Packit 022b05
            INTEGER,
Packit 022b05
        charPortLastChange
Packit 022b05
            TimeTicks,
Packit 022b05
        charPortInFlowType
Packit 022b05
            INTEGER,
Packit 022b05
        charPortOutFlowType
Packit 022b05
            INTEGER,
Packit 022b05
        charPortInFlowState
Packit 022b05
            INTEGER,
Packit 022b05
        charPortOutFlowState
Packit 022b05
            INTEGER,
Packit 022b05
        charPortInCharacters
Packit 022b05
            Counter32,
Packit 022b05
        charPortOutCharacters
Packit 022b05
            Counter32,
Packit 022b05
        charPortAdminOrigin
Packit 022b05
            INTEGER,
Packit 022b05
        charPortSessionMaximum
Packit 022b05
            INTEGER,
Packit 022b05
        charPortSessionNumber
Packit 022b05
            Gauge32,
Packit 022b05
        charPortSessionIndex
Packit 022b05
            INTEGER,
Packit 022b05
        charPortInFlowTypes
Packit 022b05
            OCTET STRING,
Packit 022b05
        charPortOutFlowTypes
Packit 022b05
            OCTET STRING,
Packit 022b05
        charPortLowerIfIndex
Packit 022b05
            InterfaceIndex
Packit 022b05
    }
Packit 022b05
Packit 022b05
charPortIndex OBJECT-TYPE
Packit 022b05
    SYNTAX PortIndex
Packit 022b05
    MAX-ACCESS read-only
Packit 022b05
    STATUS current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "A unique value for each character port, perhaps
Packit 022b05
        corresponding to the same value of ifIndex when the
Packit 022b05
        character port is associated with a hardware port
Packit 022b05
        represented by an ifIndex."
Packit 022b05
    ::= { charPortEntry 1 }
Packit 022b05
Packit 022b05
charPortName OBJECT-TYPE
Packit 022b05
    SYNTAX DisplayString (SIZE (0..32))
Packit 022b05
    MAX-ACCESS read-write
Packit 022b05
    STATUS current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "An administratively assigned name for the port,
Packit 022b05
        typically with some local significance."
Packit 022b05
    ::= { charPortEntry 2 }
Packit 022b05
Packit 022b05
charPortType OBJECT-TYPE
Packit 022b05
    SYNTAX INTEGER { physical(1), virtual(2) }
Packit 022b05
    MAX-ACCESS read-only
Packit 022b05
    STATUS current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The port's type, 'physical' if the port represents
Packit 022b05
        an external hardware connector, 'virtual' if it does
Packit 022b05
        not."
Packit 022b05
    ::= { charPortEntry 3 }
Packit 022b05
Packit 022b05
charPortHardware OBJECT-TYPE
Packit 022b05
    SYNTAX AutonomousType
Packit 022b05
    MAX-ACCESS read-only
Packit 022b05
    STATUS current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "A reference to hardware MIB definitions specific to
Packit 022b05
        a physical port's external connector.  For example,
Packit 022b05
        if the connector is RS-232, then the value of this
Packit 022b05
        object refers to a MIB sub-tree defining objects
Packit 022b05
        specific to RS-232.  If an agent is not configured
Packit 022b05
        to have such values, the agent returns the object
Packit 022b05
        identifier:
Packit 022b05
Packit 022b05
            nullHardware OBJECT IDENTIFIER ::= { 0 0 }
Packit 022b05
        "
Packit 022b05
    ::= { charPortEntry 4 }
Packit 022b05
Packit 022b05
charPortReset OBJECT-TYPE
Packit 022b05
    SYNTAX INTEGER { ready(1), execute(2) }
Packit 022b05
    MAX-ACCESS read-write
Packit 022b05
    STATUS current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "A control to force the port into a clean, initial
Packit 022b05
        state, both hardware and software, disconnecting all
Packit 022b05
        the port's existing sessions.  In response to a
Packit 022b05
        get-request or get-next-request, the agent always
Packit 022b05
        returns 'ready' as the value.  Setting the value to
Packit 022b05
        'execute' causes a reset."
Packit 022b05
    ::= { charPortEntry 5 }
Packit 022b05
Packit 022b05
charPortAdminStatus OBJECT-TYPE
Packit 022b05
    SYNTAX INTEGER { enabled(1), disabled(2), off(3),
Packit 022b05
                     maintenance(4) }
Packit 022b05
    MAX-ACCESS read-write
Packit 022b05
    STATUS current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The port's desired state, independent of flow
Packit 022b05
        control.  'enabled' indicates that the port is
Packit 022b05
        allowed to pass characters and form new sessions.
Packit 022b05
        'disabled' indicates that the port is allowed to
Packit 022b05
        pass characters but not form new sessions.  'off'
Packit 022b05
        indicates that the port is not allowed to pass
Packit 022b05
        characters or have any sessions. 'maintenance'
Packit 022b05
        indicates a maintenance mode, exclusive of normal
Packit 022b05
        operation, such as running a test.
Packit 022b05
Packit 022b05
        'enabled' corresponds to ifAdminStatus 'up'.
Packit 022b05
        'disabled' and 'off' correspond to ifAdminStatus
Packit 022b05
        'down'.  'maintenance' corresponds to ifAdminStatus
Packit 022b05
        'test'."
Packit 022b05
    ::= { charPortEntry 6 }
Packit 022b05
Packit 022b05
charPortOperStatus OBJECT-TYPE
Packit 022b05
    SYNTAX INTEGER { up(1), down(2),
Packit 022b05
                     maintenance(3), absent(4), active(5) }
Packit 022b05
    MAX-ACCESS read-only
Packit 022b05
    STATUS current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The port's actual, operational state, independent
Packit 022b05
        of flow control.  'up' indicates able to function
Packit 022b05
        normally.  'down' indicates inability to function
Packit 022b05
        for administrative or operational reasons.
Packit 022b05
        'maintenance' indicates a maintenance mode,
Packit 022b05
        exclusive of normal operation, such as running a
Packit 022b05
        test.  'absent' indicates that port hardware is not
Packit 022b05
        present.  'active' indicates up with a user present
Packit 022b05
        (e.g. logged in).
Packit 022b05
Packit 022b05
        'up' and 'active' correspond to ifOperStatus 'up'.
Packit 022b05
        'down' and 'absent' correspond to ifOperStatus
Packit 022b05
        'down'.  'maintenance' corresponds to ifOperStatus
Packit 022b05
        'test'."
Packit 022b05
    ::= { charPortEntry 7 }
Packit 022b05
Packit 022b05
charPortLastChange OBJECT-TYPE
Packit 022b05
    SYNTAX TimeTicks
Packit 022b05
    MAX-ACCESS read-only
Packit 022b05
    STATUS current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The value of sysUpTime at the time the port entered
Packit 022b05
        its current operational state.  If the current state
Packit 022b05
        was entered prior to the last reinitialization of
Packit 022b05
        the local network management subsystem, then this
Packit 022b05
        object contains a zero value."
Packit 022b05
    ::= { charPortEntry 8 }
Packit 022b05
Packit 022b05
-- charPortInFlowType is deprecated in favor of
Packit 022b05
-- charPortInFlowTypes
Packit 022b05
Packit 022b05
charPortInFlowType OBJECT-TYPE
Packit 022b05
    SYNTAX INTEGER { none(1), xonXoff(2), hardware(3),
Packit 022b05
                     ctsRts(4), dsrDtr(5) }
Packit 022b05
    MAX-ACCESS read-write
Packit 022b05
    STATUS deprecated
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The port's type of input flow control.  'none'
Packit 022b05
        indicates no flow control at this level or below.
Packit 022b05
        'xonXoff' indicates software flow control by
Packit 022b05
        recognizing XON and XOFF characters.  'hardware'
Packit 022b05
        indicates flow control delegated to the lower level,
Packit 022b05
        for example a parallel port.
Packit 022b05
Packit 022b05
        'ctsRts' and 'dsrDtr' are specific to RS-232-like
Packit 022b05
        ports.  Although not architecturally pure, they are
Packit 022b05
        included here for simplicity's sake."
Packit 022b05
    ::= { charPortEntry 9 }
Packit 022b05
Packit 022b05
-- charPortOutFlowType is deprecated in favor of
Packit 022b05
-- charPortOutFlowTypes
Packit 022b05
Packit 022b05
charPortOutFlowType OBJECT-TYPE
Packit 022b05
    SYNTAX INTEGER { none(1), xonXoff(2), hardware(3),
Packit 022b05
                     ctsRts(4), dsrDtr(5) }
Packit 022b05
    MAX-ACCESS read-write
Packit 022b05
    STATUS deprecated
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The port's type of output flow control.  'none'
Packit 022b05
        indicates no flow control at this level or below.
Packit 022b05
        'xonXoff' indicates software flow control by
Packit 022b05
        recognizing XON and XOFF characters.  'hardware'
Packit 022b05
        indicates flow control delegated to the lower level,
Packit 022b05
        for example a parallel port.
Packit 022b05
Packit 022b05
        'ctsRts' and 'dsrDtr' are specific to RS-232-like
Packit 022b05
        ports.  Although not architecturally pure, they are
Packit 022b05
        included here for simplicy's sake."
Packit 022b05
    ::= { charPortEntry 10 }
Packit 022b05
Packit 022b05
charPortInFlowState OBJECT-TYPE
Packit 022b05
    SYNTAX INTEGER { none(1), unknown(2), stop(3), go(4) }
Packit 022b05
    MAX-ACCESS read-only
Packit 022b05
    STATUS current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The current operational state of input flow control
Packit 022b05
        on the port.  'none' indicates not applicable.
Packit 022b05
        'unknown' indicates this level does not know.
Packit 022b05
        'stop' indicates flow not allowed.  'go' indicates
Packit 022b05
        flow allowed."
Packit 022b05
    ::= { charPortEntry 11 }
Packit 022b05
Packit 022b05
charPortOutFlowState OBJECT-TYPE
Packit 022b05
    SYNTAX INTEGER { none(1), unknown(2), stop(3), go(4) }
Packit 022b05
    MAX-ACCESS read-only
Packit 022b05
    STATUS current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The current operational state of output flow
Packit 022b05
        control on the port.  'none' indicates not
Packit 022b05
        applicable.  'unknown' indicates this level does not
Packit 022b05
        know.  'stop' indicates flow not allowed.  'go'
Packit 022b05
        indicates flow allowed."
Packit 022b05
    ::= { charPortEntry 12 }
Packit 022b05
Packit 022b05
charPortInCharacters OBJECT-TYPE
Packit 022b05
    SYNTAX Counter32
Packit 022b05
    MAX-ACCESS read-only
Packit 022b05
    STATUS current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "Total number of characters detected as input from
Packit 022b05
        the port since system re-initialization and while
Packit 022b05
        the port operational state was 'up', 'active', or
Packit 022b05
        'maintenance', including, for example, framing, flow
Packit 022b05
        control (i.e. XON and XOFF), each occurrence of a
Packit 022b05
        BREAK condition, locally-processed input, and input
Packit 022b05
        sent to all sessions."
Packit 022b05
    ::= { charPortEntry 13 }
Packit 022b05
Packit 022b05
charPortOutCharacters OBJECT-TYPE
Packit 022b05
    SYNTAX Counter32
Packit 022b05
    MAX-ACCESS read-only
Packit 022b05
    STATUS current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "Total number of characters detected as output to
Packit 022b05
        the port since system re-initialization and while
Packit 022b05
        the port operational state was 'up', 'active', or
Packit 022b05
        'maintenance', including, for example, framing, flow
Packit 022b05
        control (i.e. XON and XOFF), each occurrence of a
Packit 022b05
        BREAK condition, locally-created output, and output
Packit 022b05
        received from all sessions."
Packit 022b05
    ::= { charPortEntry 14 }
Packit 022b05
Packit 022b05
charPortAdminOrigin OBJECT-TYPE
Packit 022b05
    SYNTAX INTEGER { dynamic(1), network(2), local(3),
Packit 022b05
                     none(4) }
Packit 022b05
    MAX-ACCESS read-write
Packit 022b05
    STATUS current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The administratively allowed origin for
Packit 022b05
        establishing session on the port.  'dynamic' allows
Packit 022b05
        'network' or 'local' session establishment. 'none'
Packit 022b05
        disallows session establishment."
Packit 022b05
    ::= { charPortEntry 15 }
Packit 022b05
Packit 022b05
charPortSessionMaximum OBJECT-TYPE
Packit 022b05
    SYNTAX INTEGER (-1..2147483647)
Packit 022b05
    MAX-ACCESS read-write
Packit 022b05
    STATUS current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The maximum number of concurrent sessions allowed
Packit 022b05
        on the port.  A value of -1 indicates no maximum.
Packit 022b05
        Setting the maximum to less than the current number
Packit 022b05
        of sessions has unspecified results."
Packit 022b05
    ::= { charPortEntry 16 }
Packit 022b05
Packit 022b05
charPortSessionNumber OBJECT-TYPE
Packit 022b05
    SYNTAX Gauge32
Packit 022b05
    MAX-ACCESS read-only
Packit 022b05
    STATUS current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The number of open sessions on the port that are in
Packit 022b05
        the connecting, connected, or disconnecting state."
Packit 022b05
    ::= { charPortEntry 17 }
Packit 022b05
Packit 022b05
charPortSessionIndex OBJECT-TYPE
Packit 022b05
    SYNTAX INTEGER (0..2147483647)
Packit 022b05
    MAX-ACCESS read-only
Packit 022b05
    STATUS current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The value of charSessIndex for the port's first or
Packit 022b05
        only active session.  If the port has no active
Packit 022b05
        session, the agent returns the value zero."
Packit 022b05
    ::= { charPortEntry 18 }
Packit 022b05
Packit 022b05
charPortInFlowTypes OBJECT-TYPE
Packit 022b05
    SYNTAX OCTET STRING (SIZE (1))
Packit 022b05
    MAX-ACCESS read-write
Packit 022b05
    STATUS current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The port's types of input flow control at the
Packit 022b05
        software level.  Hardware-level flow control is
Packit 022b05
        independently controlled by the appropriate
Packit 022b05
        hardware-level MIB.
Packit 022b05
Packit 022b05
        A value of zero indicates no flow control.
Packit 022b05
        Depending on the specific implementation, any or
Packit 022b05
        all combinations of flow control may be chosen by
Packit 022b05
        adding the values:
Packit 022b05
Packit 022b05
        128  xonXoff, recognizing XON and XOFF characters
Packit 022b05
        64   enqHost, ENQ/ACK to allow input to host
Packit 022b05
        32   enqTerm, ACK to allow output to port
Packit 022b05
        "
Packit 022b05
    ::= { charPortEntry 19 }
Packit 022b05
Packit 022b05
charPortOutFlowTypes OBJECT-TYPE
Packit 022b05
    SYNTAX OCTET STRING (SIZE (1))
Packit 022b05
    MAX-ACCESS read-write
Packit 022b05
    STATUS current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The port's types of output flow control at the
Packit 022b05
        software level.  Hardware-level flow control is
Packit 022b05
        independently controlled by the appropriate
Packit 022b05
        hardware-level MIB.
Packit 022b05
Packit 022b05
        A value of zero indicates no flow control.
Packit 022b05
        Depending on the specific implementation, any or
Packit 022b05
        all combinations of flow control may be chosen by
Packit 022b05
        adding the values:
Packit 022b05
Packit 022b05
        128  xonXoff, recognizing XON and XOFF characters
Packit 022b05
        64   enqHost, ENQ/ACK to allow input to host
Packit 022b05
        32   enqTerm, ACK to allow output to port
Packit 022b05
        "
Packit 022b05
    ::= { charPortEntry 20 }
Packit 022b05
Packit 022b05
charPortLowerIfIndex OBJECT-TYPE
Packit 022b05
    SYNTAX InterfaceIndex
Packit 022b05
    MAX-ACCESS read-only
Packit 022b05
    STATUS current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The ifIndex value of the lower level hardware supporting
Packit 022b05
        this character port, zero if none."
Packit 022b05
    ::= { charPortEntry 21 }
Packit 022b05
Packit 022b05
Packit 022b05
-- the Character Session table
Packit 022b05
Packit 022b05
charSessTable OBJECT-TYPE
Packit 022b05
    SYNTAX SEQUENCE OF CharSessEntry
Packit 022b05
    MAX-ACCESS not-accessible
Packit 022b05
    STATUS current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "A list of port session entries."
Packit 022b05
    ::= { char 3 }
Packit 022b05
Packit 022b05
charSessEntry OBJECT-TYPE
Packit 022b05
    SYNTAX CharSessEntry
Packit 022b05
    MAX-ACCESS not-accessible
Packit 022b05
    STATUS current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "Status and parameter values for a character port
Packit 022b05
        session."
Packit 022b05
    INDEX { charSessPortIndex, charSessIndex }
Packit 022b05
    ::= { charSessTable 1 }
Packit 022b05
Packit 022b05
CharSessEntry ::=
Packit 022b05
    SEQUENCE {
Packit 022b05
        charSessPortIndex
Packit 022b05
            PortIndex,
Packit 022b05
        charSessIndex
Packit 022b05
            INTEGER,
Packit 022b05
        charSessKill
Packit 022b05
            INTEGER,
Packit 022b05
        charSessState
Packit 022b05
            INTEGER,
Packit 022b05
        charSessProtocol
Packit 022b05
            AutonomousType,
Packit 022b05
        charSessOperOrigin
Packit 022b05
            INTEGER,
Packit 022b05
        charSessInCharacters
Packit 022b05
            Counter32,
Packit 022b05
        charSessOutCharacters
Packit 022b05
            Counter32,
Packit 022b05
        charSessConnectionId
Packit 022b05
            InstancePointer,
Packit 022b05
        charSessStartTime
Packit 022b05
            TimeTicks
Packit 022b05
    }
Packit 022b05
Packit 022b05
charSessPortIndex OBJECT-TYPE
Packit 022b05
    SYNTAX PortIndex
Packit 022b05
    MAX-ACCESS read-only
Packit 022b05
    STATUS current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The value of charPortIndex for the port to which
Packit 022b05
        this session belongs."
Packit 022b05
    ::= { charSessEntry 1 }
Packit 022b05
Packit 022b05
charSessIndex OBJECT-TYPE
Packit 022b05
    SYNTAX INTEGER (1..2147483647)
Packit 022b05
    MAX-ACCESS read-only
Packit 022b05
    STATUS current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The session index in the context of the port, a
Packit 022b05
        non-zero positive integer.  Session indexes within a
Packit 022b05
        port need not be sequential.  Session indexes may be
Packit 022b05
        reused for different ports.  For example, port 1 and
Packit 022b05
        port 3 may both have a session 2 at the same time.
Packit 022b05
        Session indexes may have any valid integer value,
Packit 022b05
        with any meaning convenient to the agent
Packit 022b05
        implementation."
Packit 022b05
    ::= { charSessEntry 2 }
Packit 022b05
Packit 022b05
charSessKill OBJECT-TYPE
Packit 022b05
    SYNTAX INTEGER { ready(1), execute(2) }
Packit 022b05
    MAX-ACCESS read-write
Packit 022b05
    STATUS current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "A control to terminate the session.  In response to
Packit 022b05
        a get-request or get-next-request, the agent always
Packit 022b05
        returns 'ready' as the value.  Setting the value to
Packit 022b05
        'execute' causes termination."
Packit 022b05
    ::= { charSessEntry 3 }
Packit 022b05
Packit 022b05
charSessState OBJECT-TYPE
Packit 022b05
    SYNTAX INTEGER { connecting(1), connected(2),
Packit 022b05
                     disconnecting(3) }
Packit 022b05
    MAX-ACCESS read-only
Packit 022b05
    STATUS current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The current operational state of the session,
Packit 022b05
        disregarding flow control.  'connected' indicates
Packit 022b05
        that character data could flow on the network side
Packit 022b05
        of session.  'connecting' indicates moving from
Packit 022b05
        nonexistent toward 'connected'.  'disconnecting'
Packit 022b05
        indicates moving from 'connected' or 'connecting' to
Packit 022b05
        nonexistent."
Packit 022b05
    ::= { charSessEntry 4 }
Packit 022b05
Packit 022b05
charSessProtocol OBJECT-TYPE
Packit 022b05
    SYNTAX AutonomousType
Packit 022b05
    MAX-ACCESS read-only
Packit 022b05
    STATUS current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The network protocol over which the session is
Packit 022b05
        running.  Other OBJECT IDENTIFIER values may be
Packit 022b05
        defined elsewhere, in association with specific
Packit 022b05
        protocols.  However, this document assigns those of
Packit 022b05
        known interest as of this writing."
Packit 022b05
    ::= { charSessEntry 5 }
Packit 022b05
Packit 022b05
wellKnownProtocols OBJECT IDENTIFIER ::= { char 4 }
Packit 022b05
Packit 022b05
protocolOther  OBJECT IDENTIFIER ::= { wellKnownProtocols 1 }
Packit 022b05
protocolTelnet OBJECT IDENTIFIER ::= { wellKnownProtocols 2 }
Packit 022b05
protocolRlogin OBJECT IDENTIFIER ::= { wellKnownProtocols 3 }
Packit 022b05
protocolLat    OBJECT IDENTIFIER ::= { wellKnownProtocols 4 }
Packit 022b05
protocolX29    OBJECT IDENTIFIER ::= { wellKnownProtocols 5 }
Packit 022b05
protocolVtp    OBJECT IDENTIFIER ::= { wellKnownProtocols 6 }
Packit 022b05
Packit 022b05
Packit 022b05
charSessOperOrigin OBJECT-TYPE
Packit 022b05
    SYNTAX INTEGER { unknown(1), network(2), local(3) }
Packit 022b05
    MAX-ACCESS read-only
Packit 022b05
    STATUS current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The session's source of establishment."
Packit 022b05
    ::= { charSessEntry 6 }
Packit 022b05
Packit 022b05
charSessInCharacters OBJECT-TYPE
Packit 022b05
    SYNTAX Counter32
Packit 022b05
    MAX-ACCESS read-only
Packit 022b05
    STATUS current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "This session's subset of charPortInCharacters."
Packit 022b05
    ::= { charSessEntry 7 }
Packit 022b05
Packit 022b05
charSessOutCharacters OBJECT-TYPE
Packit 022b05
    SYNTAX Counter32
Packit 022b05
    MAX-ACCESS read-only
Packit 022b05
    STATUS current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "This session's subset of charPortOutCharacters."
Packit 022b05
    ::= { charSessEntry 8 }
Packit 022b05
Packit 022b05
charSessConnectionId OBJECT-TYPE
Packit 022b05
    SYNTAX InstancePointer
Packit 022b05
    MAX-ACCESS read-only
Packit 022b05
    STATUS current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "A reference to additional local MIB information.
Packit 022b05
        This should be the highest available related MIB,
Packit 022b05
        corresponding to charSessProtocol, such as Telnet.
Packit 022b05
        For example, the value for a TCP connection (in the
Packit 022b05
        absence of a Telnet MIB) is the object identifier of
Packit 022b05
        tcpConnState.  If an agent is not configured to have
Packit 022b05
        such values, the agent returns the object
Packit 022b05
        identifier:
Packit 022b05
Packit 022b05
            nullConnectionId OBJECT IDENTIFIER ::= { 0 0 }
Packit 022b05
        "
Packit 022b05
    ::= { charSessEntry 9 }
Packit 022b05
Packit 022b05
charSessStartTime OBJECT-TYPE
Packit 022b05
    SYNTAX TimeTicks
Packit 022b05
    MAX-ACCESS read-only
Packit 022b05
    STATUS current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The value of sysUpTime in MIB-2 when the session
Packit 022b05
        entered connecting state."
Packit 022b05
    ::= { charSessEntry 10 }
Packit 022b05
Packit 022b05
-- conformance information
Packit 022b05
Packit 022b05
charConformance OBJECT IDENTIFIER ::= { char 5 }
Packit 022b05
Packit 022b05
charGroups      OBJECT IDENTIFIER ::= { charConformance 1 }
Packit 022b05
charCompliances OBJECT IDENTIFIER ::= { charConformance 2 }
Packit 022b05
Packit 022b05
Packit 022b05
-- compliance statements
Packit 022b05
Packit 022b05
charCompliance MODULE-COMPLIANCE
Packit 022b05
    STATUS  current
Packit 022b05
    DESCRIPTION
Packit 022b05
            "The compliance statement for SNMPv2 entities
Packit 022b05
            which have Character hardware interfaces."
Packit 022b05
Packit 022b05
    MODULE  -- this module
Packit 022b05
        MANDATORY-GROUPS { charGroup }
Packit 022b05
    ::= { charCompliances 1 }
Packit 022b05
Packit 022b05
Packit 022b05
-- units of conformance
Packit 022b05
Packit 022b05
charGroup    OBJECT-GROUP
Packit 022b05
    OBJECTS { charNumber, charPortIndex, charPortName,
Packit 022b05
              charPortType, charPortHardware, charPortReset,
Packit 022b05
              charPortAdminStatus, charPortOperStatus,
Packit 022b05
              charPortLastChange,
Packit 022b05
              charPortInFlowState, charPortOutFlowState,
Packit 022b05
              charPortAdminOrigin, charPortSessionMaximum,
Packit 022b05
              charPortInFlowTypes, charPortOutFlowTypes,
Packit 022b05
              charPortInCharacters, charPortOutCharacters,
Packit 022b05
              charPortSessionNumber, charPortSessionIndex,
Packit 022b05
              charPortLowerIfIndex,
Packit 022b05
              charSessPortIndex, charSessIndex,
Packit 022b05
              charSessKill, charSessState,
Packit 022b05
              charSessProtocol, charSessOperOrigin,
Packit 022b05
              charSessInCharacters, charSessOutCharacters,
Packit 022b05
              charSessConnectionId, charSessStartTime }
Packit 022b05
    STATUS  current
Packit 022b05
    DESCRIPTION
Packit 022b05
            "A collection of objects providing information
Packit 022b05
             applicable to all Character interfaces."
Packit 022b05
    ::= { charGroups 1 }
Packit 022b05
Packit 022b05
END