Cisco Systems 1000 Series Network Router User Manual


 
21-6
Cisco ASR 1000 Series Aggregation Services Routers Software Configuration Guide
OL-16506-17
Chapter 21 Packet Trace
Configuring Packet Trace
Step 6
debug platform packet-trace drop [code code-num]
Example:
Router# debug platform packet-trace drop
Captures only the data for dropped packets, and
provides the option to capture data for a specific
global drop code. This command can be used with or
without platform conditions.
When this command is used without platform debug
conditions, all the drop events in the system will be
traced and packet trace will only capture the data
available at the moment of the drop.
When this command is used with platform debug
conditions, packet-trace data is collected for all the
packets classified as a match, but the collected data
is preserved only for packets that meet the drop
criteria.
code-num—Specifies the drop code to trace.
Step 7
debug platform condition start
Example:
Router# debug platform condition start
Enables the specified matching criteria and starts
packet tracing.
Step 8
debug platform condition stop
Example:
Router# debug platform condition start
Deactivates the condition and stops packet tracing.
Step 9
show platform packet-trace {configuration | statistics |
summary | packet {all | pkt-num}}
Example:
Router# show platform packet-trace 14
Displays packet-trace data according to the specified
option. See Table 21-1 for detailed information
about the show command options.
Step 10
clear platform condition all
Example:
Router(config)# clear platform condition all
Removes the configurations provided by the debug
platform condition and debug platform
packet-trace commands.
Step 11
exit
Example:
Router# exit
Exits the privileged EXEC mode.
Command Purpose