Skip to content

Add support for port mirroring #524

@troglobit

Description

@troglobit

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 😎

CLI Proposal

If no YANG model exists (check first).

  • interface X9 monitor 0
  • monitor 0
    • source [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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions