charPortType

CHARACTER-MIB · .1.3.6.1.2.1.19.2.1.3

Object

column Enumeration
The port's type, 'physical' if the port represents
an external hardware connector, 'virtual' if it does
not.

Context

MIB
CHARACTER-MIB
OID
.1.3.6.1.2.1.19.2.1.3
Type
column
Access
readonly
Status
current
Parent
charPortEntry
Groups
1

Walk 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::charPortType'
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::charPortType.<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::charPortType'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1physical
2virtual

Conformance

Member of