Switches

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>
    Example:
    monitor session 1 source interface gigabitethernet5/1
  4. Configure the destination port to send the data to
    monitor session <session> destination interface <interface>
    Example:
    monitor session 1 destination interface gigabitethernet5/48
  5. Exit back to configuration mode
    exit

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