dcpInterfaceDeIndex
DCP-INTERFACE-MIB ·
.1.3.6.1.4.1.30826.2.2.1.6.1.1.1
Object
column Unsigned32
Interface Index in the following format: csiixy where c: chassis (always 1 for DCP-M). s: slot number (always 0 for DCP-M). ii: interface number (sequential). x: 1 = line, 2 = client. y: 1 = tx port, 2 = rx port.
Context
- MIB
- DCP-INTERFACE-MIB
- OID
.1.3.6.1.4.1.30826.2.2.1.6.1.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- dcpInterfaceDeEntry
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 'DCP-INTERFACE-MIB' -M '/opt/observium/mibs/smartoptics:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DCP-INTERFACE-MIB::dcpInterfaceDeIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DCP-INTERFACE-MIB' -M '/opt/observium/mibs/smartoptics:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DCP-INTERFACE-MIB::dcpInterfaceDeIndex.<dcpInterfaceDeIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DCP-INTERFACE-MIB' -M '/opt/observium/mibs/smartoptics:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DCP-INTERFACE-MIB::dcpInterfaceDeIndex'
Syntax
Unsigned32
Values & Constraints
Object Constraints
range: 1-1000000