hmSec2VpnTrafficSelPolicy
HMSECURITY2-MIB ·
.1.3.6.1.4.1.248.52.1.13.1.3.1.1.8
Object
column r/w
OctetString
Policy to apply to the matching traffic. The following policies are currently supported: o 'require': require encryption of the traffic. If the tunnel or traffic selector is down the traffic will discarded. o 'use': use encryption if possible else route the traffic unencrypted.
Context
- MIB
- HMSECURITY2-MIB
- OID
.1.3.6.1.4.1.248.52.1.13.1.3.1.1.8- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hmSec2VpnTrafficSelEntry
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::hmSec2VpnTrafficSelPolicy'
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::hmSec2VpnTrafficSelPolicy.<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::hmSec2VpnTrafficSelPolicy'
Syntax
OctetString
Values & Constraints
No enumerated values or constraints recorded.