Run a packet trace

Follow these steps to run a packet trace on Firewall Threat Defense.

Before you begin

  • You must have the Super Admin, Admin, or Edit Only role.

    Read-only users cannot upload PCAP files to the packet tracer. They can perform protocol-based packet tracing or use PCAP files uploaded by another user.

  • Uploaded PCAP files can contain up to 100 packets from one Ethernet connection or one VLAN-encapsulated TCP or UDP connection. The maximum file size is 1 MB. Only .pcap and .pcapng files are supported.

Procedure


Step 1

In Cloud-Delivered Firewall Management Center, choose Troubleshooting > Tools > Packet Tracer.

Step 2

Select the device where you want to run the trace.

Step 3

Select the ingress interface for the packet trace.

You cannot select a VTI as the ingress interface.

Step 4

To use a PCAP file, select Upload or edit a PCAP File.

You can upload a new file or select an existing file.

After you select a file, you can edit its filename, source and destination IP addresses and ports, and VLAN ID. For a transparent firewall, you can also edit the destination MAC address. To change the protocol, source type, or destination type, upload a new file.

Skip the next step and continue with optional trace settings.

Step 5

To configure the packet trace manually, select Use Protocol and complete these steps:

  1. Select a packet type from Protocol and specify its parameters:

    • ICMP: Source and destination addresses, type, code (0 to 255), and an optional ID (1 to 65535).

    • TCP, UDP, or SCTP: Source and destination addresses and required ports (0 to 65535).

    • GRE: GRE EtherType, outer-header source and destination addresses, and the inner-packet protocol and addresses.

    • IPIP: Outer-header source and destination addresses and the inner-packet protocol and addresses.

    • ESP: Source and destination addresses and the source Security Parameter Index (SPI) value (0 to 4294967295).

    • RAWIP: Source and destination addresses and ID/Next Header (0 to 255).

    Source and destination addresses can be IPv4 or IPv6. If you use Cisco TrustSec, you can also enter an FQDN. Available destination types depend on the selected source type.

  2. (Optional) To trace a packet where the Security Group Tag (SGT) value is embedded in the Layer 2 CMD header (TrustSec), enter a valid Inline Tag.

  3. To trace traffic that enters a parent interface and is redirected to a subinterface, enter a VLAN ID.

    This value is optional only for interfaces that are not subinterfaces because all interface types can be configured on a subinterface.

  4. Enter a Destination MAC Address according to these requirements:

    • Transparent firewall mode, VTEP ingress interface: Destination MAC address is required when you enter a VLAN ID.

    • Transparent firewall mode, bridge group member ingress interface: Destination MAC address is optional when you enter a VLAN ID and required when you do not.

    • Routed firewall mode, bridge group member ingress interface: Destination MAC address and VLAN ID are optional.

Step 6

(Optional) Select any of these options:

  • Bypass security checks for the simulated packet to ignore security checks. This option allows the packet to be traced even if the system would otherwise drop it.

  • Treat the simulated packet as an IPsec/SSL VPN-decrypted packet to treat the packet as decrypted VPN traffic.

  • Allow the simulated packet to transmit from the device to send the packet through the device's egress interface.

Step 7

Select Trace.

If you have unsaved PCAP file changes, the system prompts you to save them before the trace begins.


Trace Result displays results for each processing phase. Select a packet to view its trace results, which show the elapsed time for each phase and the total packet-processing time from the ingress interface to the egress interface.

Trace History stores details for up to 100 packet traces. You can run saved traces again, search for or delete them, clear the trace history, or stop saving traces.

The audit log records PCAP file saves, PCAP file uploads, and packet traces. To view these records, choose Events & Logs > Analysis > Audit Logs.