question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add option for port mirroring

See original GitHub issue

Enhancement summary

Currently the only way to achieve port mirroring is by using the eos_raw_cli option in eos_designs, it would be nice if it had a dedicated option inside connected_endpoints.adapters

Which component of AVD is impacted

eos_designs, eos_cli_config_gen

Use case example

Port mirroring is useful for monitoring and network probes.

Describe the solution you would like

Something similar to this :

servers:
  server1:
    adapters:
      - switch_ports: [Ethernet1]
        server_ports: [eth0]
        switches: [switch1]
        sessions:
           - name: 1
             type: source
             direction: tx

that would grab the interface/s from the switch_ports or port_channel, if one is defined, and assign it with the specified session. This would be generated in EOS as:

monitor session 1 source Ethernet1 tx

Describe alternatives you have considered

No response

Additional context

No response

Contributing Guide

  • I agree to follow this project’s Code of Conduct

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ccsnwcommented, Jan 28, 2022

will do! just give me some time, have a couple of other things to finish first

0reactions
ClausHolbechAristacommented, Jan 28, 2022

#1435 only resolves the eos_cli_config_gen part of the issue. The eos_designs implementation is still missing.

Sorry I missed that. Reopened and I hope @ccsnw will take it on. Ping me if you need help.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Configuring Port Mirroring
Port mirroring selects network traffic from specific ports for analysis by a network analyzer, while allowing the same traffic to be switched to...
Read more >
Port Mirroring Explained: Basis, Configuration & FAQs
How to Configure Port Mirroring? · 1. Create a VLAN. · 2. Add the source port and destination port to VLAN. · 3....
Read more >
Add a Port Mirroring Session - VMware Docs
Port mirroring allows you to copy all network packets or specific packets that are seen on the segment ... Available options are TCP,...
Read more >
How-to Guide for Configuring Port Mirroring/SPAN Ports
The Add Port/VLAN Mirroring page opens. Step 3: Enter the parameters: Destination Port: Select the port where your machine running SparrowIQ is connected....
Read more >
Configure Port Mirroring when deploying Microsoft Defender ...
Supported port mirroring options ... * ERSPAN is only supported when decapsulation is performed before the traffic is analyzed by Defender for ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found