Capturing in the presence of switches and routers

Many vendor's switches support a feature known as "port spanning" or "port mirroring" in which all of the traffic to and from port A are also sent out port B. An excellent reference on the "port spanning" feature of Cisco switches can be found at Configuring the Catalyst Switched Port Analyzer (SPAN) Feature