ipsecPeerPublicIfIndexMode
FEC-IPSEC-MIB ·
.0.5.1.91
Object
column r/w
Enumeration
This object defines the mode used in conjunction with ipsecPeerPublicIfIndex. force(1), -- the given interface is used, even if a route with lower metric is available. preferred(2) -- the given interface is used, if no route with lower metric is available. This object matters only when ipsecPeerPublicIfIndex > 0.
Context
- MIB
- FEC-IPSEC-MIB
- OID
.0.5.1.91- 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::ipsecPeerPublicIfIndexMode'
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::ipsecPeerPublicIfIndexMode.<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::ipsecPeerPublicIfIndexMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | force |
2 | preferred |