zxR10Ipv4SrMetric
ZXR10-IP-STATIC-ROUTE-MIB ·
.1.3.6.1.4.1.3902.3.330.1.1.10
Object
column r/w
Integer32
The static route metric.
Context
- MIB
- ZXR10-IP-STATIC-ROUTE-MIB
- OID
.1.3.6.1.4.1.3902.3.330.1.1.10- Type
- column
- Access
- readwrite
- Status
- current
- Default
0- 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::zxR10Ipv4SrMetric'
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::zxR10Ipv4SrMetric.<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::zxR10Ipv4SrMetric'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-255