hm2VpnConnIkeAuthLocType
HM2-VPN-MIB ·
.1.3.6.1.4.1.248.11.120.1.2.10.1.17
Object
column r/w
Enumeration
Type of local peer identifier in 'hm2VpnConnIkeAuthLocId':
o default: If 'hm2VpnConnIkeAuthType' is 'psk' then
use the IP address or host name from
'hm2VpnConnIkeLocalAddr' as local identifier.
In case of 'individualx509' or 'pkcs12'
use the DN from local certificate in
'hm2VpnConnIkeAuthCertLocal'.
o address: use the IP address or DNS name from
'hm2VpnConnIkeLocalAddr'
as local identifier.
o id: use the configured value in hm2VpnConnIkeAuthLocId
(it can be of any type in the description).
For further information see RFC 2407, section 4.6.2
Context
- MIB
- HM2-VPN-MIB
- OID
.1.3.6.1.4.1.248.11.120.1.2.10.1.17- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hm2VpnConnEntry
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 'HM2-VPN-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-VPN-MIB::hm2VpnConnIkeAuthLocType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HM2-VPN-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-VPN-MIB::hm2VpnConnIkeAuthLocType.<hm2VpnConnIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HM2-VPN-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HM2-VPN-MIB::hm2VpnConnIkeAuthLocType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | default |
2 | address |
3 | id |