dcpOchIndex
DCP-OCH-MIB ·
.1.3.6.1.4.1.30826.2.2.4.2.1.1.1
Object
column Unsigned32
Och Index in the following format:
cspoooy where
c: chassis.
s: slot number.
p: port number.
ooo: Och number.
y: 0 = tx+rx port, 1 = tx port, 2 = rx port.
Same Index is used in the IF-MIB.
Context
- MIB
- DCP-OCH-MIB
- OID
.1.3.6.1.4.1.30826.2.2.4.2.1.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- dcpOchEntry
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-OCH-MIB' -M '/opt/observium/mibs/smartoptics:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DCP-OCH-MIB::dcpOchIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DCP-OCH-MIB' -M '/opt/observium/mibs/smartoptics:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DCP-OCH-MIB::dcpOchIndex.<dcpOchIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DCP-OCH-MIB' -M '/opt/observium/mibs/smartoptics:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DCP-OCH-MIB::dcpOchIndex'
Syntax
Unsigned32
Values & Constraints
Object Constraints
range: 1-1000000