dcpInterfaceIndex
DCP-INTERFACE-MIB ·
.1.3.6.1.4.1.30826.2.2.1.1.1.1.1
Object
column Unsigned32
Interface Index in the following format:
csiixy where
c: chassis.
s: slot number.
ii: Interface number.
x: 1 = line, 2 = client.
y: 0 = tx+rx port, 1 = tx port, 2 = rx port.
For DCP-M products Slot is always 0.
Same Index is used in the IF-MIB.
Context
- MIB
- DCP-INTERFACE-MIB
- OID
.1.3.6.1.4.1.30826.2.2.1.1.1.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- dcpInterfaceEntry
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::dcpInterfaceIndex'
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::dcpInterfaceIndex.<dcpInterfaceIndex>'
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::dcpInterfaceIndex'
Syntax
Unsigned32
Values & Constraints
Object Constraints
range: 1-1000000