ipsecPeerDynAddrMode
FEC-IPSEC-MIB ·
.0.5.1.87
Object
column r/w
Enumeration
When IP address assignment via IKE Config Mode is configured
(ipsecPeerDynAddrRole != none) this object specifies the used mode:
pull(1), -- the client will request IP address and the gateway
will answer the request
push(2) -- the gateway will set IP address to the client and
the client will accept or deny it
The ipsecPeerDynAddrMode value has to be the same for both sides of
the tunnel. With default value 'pull' the peer (ipsecPeerDynAddrRole ==
client) will request IP address and the gateway (ipsecPeerDynAddrRole ==
server) will answer the request.
The 'push' mode is needed for partner devices that require this mode.
This object matters only when ipsecPeerDynAddrRole != none.
Context
- MIB
- FEC-IPSEC-MIB
- OID
.0.5.1.87- 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::ipsecPeerDynAddrMode'
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::ipsecPeerDynAddrMode.<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::ipsecPeerDynAddrMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | pull |
2 | push |