oacSnmpEngineId
ONEACCESS-SNMP-CONFIG-MIB ·
.1.3.6.1.4.1.13191.10.3.4.20.1.7
Object
scalar r/w
OctetString
By default on OneOS the engineId is created by using the mac address of FastEthernet Interface.
Context
- MIB
- ONEACCESS-SNMP-CONFIG-MIB
- OID
.1.3.6.1.4.1.13191.10.3.4.20.1.7- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- oacSnmpConfigObjects
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ONEACCESS-SNMP-CONFIG-MIB' -M '/opt/observium/mibs/oneaccess:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ONEACCESS-SNMP-CONFIG-MIB::oacSnmpEngineId.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ONEACCESS-SNMP-CONFIG-MIB' -M '/opt/observium/mibs/oneaccess:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ONEACCESS-SNMP-CONFIG-MIB::oacSnmpEngineId'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 1-255