04-05-2007 02:41 AM
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
04-05-2007 03:37 AM
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.
04-05-2007 04:34 AM
thanks a mill
Mick
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: