hm2VpnConnOperStatus
HM2-VPN-MIB ·
.1.3.6.1.4.1.248.11.120.1.2.10.1.30
Object
column Enumeration
The current operational status of the VPN connection: o 'up': the IKE-SA and all IPsec-SAs are up; o 'down': the IKE-SA and all IPsec-SAs are down; o 'negotiation': key exchange and algorithm negotiation is in progress (or, as responder, waiting to be contacted for that purpose); o 'constructing': the IKE-SA is up, but at least one IPsec-SA is not established so far; o 'dormant': waiting for a precondition to be fulfilled before connection setup, e.g.: - a dynamically assigned IP address; - successful hostname resolution; - assignment of a valid system time. o 're-keying': key exchange is in progress after timeout of lifetime has occured, either IKE or IPSEC;
Context
- MIB
- HM2-VPN-MIB
- OID
.1.3.6.1.4.1.248.11.120.1.2.10.1.30- Type
- column
- Access
- readonly
- 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::hm2VpnConnOperStatus'
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::hm2VpnConnOperStatus.<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::hm2VpnConnOperStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | up |
2 | down |
3 | negotiation |
4 | constructing |
5 | dormant |
6 | re-keying |