Welcome to the PopMalt Forums! Whether you're new to forums or a veteran, welcome to our humble home on the web! We're a 20-year old forum community with thousands of discussions on entertainment, lifestyle, leisure, and more.
Our rules are simple. Be nice and don't spam. Registration is free, so what are you waiting for? Join today!.
The basic concept is that frames can only be forwarded out a port according to the Hardware address table. The exception is that a frame is forwarded out of every port excepting the one it received the frame on when the destination hardware address is not in the table. This makes monitoring network traffic difficult. In order to monitor with a switch, you'll need to create a SPAN session that tells the switch to forward a copy to your computer.
The following will setup port 1 on a Cisco Switch to monitor Fa0/4:
PHP:
interface Fa0/1
port monitor Fa0/4
You can also setup a port (Fa0/1 in this case) to forward data destined to a particular VLAN (VLAN2 here):