cpqnSPortIfIndex
CPQNUNIF-MIB ·
.1.3.6.1.4.1.232.121.2.3.1.2
Object
This object indicates which entry in the MIB-II interface table this serial port corresponds to. If this value is zero (0), then this serial port DOES NOT have an associated MIB-II interface. This object will only be non-zero for serial ports which support SLIP, PPP or a similar protocol.
Context
- MIB
- CPQNUNIF-MIB
- OID
.1.3.6.1.4.1.232.121.2.3.1.2- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- cpqnSerialPortEntry
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 'CPQNUNIF-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQNUNIF-MIB::cpqnSPortIfIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CPQNUNIF-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQNUNIF-MIB::cpqnSPortIfIndex.<cpqnSPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CPQNUNIF-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CPQNUNIF-MIB::cpqnSPortIfIndex'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647