hmSec2VpnConnIpsecNatTraversal
HMSECURITY2-MIB ·
.1.3.6.1.4.1.248.52.1.13.1.2.3.1.26
Object
column r/w
Enumeration
If 'on', then it forces UDP encapsulation of ESP payloads (NAT traversal). When 'off', then the remote peer is allowed to negotiate normal ESP encapsulation or UDP encapsulation via port 4500. A typical scenario is to turn this switch 'on' if it is a priori known, that the local peer resides behind a NAT gateway (else turn it 'off').
Context
- MIB
- HMSECURITY2-MIB
- OID
.1.3.6.1.4.1.248.52.1.13.1.2.3.1.26- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hmSec2VpnConnEntry
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 'HMSECURITY2-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HMSECURITY2-MIB::hmSec2VpnConnIpsecNatTraversal'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HMSECURITY2-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HMSECURITY2-MIB::hmSec2VpnConnIpsecNatTraversal.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HMSECURITY2-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HMSECURITY2-MIB::hmSec2VpnConnIpsecNatTraversal'
Syntax
Enumeration
Values & Constraints
No enumerated values or constraints recorded.