zxR10Ipv4SrDistance
ZXR10-IP-STATIC-ROUTE-MIB ·
.1.3.6.1.4.1.3902.3.330.1.1.18
Object
column r/w
Integer32
The distance of this static route.
Context
- MIB
- ZXR10-IP-STATIC-ROUTE-MIB
- OID
.1.3.6.1.4.1.3902.3.330.1.1.18- Type
- column
- Access
- readwrite
- Status
- current
- Default
1- Parent
- zxR10Ipv4StaticRouteEntry
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 'ZXR10-IP-STATIC-ROUTE-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZXR10-IP-STATIC-ROUTE-MIB::zxR10Ipv4SrDistance'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZXR10-IP-STATIC-ROUTE-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZXR10-IP-STATIC-ROUTE-MIB::zxR10Ipv4SrDistance.<zxR10Ipv4SrDest>.<zxR10Ipv4SrPrefixLen>.<zxR10Ipv4SrVrfName>.<zxR10Ipv4SrNexthop>.<zxR10Ipv4SrIfName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZXR10-IP-STATIC-ROUTE-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZXR10-IP-STATIC-ROUTE-MIB::zxR10Ipv4SrDistance'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-255