sysImnAddRoute
LUXN-MIB ·
.1.3.6.1.4.1.4253.1.21.13
Object
scalar mandatory
r/w
OctetString
Add route operation. It takes destination IP address,
IP mask and the route metric.
The format is (destination IP, IP mask, routeMetric).
A get on this will return 0.0.0.0,0.0.0.0,0
Context
- MIB
- LUXN-MIB
- OID
.1.3.6.1.4.1.4253.1.21.13- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- systemConfig
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 'LUXN-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LUXN-MIB::sysImnAddRoute.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LUXN-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LUXN-MIB::sysImnAddRoute'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-20