infix
infix copied to clipboard
Add support for port mirroring
Description
- Mirror destination port (monitor port)
- Mirror source port(s)
- Only do what's easy and already available in kernel, incl. DSA driver
- At least one tuple of (dest, source port(s)).
For syntax, see tc mirred
Note: prepare (emotionally) for CPU as destination port. Coming in second release when we do capture of external traffic to SD card :sunglasses:
CLI Proposal
If no YANG model exists (check first).
interface X9 monitor 0monitor 0source [interfaces]
Limitation: The monitor port is a "choice" so it cannot at the same time be a bridge or lag port.
General Information
Anyone can help out by sponsoring development of new features or contributing pull requests. Please use this issue for discussions related to the feature.