ipspIpHeadFiltIPVersion

IPSEC-POLICY-MIB · .1.3.6.1.2.1.153.1.8.1.3

Object

The Internet Protocol version the addresses are to match
against.  The value of this property determines the size and
format of the ipspIpHeadFiltSrcAddressBegin,
ipspIpHeadFiltSrcAddressEnd, ipspIpHeadFiltDstAddressBegin,
and ipspIpHeadFiltDstAddressEnd objects.
              
Values of unknown, ipv4z, ipv6z and dns are not legal values
for this object.

Context

MIB
IPSEC-POLICY-MIB
OID
.1.3.6.1.2.1.153.1.8.1.3
Type
column
Access
readwrite
Status
current
Parent
ipspIpHeaderFilterEntry
Groups
1

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

Values & Constraints

Type Values
0unknown
1ipv4
2ipv6
3ipv4z
4ipv6z
16dns
25l2vpn

Conformance

Member of
Compliance refinements
ipspRuleFilterCompliance INET-ADDRESS-MIB::InetAddressType
Values: ipv4(1), ipv6(2)
Only the ipv4 and ipv6 values make sense for this
object.