We found this command on enterprise switches tha allow you to send an aseptic copy of the traffic passing on a switch port. You can receive this “debug copy” on a passive port or remotely to a network analyzer
A network administrator configures the port mirror in many situations, including:
- Troubleshooting network issues
- Passive network probing
- Intrusion detection system
- MPLS tuning
# Huawei
observe-port 1 interface GigabitEthernet 0/0/1
#
interface GigabitEthernet0/0/1
description to SERVER-LX
port link-type access
port default vlan 9
port-mirroring to observe-port 1 inbound
port-mirroring to observe-port 1 outbound
#
# Cisco
monitor session 1 source interface fastethernet 0/10 both
monitor session 1 destination interface fastethernet 0/30
# Mikrotik
/interface ethernet switch
set switch1 mirror-source=ether4 mirror-target=ether5
enjoy
.glitchlist crew