How to monitor network traffic through Cisco IOS switches

Configure Catalyst IOS Switch

  1. Open a session on the switch
  2. Enter configure mode
    configure terminal
  3. Set the interface to monitor
    monitor session <session> source interface <interface>
    monitor session 1 source interface gigabitethernet5/1
  4. Configure the destination port to send the data to
    monitor session <session> destination interface <interface>
    monitor session 1 destination interface gigabitethernet5/48
  5. Exit back to configuration mode

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