devicePort
LEXMARK-MPS-MIB ·
.1.3.6.1.4.1.641.6.2.3.1.2
Object
column SNMPv2-SMIInteger32
The number of the port this device is attached to. If this is an internal network adapter, the port should be 1. Multiport ENAs should list an appropriate number.
Context
- MIB
- LEXMARK-MPS-MIB
- OID
.1.3.6.1.4.1.641.6.2.3.1.2- Type
- column
- Access
- readonly
- Status
- current
- Parent
- deviceEntry
- 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 'LEXMARK-MPS-MIB' -M '/opt/observium/mibs/lexmark:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LEXMARK-MPS-MIB::devicePort'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'LEXMARK-MPS-MIB' -M '/opt/observium/mibs/lexmark:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LEXMARK-MPS-MIB::devicePort.<deviceIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LEXMARK-MPS-MIB' -M '/opt/observium/mibs/lexmark:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LEXMARK-MPS-MIB::devicePort'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647
Conformance
Member of