capture start time

Starts onboard packet capture at the configured time.

Syntax

capture start time value

Parameters

time value
Specifies the PCAP capture start time in format YYYY-MM-DD HH:MM. The Time must be inline with the system time in UTC format.

Modes

Exec mode

Usage Guidelines

This command is available only to users with the admin role.

Only one mirror session is allowed per port.

You must configure the interface before configuring packet capture.

A maximum of 10 mirror sessions per device are allowed.

Packet capture is not allowed if maximum PCAP files are already created.

When packet-count parameter is specified, the packet capture automatically stops on the interface after the specified number of packets are captured.

The maximum number of existing PCAP files cannot exceed 25.

The start and stop commands do not clear hardware entries.

Onboard packet capture is not persistent across reboot.

Examples

The following example starts, verifies, and stops packet capture.

device# capture start time 2024-07-23 13:00 
device# show capture packet config 
capture start 2024-07-23 13:00 (UTC)