staticRouteMetric
ZHONE-COM-IP-STATIC-ROUTE-MIB ·
.1.3.6.1.4.1.5504.4.1.13.1.1.5
Object
A dimensionless quantity chosen at the discretion of the provisioner for the purpose of comparing static routes. The meaning of this value when static routes are redistributed to other protocols is protocol-dependent, and the resulting value after redistribution is determined by the route-maps in use for that protocol. Lower numeric values for this number indicate more preferred routes.
Context
- MIB
- ZHONE-COM-IP-STATIC-ROUTE-MIB
- OID
.1.3.6.1.4.1.5504.4.1.13.1.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- staticRouteEntry
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 'ZHONE-COM-IP-STATIC-ROUTE-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZHONE-COM-IP-STATIC-ROUTE-MIB::staticRouteMetric'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZHONE-COM-IP-STATIC-ROUTE-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZHONE-COM-IP-STATIC-ROUTE-MIB::staticRouteMetric.<rdIndex>.<staticRouteDest>.<staticRouteNetMask>.<staticRouteNextHop>.<staticRouteIfNumber>.<staticRouteType>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZHONE-COM-IP-STATIC-ROUTE-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZHONE-COM-IP-STATIC-ROUTE-MIB::staticRouteMetric'
Syntax
- Source
- SNMPv2-SMIUnsigned32
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..4294967295