swIPv6StaticRoutePrefixLen

IPV6-STATIC-ROUTE-MIB · .1.3.6.1.4.1.171.12.26.3.1.1.2

Object

column Integer32
The prefix length for this IPv6 address.
If swIPv6StaticRouteDest and swIPv6StaticRoutePrefixLen are both 0, it means the default route.

Context

MIB
IPV6-STATIC-ROUTE-MIB
OID
.1.3.6.1.4.1.171.12.26.3.1.1.2
Type
column
Access
readonly
Status
current
Parent
swIPv6StaticRouteEntry

Walk 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 'IPV6-STATIC-ROUTE-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IPV6-STATIC-ROUTE-MIB::swIPv6StaticRoutePrefixLen'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'IPV6-STATIC-ROUTE-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IPV6-STATIC-ROUTE-MIB::swIPv6StaticRoutePrefixLen.<swIPv6StaticRouteDest>.<swIPv6StaticRoutePrefixLen>.<swIPv6StaticRouteInterfaceName>.<swIPv6StaticRouteNextHop>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'IPV6-STATIC-ROUTE-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'IPV6-STATIC-ROUTE-MIB::swIPv6StaticRoutePrefixLen'

Syntax

Integer32

Values & Constraints

Object Constraints
range: 0-128