1 RFC1316-MIB DEFINITIONS ::= BEGIN
4 Counter, TimeTicks, Gauge
11 -- this is the MIB module for character stream devices
13 char OBJECT IDENTIFIER ::= { mib-2 19 }
15 -- Textual Conventions
17 AutonomousType ::= OBJECT IDENTIFIER
19 -- The object identifier is an independently extensible type
20 -- identification value. It may, for example indicate a
21 -- particular sub-tree with further MIB definitions, or
22 -- define something like a protocol type or type of
25 InstancePointer ::= OBJECT IDENTIFIER
27 -- The object identifier is a pointer to a specific instance
28 -- of a MIB object in this agent's implemented MIB. By
29 -- convention, it is the first object in the conceptual row
32 -- the generic Character group
34 -- Implementation of this group is mandatory for all
35 -- systems that offer character ports
37 charNumber OBJECT-TYPE
42 "The number of entries in charPortTable, regardless
43 of their current state."
47 -- the Character Port table
49 charPortTable OBJECT-TYPE
50 SYNTAX SEQUENCE OF CharPortEntry
54 "A list of port entries. The number of entries is
55 given by the value of charNumber."
58 charPortEntry OBJECT-TYPE
63 "Status and parameter values for a character port."
64 INDEX { charPortIndex }
65 ::= { charPortTable 1 }
99 charPortSessionMaximum
101 charPortSessionNumber
107 charPortIndex OBJECT-TYPE
112 "A unique value for each character port. Its value
113 ranges between 1 and the value of charNumber. By
114 convention and if possible, hardware port numbers
115 come first, with a simple, direct mapping. The
116 value for each port must remain constant at least
117 from one re-initialization of the network management
119 ::= { charPortEntry 1 }
121 charPortName OBJECT-TYPE
122 SYNTAX DisplayString (SIZE (0..32))
126 "An administratively assigned name for the port,
127 typically with some local significance."
128 ::= { charPortEntry 2 }
130 charPortType OBJECT-TYPE
131 SYNTAX INTEGER { physical(1), virtual(2) }
135 "The port's type, 'physical' if the port represents
136 an external hardware connector, 'virtual' if it does
138 ::= { charPortEntry 3 }
140 charPortHardware OBJECT-TYPE
141 SYNTAX AutonomousType
145 "A reference to hardware MIB definitions specific to
146 a physical port's external connector. For example,
147 if the connector is RS-232, then the value of this
148 object refers to a MIB sub-tree defining objects
149 specific to RS-232. If an agent is not configured
150 to have such values, the agent returns the object
153 nullHardware OBJECT IDENTIFIER ::= { 0 0 }
155 ::= { charPortEntry 4 }
157 charPortReset OBJECT-TYPE
158 SYNTAX INTEGER { ready(1), execute(2) }
162 "A control to force the port into a clean, initial
163 state, both hardware and software, disconnecting all
164 the port's existing sessions. In response to a
165 get-request or get-next-request, the agent always
166 returns 'ready' as the value. Setting the value to
167 'execute' causes a reset."
168 ::= { charPortEntry 5 }
170 charPortAdminStatus OBJECT-TYPE
171 SYNTAX INTEGER { enabled(1), disabled(2), off(3),
176 "The port's desired state, independent of flow
177 control. 'enabled' indicates that the port is
178 allowed to pass characters and form new sessions.
179 'disabled' indicates that the port is allowed to
180 pass characters but not form new sessions. 'off'
181 indicates that the port is not allowed to pass
182 characters or have any sessions. 'maintenance'
183 indicates a maintenance mode, exclusive of normal
184 operation, such as running a test."
185 ::= { charPortEntry 6 }
187 charPortOperStatus OBJECT-TYPE
188 SYNTAX INTEGER { up(1), down(2),
189 maintenance(3), absent(4), active(5) }
193 "The port's actual, operational state, independent
194 of flow control. 'up' indicates able to function
195 normally. 'down' indicates inability to function
196 for administrative or operational reasons.
197 'maintenance' indicates a maintenance mode,
198 exclusive of normal operation, such as running a
199 test. 'absent' indicates that port hardware is not
200 present. 'active' indicates up with a user present
202 ::= { charPortEntry 7 }
204 charPortLastChange OBJECT-TYPE
209 "The value of sysUpTime at the time the port entered
210 its current operational state. If the current state
211 was entered prior to the last reinitialization of
212 the local network management subsystem, then this
213 object contains a zero value."
214 ::= { charPortEntry 8 }
216 charPortInFlowType OBJECT-TYPE
217 SYNTAX INTEGER { none(1), xonXoff(2), hardware(3),
218 ctsRts(4), dsrDtr(5) }
222 "The port's type of input flow control. 'none'
223 indicates no flow control at this level or below.
224 'xonXoff' indicates software flow control by
225 recognizing XON and XOFF characters. 'hardware'
226 indicates flow control delegated to the lower level,
227 for example a parallel port.
229 'ctsRts' and 'dsrDtr' are specific to RS-232-like
230 ports. Although not architecturally pure, they are
231 included here for simplicity's sake."
232 ::= { charPortEntry 9 }
234 charPortOutFlowType OBJECT-TYPE
235 SYNTAX INTEGER { none(1), xonXoff(2), hardware(3),
236 ctsRts(4), dsrDtr(5) }
240 "The port's type of output flow control. 'none'
241 indicates no flow control at this level or below.
242 'xonXoff' indicates software flow control by
243 recognizing XON and XOFF characters. 'hardware'
244 indicates flow control delegated to the lower level,
245 for example a parallel port.
247 'ctsRts' and 'dsrDtr' are specific to RS-232-like
248 ports. Although not architecturally pure, they are
249 included here for simplicy's sake."
250 ::= { charPortEntry 10 }
252 charPortInFlowState OBJECT-TYPE
253 SYNTAX INTEGER { none(1), unknown(2), stop(3), go(4) }
257 "The current operational state of input flow control
258 on the port. 'none' indicates not applicable.
259 'unknown' indicates this level does not know.
260 'stop' indicates flow not allowed. 'go' indicates
262 ::= { charPortEntry 11 }
264 charPortOutFlowState OBJECT-TYPE
265 SYNTAX INTEGER { none(1), unknown(2), stop(3), go(4) }
269 "The current operational state of output flow
270 control on the port. 'none' indicates not
271 applicable. 'unknown' indicates this level does not
272 know. 'stop' indicates flow not allowed. 'go'
273 indicates flow allowed."
274 ::= { charPortEntry 12 }
276 charPortInCharacters OBJECT-TYPE
281 "Total number of characters detected as input from
282 the port since system re-initialization and while
283 the port operational state was 'up', 'active', or
284 'maintenance', including, for example, framing, flow
285 control (i.e. XON and XOFF), each occurrence of a
286 BREAK condition, locally-processed input, and input
287 sent to all sessions."
288 ::= { charPortEntry 13 }
290 charPortOutCharacters OBJECT-TYPE
295 "Total number of characters detected as output to
296 the port since system re-initialization and while
297 the port operational state was 'up', 'active', or
298 'maintenance', including, for example, framing, flow
299 control (i.e. XON and XOFF), each occurrence of a
300 BREAK condition, locally-created output, and output
301 received from all sessions."
302 ::= { charPortEntry 14 }
304 charPortAdminOrigin OBJECT-TYPE
305 SYNTAX INTEGER { dynamic(1), network(2), local(3),
310 "The administratively allowed origin for
311 establishing session on the port. 'dynamic' allows
312 'network' or 'local' session establishment. 'none'
313 disallows session establishment."
314 ::= { charPortEntry 15 }
316 charPortSessionMaximum OBJECT-TYPE
321 "The maximum number of concurrent sessions allowed
322 on the port. A value of -1 indicates no maximum.
323 Setting the maximum to less than the current number
324 of sessions has unspecified results."
325 ::= { charPortEntry 16 }
327 charPortSessionNumber OBJECT-TYPE
332 "The number of open sessions on the port that are in
333 the connecting, connected, or disconnecting state."
334 ::= { charPortEntry 17 }
336 charPortSessionIndex OBJECT-TYPE
341 "The value of charSessIndex for the port's first or
342 only active session. If the port has no active
343 session, the agent returns the value zero."
344 ::= { charPortEntry 18 }
347 -- the Character Session table
349 charSessTable OBJECT-TYPE
350 SYNTAX SEQUENCE OF CharSessEntry
351 ACCESS not-accessible
354 "A list of port session entries."
357 charSessEntry OBJECT-TYPE
359 ACCESS not-accessible
362 "Status and parameter values for a character port
364 INDEX { charSessPortIndex, charSessIndex }
365 ::= { charSessTable 1 }
383 charSessOutCharacters
391 charSessPortIndex OBJECT-TYPE
396 "The value of charPortIndex for the port to which
397 this session belongs."
398 ::= { charSessEntry 1 }
400 charSessIndex OBJECT-TYPE
405 "The session index in the context of the port, a
406 non-zero positive integer. Session indexes within a
407 port need not be sequential. Session indexes may be
408 reused for different ports. For example, port 1 and
409 port 3 may both have a session 2 at the same time.
410 Session indexes may have any valid integer value,
411 with any meaning convenient to the agent
413 ::= { charSessEntry 2 }
415 charSessKill OBJECT-TYPE
416 SYNTAX INTEGER { ready(1), execute(2) }
420 "A control to terminate the session. In response to
421 a get-request or get-next-request, the agent always
422 returns 'ready' as the value. Setting the value to
423 'execute' causes termination."
424 ::= { charSessEntry 3 }
426 charSessState OBJECT-TYPE
427 SYNTAX INTEGER { connecting(1), connected(2),
432 "The current operational state of the session,
433 disregarding flow control. 'connected' indicates
434 that character data could flow on the network side
435 of session. 'connecting' indicates moving from
436 nonexistent toward 'connected'. 'disconnecting'
437 indicates moving from 'connected' or 'connecting' to
439 ::= { charSessEntry 4 }
441 charSessProtocol OBJECT-TYPE
442 SYNTAX AutonomousType
446 "The network protocol over which the session is
447 running. Other OBJECT IDENTIFIER values may be
448 defined elsewhere, in association with specific
449 protocols. However, this document assigns those of
450 known interest as of this writing."
451 ::= { charSessEntry 5 }
453 wellKnownProtocols OBJECT IDENTIFIER ::= { char 4 }
455 protocolOther OBJECT IDENTIFIER ::= {wellKnownProtocols 1}
456 protocolTelnet OBJECT IDENTIFIER ::= {wellKnownProtocols 2}
457 protocolRlogin OBJECT IDENTIFIER ::= {wellKnownProtocols 3}
458 protocolLat OBJECT IDENTIFIER ::= {wellKnownProtocols 4}
459 protocolX29 OBJECT IDENTIFIER ::= {wellKnownProtocols 5}
460 protocolVtp OBJECT IDENTIFIER ::= {wellKnownProtocols 6}
462 charSessOperOrigin OBJECT-TYPE
463 SYNTAX INTEGER { unknown(1), network(2), local(3) }
467 "The session's source of establishment."
468 ::= { charSessEntry 6 }
470 charSessInCharacters OBJECT-TYPE
475 "This session's subset of charPortInCharacters."
476 ::= { charSessEntry 7 }
478 charSessOutCharacters OBJECT-TYPE
483 "This session's subset of charPortOutCharacters."
484 ::= { charSessEntry 8 }
486 charSessConnectionId OBJECT-TYPE
487 SYNTAX InstancePointer
491 "A reference to additional local MIB information.
492 This should be the highest available related MIB,
493 corresponding to charSessProtocol, such as Telnet.
494 For example, the value for a TCP connection (in the
495 absence of a Telnet MIB) is the object identifier of
496 tcpConnState. If an agent is not configured to have
497 such values, the agent returns the object
500 nullConnectionId OBJECT IDENTIFIER ::= { 0 0 }
502 ::= { charSessEntry 9 }
504 charSessStartTime OBJECT-TYPE
509 "The value of sysUpTime in MIB-2 when the session
510 entered connecting state."
511 ::= { charSessEntry 10 }