Skip to content

Conversation

@logicog
Copy link
Owner

@logicog logicog commented Oct 29, 2025

This adds a "mirror status" and "mirror off" cli command.
It also adds configuration support for mirroring through the web-interface.

> mirror 1 2 3r 4t
port_mirror_set called 
Mirroring port: 04 with rx-mask: 0x0060, tx mask: 0x00a0

> mirror status
Enabled: Mirroring port: 1, Port mask RX: 0x0060, Port mask TX: 0x00a0

> mirror off
port_mirror_del called 

> mirror status
NOT Enabled: Mirroring port: 0, Port mask RX: 0x0060, Port mask TX: 0x00a0

> mirror 2 3 4
port_mirror_set called 
Mirroring port: 05 with rx-mask: 0x00c0, tx mask: 0x00c0

> mirror status
Enabled: Mirroring port: 2, Port mask RX: 0x00c0, Port mask TX: 0x00c0

@vDorst vDorst merged commit 1d6f0a2 into main Oct 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants