![]() If the packet-trace is for an inbound packet then the packet-start will be layer2. packet-start” can vary depending on if packet-trace is for an inbound Packet-start-Specifies the offset base from packet-start. Header-Specifies the offset base configuration. Router(config)# udf TEST_UDF_NAME_5 packet-start 120 1 ![]() debug platform packet-trace offset-base offset length Example:.debug platform packet-trace packet pkt-num.You can check the current data-plane DRAM memory consumption by using the show platform hardware qfp active infrastructure exmem statistics command. Select the size of per-packet path data and copy buffers and the number of packets to be traced in order to avoid interrupting The amount of memory consumed by the Packet-Trace feature is affected by the packet-trace configuration. Perform the following steps to configure the Packet-Trace feature. You can significantly influence the amount of memory consumed by the number of packets you select to trace, and whether you Similarly, when per-packetĭata is captured, a small, fixed amount of memory is required for each packet for summary data. When the Packet-Trace feature is enabled, a small, fixed amount of memory is allocated for statistics. Memory required = (statistics overhead) + number of packets * (summary size + data size + packet copy size). A close approximation of the amount of memory consumed by packet trace is provided How you will select the packet-trace values. On systems where data-plane memory is constrained, carefully consider Packet-trace configuration requires data-plane memory. Use of ingress conditions when using the Packet-Trace feature is recommended for a more comprehensive view of packets. Usage Guidelines for Configuring Packet TraceĬonsider the following best practices while configuring the Packet-Trace feature: Therefore, path-data level should be used in limited capacity or in situations where packet performance change Option tracks every feature entry invoked during packet processing and helps you to know what is happening during packet processing.Ĭollecting path data consumes more packet-processing resources, and the optional capabilities incrementally affect packet The packet-copy optionĮnables you to copy input and output packets at various layers of the packet (layer 2, layer 3 or layer 4). Path data also has two optional capabilities: packet copy and Feature Invocation Array (FIA) trace. Packet-Trace path data captures data, including a conditional debugging ID that is useful to correlate with featureĭebugs, a timestamp, and also feature-specific path-trace data. The packet-trace path data level provides the greatest level of detail in packet trace. ![]() Collecting summary data adds toĪdditional performance compared to normal packet processing, and can help to isolate a troublesome interface. Packet-Trace summary tracks the inputĪnd output interfaces, the final packet state, and punt, drop, or inject packets, if any. Packet-Trace accounting isĪ lightweight performance activity, and runs continuously until it is disabled.Īt the summary level of packet trace, data is collected for a finite number of packets. Packet-Trace accounting provides a count of packets that enter and leave the network processor. ![]() The following table explains the three levels of inspection provided by packet trace. ![]() Inspection to packets that match the debug platform condition statements, and is a viable option even under heavy-traffic Provides a detailed view of packet processing at the cost of some packet processing capability. The Packet-Trace feature provides three levels of inspection for packets: accounting, summary, and path data. Configuration Examples for Packet Trace.Usage Guidelines for Configuring Packet Trace.The Packet-Trace feature provides a detailed understanding of how data packets are processed by the Cisco IOS XE platform,Īnd thus helps customers to diagnose issues and troubleshoot them more efficiently. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |