swPoEPortCtrlPortIndex
PoE-MIB ·
.1.3.6.1.4.1.171.12.24.3.1.1.1
Object
column Integer32
This object indicates the devices' port number in this stack. If a device has N ports, then the 1 -- N ports describe the port number of BoxId 1 device; N+1 -- 2N describe the port number of BoxId 2 device; 2N+1 -- 3N describe the port number of BoxId 2 device; ......
Context
- MIB
- PoE-MIB
- OID
.1.3.6.1.4.1.171.12.24.3.1.1.1- Type
- column
- Access
- readonly
- Status
- current
- Parent
- swPoEPortCtrlEntry
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 'PoE-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PoE-MIB::swPoEPortCtrlPortIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'PoE-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PoE-MIB::swPoEPortCtrlPortIndex.<swPoEPortCtrlPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PoE-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PoE-MIB::swPoEPortCtrlPortIndex'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-65535