05-06-2004 01:27 PM - edited 03-02-2019 03:31 PM
We plan to use a network monitoring tool to monitor packets on a 5505 catalyst switch. Somebody told me that I need to configure a port as a monitoring port and another port as a monitored port. How do I do this? is there any documentation that you can recommend for further reading. it will be use to monitor traffic activity from one PC to a server. Appreciate your help on this issue.
05-06-2004 01:43 PM
The command that you are looking for is "set span". If you issue the ? after it you will see the options available with it. Basically, you will want to define the source switchport(s) that you want to monitor and then specify the destination switchport where your monitoring tool will be connected. Also, if you are monitoring bi-directional traffic, don't forget to use the keyword "both" so that you see traffic sent and received on the port your are monitoring.
05-07-2004 08:17 AM
thanks for the quick response. When I did the command you suggested, I can' t ping the destination port. It seems like the destination port is disable because I can't ping anything from the PC where I have my monitoring tool installed (the pc is connected on the destination port). When I disable "set span", I could do the above. any suggestion?
05-07-2004 10:18 AM
In order to ping the device attached to the destination port you also need to include "inpkts enable" in your span definition. This allows the span destination port to be able to receive traffic from the device attached to the port instead of just being able to send traffic to it.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide