Cisco ACI ELAM Packet Capture Example
The ELAM (Embedded Logic Analyzer Module) is a feature that allows you to capture and view the detail of a packet in some Cisco switch ASICs.
Capture a packet leaving switch toward host
Here’s a simple configuration example using ELAM to validate that a packet has left the Cisco ACI leaf switch toward a host. This example assumes the sources IP is 18.104.22.168, the destination IP is 22.214.171.124 and destination port is 135.
debug platform internal ns elam asic 0
trigger init egress in-select 4 out-select 5
set inner ipv4 src_ip 126.96.36.199 dst_ip 188.8.131.52
set inner l4 dst-port 135
- Triggered indicates that a packet has been matched and is available to view in the report.
- Armed it means no packet has been matched by the trigger yet and its active.
- Initialized means it is not currently capturing and the ELAM is available for triggers to be set or to be armed with start.
At this point you can reference the ip_da and ip_sa fields to validate the match criteria.
Reset ELAM if needed