charPortIndex
CHARACTER-MIB ·
.1.3.6.1.2.1.19.2.1.1
Object
column PortIndex
A unique value for each character port, perhaps corresponding to the same value of ifIndex when the character port is associated with a hardware port represented by an ifIndex.
Context
- MIB
- CHARACTER-MIB
- OID
.1.3.6.1.2.1.19.2.1.1- 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::charPortIndex'
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::charPortIndex.<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::charPortIndex'
Values & Constraints
No enumerated values or constraints recorded.
Conformance
Member of