Monitoring Port Traffic

Unanswered Question
Apr 5th, 2007

Good Morning!

If I want to plug a protocol analyzer in to a switch to analyze data passing through another port, what is the command to copy what?s happening on one port to the port I plug the analyzer in to.

thanks

Mick

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Craig Balfour Thu, 04/05/2007 - 03:37

You can use the span and rspan IOS commands to mirror traffic from one port to another. See http://www.cisco.com/en/US/products/ps6406/products_configuration_guide_chapter09186a00805fde07.html

for detailed information on configuring span and rspan.

The basic commands (on a Catalyst 2960) are:

no monitor session 1

monitor session 1 source interface gi0/1

monitor session 1 destination interface gi0/2 encapsulation replicate

This will mirror traffic from gi0/1 to gi0/2 on the same switch.

Actions

This Discussion