ipsecTrDirection
FEC-IPSEC-MIB ·
.0.7.1.20
Object
column r/w
Enumeration
This object specifies the direction for which this traffic entry should match. It only applies for pass and drop entries, for protect entries it is meaningless. Possible values: bidirectional(1), -- matches packets from remote to local -- and vice versa inbound(2), -- matches only packets from remote to local outbound(3) -- matches only packets from local to remote.
Context
- MIB
- FEC-IPSEC-MIB
- OID
.0.7.1.20- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- ipsecTrafficEntry
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 'FEC-IPSEC-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FEC-IPSEC-MIB::ipsecTrDirection'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'FEC-IPSEC-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FEC-IPSEC-MIB::ipsecTrDirection.<ipsecTrProto>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'FEC-IPSEC-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'FEC-IPSEC-MIB::ipsecTrDirection'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | bidirectional |
2 | inbound |
3 | outbound |