rcEntPhysicalID

RAISECOM-OPTICAL-ENTITY-MIB · .1.3.6.1.4.1.8886.15.1.4.1.1.1.1.1

Object

column OctetString
The index for this entry. It's a UNNID described as a octect string 
Byte    1   2    3   4   5   6   7   8  9   10 11  
     Shelf Slot Hop  Hop1ID  Hop2ID Hop3ID  Hop4ID 
Byte 0 indicates Shelf ID of the UUID. Shelf id starts from 1.
Byte 1 indicates Slot ID of the UNIID. Slot id starts from 0.
Byte 2 is Hop, means how many hops from the local card to remote device. 
HopNID means relative ID of this hop. Each Hop ID occupies 2 bytes.
For local card, the Hop is zero.
Limitation for the string is 12 bytes now. That means maximum hops is 4. 
If you need to support more than 4 hops, the defination of SYTAX should 
be changed.

Context

MIB
RAISECOM-OPTICAL-ENTITY-MIB
OID
.1.3.6.1.4.1.8886.15.1.4.1.1.1.1.1
Type
column
Access
readonly
Status
current
Parent
rcEntPhysicalEntry

Walk 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 'RAISECOM-OPTICAL-ENTITY-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAISECOM-OPTICAL-ENTITY-MIB::rcEntPhysicalID'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RAISECOM-OPTICAL-ENTITY-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAISECOM-OPTICAL-ENTITY-MIB::rcEntPhysicalID.<rcEntPhysicalID>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RAISECOM-OPTICAL-ENTITY-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RAISECOM-OPTICAL-ENTITY-MIB::rcEntPhysicalID'

Syntax

OctetString

Values & Constraints

Object Constraints
range: 0-12