ipsecPeerPublicIfIndex
FEC-IPSEC-MIB ·
.0.5.1.90
Object
The index value which uniquely identifies the physical interface that should be used for all ipsec traffic as initiator. When multiple eqivalent routes to the given peer are available this is used as additional parameter for routing decisions. If set to -1 then normal routing is used. As responder the interface from the first received packet is used and therefore this index value is ignored.
Context
- MIB
- FEC-IPSEC-MIB
- OID
.0.5.1.90- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- ipsecPeerEntry
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 'FEC-IPSEC-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FEC-IPSEC-MIB::ipsecPeerPublicIfIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'FEC-IPSEC-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FEC-IPSEC-MIB::ipsecPeerPublicIfIndex.<ipsecPeerTrafficList>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'FEC-IPSEC-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'FEC-IPSEC-MIB::ipsecPeerPublicIfIndex'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647