Networking > Troubleshooting & Monitoring > Packet Capture
To run the packet capture using this configuration, use the
set capture session <session-number>
[file <filename>] [count <packet-count>]
[expression <expression>]
command.
If you need to capture packets from only one interface, you
can configure and run the packet capture with a single command:
start capture interface <interface-name>
[file <filename>] [count <packet-count>]
[expression <expression>]
.
Use the get capture sessions
command
to see all configured capture sessions.
Option | Description |
---|---|
<session-number> | Session ID argument in numbers |
<interface-name> | Network interface argument |
<capture-direction> | Packet capture direction parameter Allowed values: input, output, dual |