ipsecSpdInfoFlags
IBM-GbTOR-G8052-MIB ·
.1.3.6.1.4.1.26543.2.7.7.3.3.23.2.1.2
Object
column SNMPv2-SMIUnsigned32
The direction, initiator and etc for an SA; see flag constants below:
SP_FLAG_INUSE 0x00000001
SP_FLAG_DELETED 0x00000002
SP_FLAG_INBOUND 0x00000004
SP_FLAG_MIRRORED 0x00000008
SP_FLAG_PFP_LADDR 0x00000100
SP_FLAG_PFP_RADDR 0x00000200
SP_FLAG_PFP_LPORT 0x00000400
SP_FLAG_PFP_RPORT 0x00000800
SP_FLAG_PFP_ULP 0x00001000
SP_MASK_PFP 0x00001f00
SP_FLAG_DF 0x00002000
SP_FLAG_DF_BIT 0x00004000
SP_MASK_DF 0x00006000
SP_FLAG_DSCP 0x00008000
SP_FLAG_ECN 0x00010000
SP_FLAG_IP6 0x00000010
SP_FLAG_IP6_TUNNEL 0x00000020
SP_FLAG_INIT 0x00000040
Context
- MIB
- IBM-GbTOR-G8052-MIB
- OID
.1.3.6.1.4.1.26543.2.7.7.3.3.23.2.1.2- Type
- column
- Access
- readonly
- Status
- current
- Parent
- ipsecSpdInfoEntry
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 'IBM-GbTOR-G8052-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IBM-GbTOR-G8052-MIB::ipsecSpdInfoFlags'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'IBM-GbTOR-G8052-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IBM-GbTOR-G8052-MIB::ipsecSpdInfoFlags.<ipsecSpdInfoIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'IBM-GbTOR-G8052-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'IBM-GbTOR-G8052-MIB::ipsecSpdInfoFlags'
Syntax
- Source
- SNMPv2-SMIUnsigned32
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..4294967295