Port mirroring copies the traffic from one switch port to another so you can capture it with a network analyzer like Wireshark. Here I mirrored all traffic sent and received on port 0/48 of a Dell Force10 S50V switch to port 0/44 on the same switch.
Prepare the Destination Port
The destination port (0/44) doesn’t need to belong to any VLAN. It only needs no ip address and no shutdown configured.
Create the Monitor Session
enable
config
monitor session 0
source gigabitethernet 0/48 destination gigabitethernet 0/44 direction both
Mirroring a Port-Channel (LAG)
Once a link aggregation group is set up, you can mirror the whole port-channel instead by changing monitor session 0 to:
source port-channel 128 destination gigabitethernet 0/44 direction both
