Operational Commands
Capturing Mirror Traffic
After you configure mirroring to CPU by using the commands above, you can use the capture command to capture the mirror traffic.
Syntax:
capture mirror file <file_name> [start | stop]
Attribute | Value |
---|---|
<file_name> |
Name of the file where mirror traffic is captured |
Example 1: Starting and stopping mirror traffic to a file
root@rtbrick: cfg> capture mirror file test.pcap start root@rtbrick: cfg> capture mirror file test.pcap stop