ipspPacketDirection
IPSEC-POLICY-MIB ·
.1.3.6.1.2.1.153.2.1.8
Object
scalar Enumeration
Indicates if the packet whic triggered the action in questions was inbound our outbound.
Context
- MIB
- IPSEC-POLICY-MIB
- OID
.1.3.6.1.2.1.153.2.1.8- Type
- scalar
- Access
- notifyonly
- Status
- current
- Parent
- ipspNotificationVariables
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'IPSEC-POLICY-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IPSEC-POLICY-MIB::ipspPacketDirection.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'IPSEC-POLICY-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'IPSEC-POLICY-MIB::ipspPacketDirection'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | inbound |
2 | outbound |
Conformance
Member of