dcpOchGeneralIndex
DCP-OCH-MIB ·
.1.3.6.1.4.1.30826.2.2.4.1.1.1.1
Object
column Unsigned32
Port Index in the following format:
ccspp where
cc: chassis.
s: slot number.
pp: port number.
Context
- MIB
- DCP-OCH-MIB
- OID
.1.3.6.1.4.1.30826.2.2.4.1.1.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- dcpOchGeneralEntry
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::dcpOchGeneralIndex'
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::dcpOchGeneralIndex.<dcpOchGeneralIndex>'
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::dcpOchGeneralIndex'
Syntax
Unsigned32
Values & Constraints
Object Constraints
range: 1-1000000