Networking > Troubleshooting & Monitoring > Packet Capture
set capture session
<session-number> interface <port-uuid-name>
direction <direction>
command.
If you don't specify a file, the output displays on the terminal.
Type Control-C to end the packet capture.
You can filter the capture using tcpdump expressions. The expression must be the last argument of the command.
Use the get capture sessions
command
to see all configured capture sessions.
Option | Description |
---|---|
<session-number> | Session ID argument in numbers |
<filename> | Capture file name Allowed pattern: ^[^/ *;&|]+$ |
<packet-count> | Packet count value greater than or equal to 1 |
<expression> | Packet capture expression Allowed pattern: ^.*$ |