oacSnmpSource
ONEACCESS-SNMP-CONFIG-MIB ·
.1.3.6.1.4.1.13191.10.3.4.20.1.1
Object
scalar r/w
OctetString
snmp source { <interface> | any }
Context
- MIB
- ONEACCESS-SNMP-CONFIG-MIB
- OID
.1.3.6.1.4.1.13191.10.3.4.20.1.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Default
"any"- 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::oacSnmpSource.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::oacSnmpSource'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 1-255