Skip to content

Add support for port mirroring #524

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    cn:dreamCommon Name: Dream ProjectenhancementNew feature or request

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions