Cisco Systems 1000 Series Network Router User Manual


 
21-4
Cisco ASR 1000 Series Aggregation Services Routers Software Configuration Guide
OL-16506-17
Chapter 21 Packet Trace
Configuring Packet Trace
Configuring Packet Trace
Perform the following steps to configure the Packet-Trace feature.
Note The amount of memory consumed by the Packet-Trace feature is affected by the packet-trace
configuration. You should carefully select the size of per-packet path data and copy buffers and the
number of packets to be traced in order to avoid interrupting normal services. You can check the current
data-plane DRAM memory consumption by using the show platform hardware qfp active
infrastructure exmem statistics command. See the “Configuration Examples for Packet Trace” section
on page 7 for more information about configuring packet trace.
SUMMARY STEPS
1. enable
2. debug platform packet-trace enable
3. debug platform packet-trace packet pkt-num [fia-trace | summary-only] [data-size data-size]
[circular]
4. debug platform packet-trace copy packet {input | output | both} [size num-bytes] [L2 | L3 | L4]
5. debug platform condition [ipv4 | ipv6] [interface interface] [access-list access-list -name|
ipv4-address / subnet-mask | ipv6-address / subnet-mask] [ingress | egress]
6. debug platform packet-trace drop [code code-num]
7. debug platform condition start
8. debug platform condition stop
9. show platform packet-trace {configuration | statistics | summary | packet {all | pkt-num}}
10. clear platform condition all
11. exit