Mirroring
Mirroring
Configure Cisco Nexus Switch
Open a session on the switch
Enter configure mode.
configure terminal
Enter the configuration mode for the specified ethernet interface you want to mirror to.
interface eth <port>
Set the interface to monitor
switchport monitor
Exit back to configuration mode
exit
Configure the monitor
monitor session <session number here>
Configure the destination port
destination interface ethernet <port>
Configure the source port(s) or VLAN(s)
source interface ethernet|vlan <port|vlan-id> both
Exit back to configuration mode
exit
Once you have verified that your configuration is correct, make sure to save it.