spdPacketDirection
IPSEC-SPD-MIB ·
.1.3.6.1.2.1.153.2.1.8
Object
scalar DIFFSERV-MIBIfDirection
Indicates if the packet that triggered the action in questions was ingress (inbound) or egress (outbound).
Context
- MIB
- IPSEC-SPD-MIB
- OID
.1.3.6.1.2.1.153.2.1.8- Type
- scalar
- Access
- notifyonly
- Status
- current
- Parent
- spdNotificationVariables
- 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-SPD-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IPSEC-SPD-MIB::spdPacketDirection.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'IPSEC-SPD-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'IPSEC-SPD-MIB::spdPacketDirection'
Syntax
- Source
- DIFFSERV-MIBIfDirection
- Base type
Enumeration
Values & Constraints
Type Values
1 | inbound |
2 | outbound |
Conformance
Member of