

When tracing on sub-interfaces, the Offset/Value/Mask specification must take into account the dot1q or QinQ encapsulation.

Packet-trace condition interface hu0/5/0/8 Packet-trace condition interface hu0/5/0/7 Packet-trace condition interface hu0/5/0/6 See the most recent 1023 increments of a specific packet-trace counter. If packet tracer status is Active, output also shows which conditions were successfully programmed in data-path. The detailed option of the command shows which processes are registered with the packet tracer framework on every card in the router. See conditions buffered by the pkt_trace_master process running on the active RP and the packet tracer status (Active/Inactive). See all counters registered with the packet tracer framework along with their descriptions. Specify set(s) of the Offset/Value/Mask that define the flow of interest. Packet-trace condition n offset offset value value mask mask Specify interfaces on which you expect to receive packets that you want to trace through the router. Packet-trace condition interface interface Resets all packet-trace counters to zero. Command is allowed only while packet tracing is inactive. The following diagram represents the packet tracer workflow:Ĭlears all buffered packet-trace conditions. There is no need for any configuration changes to enable the packet tracer functionality. User interaction with the packet tracer framework is entirely contained in the user mode. The main pillar of the XR Embedded Packet Tracer architecture is simplicity of user experience.Īt this stage of XR Embedded Packet Tracer framework development, user interface is provided through a CLI.

Therefore any actions performed by microcode are reported to the packet tracer infrastructure, but actions peformed by HW ASICs are not. HW ASICs (FIA, XBAR, PHY) do not have the capability to participate in the packet tracer framework.
#Cisco ios xe embedded packet capture code#
On ASR9000 network processor microcode (in case of Tomahawk) and packet processing engine code (in case of Lightspeed) participate in the packet tracer framework. Packet tracing support by processes participating in the punt/inject path will be available in future IS XR releases. Support is available on 3rd, 4th and 5th generation line cards (aka Tomahawk, Lightspeed and Lightspeed Plus). In XR release 7.1.2 packet tracing is supported only in ASR9000 data-path. This flag in the internal packet header allows for the tracing of this packet on all elements in the data-path and punt-path inside the router.įor more details on the packet tracer architecture, refer to Appendix 1. If packet matches the condition, a flag is set in the internal packet header.

When packet tracing is enabled on an interface, the Network Processor (NP) checks whether received packets are matching the specified condition. Packet Tracer YouTube Demo Videoįor a quick overview of what you can expect from the XR Embedded Packet Tracer, watch this short video: XR Embedded Packet Tracer Framework Architecture Further development directions will depend much on your feedback. XR release 7.1.2 provides the very basic functionality that the packet tracer can deliver. Other XR product families will be supported in future. IOS XR Embedded Packet Tracer support starts with IOS XR release 7.1.2 and ASR 9000. This document is a user guide, with additional insight into the architecture of the XR Packet Tracer. IOS XR Embedded Packet Tracer is protocol agnostic, it works on any type of unicast or multicast packets. IOS XR Embedded Packet Tracer is a framework that provides the user with a capability to trace custom flows through the router, for service validation or troubleshooting purposes. Appendix 1: XR Embedded Packet Tracer Framework Architecture Details.XR Embedded Packet Tracer Restrictions And Limitations.Use Case 4: Processing Of ICMP Echo Requsts.Use Case 3: Packet Drops Outside Of NP Microcode.Use Case 2: Packet Drops In NP Microcode.Use Case 1: Tracing On A P Router In L2VPN.XR Embedded Packet Tracer Performance Considerations.Packet Tracer Conditions - Offset/Value/Mask.Clear Packet Tracer Counters And Conditions.XR Embedded Packet Tracer Framework Architecture.
