How to configure a "mirrored" or "spanned" port

#1
Can anyone help me this ,how to configure a "mirrored" or "spanned" port

Thanks :-o
 

Thermal

Registered Member
#2
goroso1 said:
Can anyone help me this ,how to configure a "mirrored" or "spanned" port

Thanks :-o
Is this for monitoring purposes on a switch?

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):
PHP:
interface Fa0/1
    port monitor vlan2
Hope this helps.
 
Last edited: