staticRouteMetric
DGS-1210-28XME-BX ·
.1.3.6.1.4.1.171.10.76.43.1.42.1.1.5
Object
Allows the entry of a routing protocol metric representing the number of routers between the Switch and the IP address above.(1-65535)
Context
- MIB
- DGS-1210-28XME-BX
- OID
.1.3.6.1.4.1.171.10.76.43.1.42.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 'DGS-1210-28XME-BX' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DGS-1210-28XME-BX::staticRouteMetric'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DGS-1210-28XME-BX' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DGS-1210-28XME-BX::staticRouteMetric.<staticRouteIpAddr>.<staticRouteNetmask>.<staticRouteGateway>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DGS-1210-28XME-BX' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DGS-1210-28XME-BX::staticRouteMetric'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647