Switches

How to monitor network traffic through Cisco Nexus switches

Configure Cisco Nexus Switch

  1. Open a session on the switch
  2. Enter configure mode
    configure terminal
  3. Enter the configuration mode for the specified Ethernet interface you want to mirror to
    interface eth <port>
  4. Set the interface to monitor
    switchport monitor
  5. Exit back to configuration mode
    exit
  6. Configure the monitor
    monitor session <session number here>
  7. Configure the destination port
    destination interface ethernet <port>
  8. Configure the source port(s) or VLAN(s)
    source interface ethernet|vlan <port|vlan-id> both
  9. Exit back to configuration mode
    exit

Ensure you save your configuration once you have verified it is configured correctly