pimInterfaceIPVersion

PIM-STD-MIB · .1.3.6.1.2.1.157.1.1.1.2

Object

The IP version of this PIM interface.  A physical interface
may be configured in multiple modes concurrently, e.g., IPv4
and IPv6; however, the traffic is considered to be logically
separate.

Context

MIB
PIM-STD-MIB
OID
.1.3.6.1.2.1.157.1.1.1.2
Type
column
Access
noaccess
Status
current
Parent
pimInterfaceEntry

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 'PIM-STD-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PIM-STD-MIB::pimInterfaceIPVersion'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'PIM-STD-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PIM-STD-MIB::pimInterfaceIPVersion.<pimInterfaceIfIndex>.<pimInterfaceIPVersion>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PIM-STD-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PIM-STD-MIB::pimInterfaceIPVersion'

Syntax

Values & Constraints

Type Values
0unknown
1ipv4
2ipv6