Port Mirroring

Port mirroring allows you to plug a laptop/pc into a switchport that mirrors the traffic on another port. This allows you to use a utility such as Wireshark to analyze the problem.

In this case I am troubleshooting a server plugged into interface 6/1 and plugging my laptop/monitoring tool into 3/1.

monitor session 2 source int Gi6/1 both
monitor session 2 destination int Gi3/1
int gi3/1
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate 
no shut
Port Mirroring

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s