cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1359
Views
0
Helpful
2
Replies

Monitoring Port Traffic

darkbeatz
Level 1
Level 1

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

2 Replies 2

Craig Balfour
Level 1
Level 1

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.

thanks a mill

Mick

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: