zyStaticRouteMetric
ZYXEL-STATIC-ROUTE-MIB ·
.1.3.6.1.4.1.890.1.15.3.77.1.2.1.5
Object
The metric represents the cost of transmission for routing purposes. IP routing uses hop count as the measurement of cost, with a minimum of 1 for directly connected networks. Enter a number that approximates the cost for this link. The number need not be precise, but it must be between 1 and 15. In practice, 2 or 3 is usually a good number.
Context
- MIB
- ZYXEL-STATIC-ROUTE-MIB
- OID
.1.3.6.1.4.1.890.1.15.3.77.1.2.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- zyxelStaticRouteEntry
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 'ZYXEL-STATIC-ROUTE-MIB' -M '/opt/observium/mibs/zyxel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZYXEL-STATIC-ROUTE-MIB::zyStaticRouteMetric'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZYXEL-STATIC-ROUTE-MIB' -M '/opt/observium/mibs/zyxel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZYXEL-STATIC-ROUTE-MIB::zyStaticRouteMetric.<zyStaticRouteIpAddress>.<zyStaticRouteSubnetMask>.<zyStaticRouteGateway>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZYXEL-STATIC-ROUTE-MIB' -M '/opt/observium/mibs/zyxel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZYXEL-STATIC-ROUTE-MIB::zyStaticRouteMetric'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647