Linux / iproute2
Inspect Linux IPsec/XFRM security associations
ip xfrm state
Inspect Linux IPsec/XFRM security associations. Focus fields: source/destination, SPI, protocol, mode, algorithms, key lifetimes and byte/packet counters.
Use when isolating security--ipsec-ipsec-troubleshooting at the matching failure boundary.
inspect xfrm policy/IKE daemon state and packet path for the same selectors
Privilege Use an account/context authorized for the observation and keep scope bounded.State impact Read-onlyProduction Unknown
Field glossary
Important fields projected from persisted Command guidance.
source/destination, SPI, protocol, mode, algorithms, key lifetimes and byte/packet countersImportant persisted output field; use surrounding guidance for interpretation.
Used in these Topics
Each relation carries both placement role and operational semantic: verifies, configures, troubleshoots, collects evidence, changes state or general.
Evidence boundary
What this output can establish — and where you must not over-claim.
Directly exposes source/destination, SPI, protocol, mode, algorithms, key lifetimes and byte/packet counters for the selected object and execution context.
Does not by itself prove root cause, adjacent dependency health or end-to-end workload recovery.
inspect xfrm policy/IKE daemon state and packet path for the same selectors
Command guidance
Execution context
Linux / iproute2
Use when
Use when isolating security--ipsec-ipsec-troubleshooting at the matching failure boundary.
Important fields
source/destination, SPI, protocol, mode, algorithms, key lifetimes and byte/packet counters
Common problems
Common mistakes: wrong host/device/object, wrong namespace or time window, or treating one layer as end-to-end proof.
Operational impact
Read-only observation; runtime cost still depends on platform and result size.
Runtime cautions
Record object identity, scope and timestamp so output can be correlated with the original failure.
Technical context
No illustrative output is seeded. Add captured or source-backed output only through the provenance-aware workflow.