cmStaticRouteMetric
CM-IP-MIB ·
.1.3.6.1.4.1.2544.1.12.11.1.2.1.4
Object
column r/w
Integer32
The primary routing metric for this route. The semantics of this metric are determined by the routing-protocol specified in the route's cmStaticRouteProto value. If this metric is not used, its value should be set to 1.
Context
- MIB
- CM-IP-MIB
- OID
.1.3.6.1.4.1.2544.1.12.11.1.2.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- cmStaticRouteEntry
- Groups
- 1
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 'CM-IP-MIB' -M '/opt/observium/mibs/adva:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CM-IP-MIB::cmStaticRouteMetric'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CM-IP-MIB' -M '/opt/observium/mibs/adva:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CM-IP-MIB::cmStaticRouteMetric.<cmStaticRouteDest>.<cmStaticRouteMask>.<cmStaticRouteNextHop>.<cmStaticRouteInterface>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CM-IP-MIB' -M '/opt/observium/mibs/adva:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CM-IP-MIB::cmStaticRouteMetric'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-65535
Conformance
Member of