charPortSessionIndex
CHARACTER-MIB ·
.1.3.6.1.2.1.19.2.1.18
Object
column Integer32
The value of charSessIndex for the port's first or only active session. If the port has no active session, the agent returns the value zero.
Context
- MIB
- CHARACTER-MIB
- OID
.1.3.6.1.2.1.19.2.1.18- Type
- column
- Access
- readonly
- Status
- current
- Parent
- charPortEntry
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'CHARACTER-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CHARACTER-MIB::charPortSessionIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CHARACTER-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CHARACTER-MIB::charPortSessionIndex.<charPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CHARACTER-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CHARACTER-MIB::charPortSessionIndex'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-2147483647
Conformance
Member of