Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Port Mirroring 2

Status
Not open for further replies.

chieftan

MIS
Joined
Dec 18, 2002
Messages
292
Location
GB
I think I know the answer to this question already, but I will ask in the hope that it can be achieved somehow:-

When port mirroring, can you mirror more than one port at a time?

Say I have 2 ports that I want to monitor, can I span them orn will I have to use 2 x Laptops and Mirror each port seperatly?

Thanks
 
I think you can yes.

As I recall the syntax on an IOS switch is something like:

monitor session 1 source interface Fa0/1 - 2

This should span fa0/1 and fa0/2
 
Additianally, you can add and subract ports from your monitor session.

mon ses 1 s int fa0/1
mon ses 1 d int fa0/48
=====
sh mon

Session 1
---------
Type : Local Session
Source Ports :
Both : Fa0/1
Destination Ports : Fa0/48
Encapsulation : Native
Ingress: Disabled

Then, monitor int fa0/2 also
with
mon ses 1 s int fa0/2
============
sh mon
Session 1
---------
Type : Local Session
Source Ports :
Both : Fa0/1-2
Destination Ports : Fa0/48
Encapsulation : Native
Ingress: Disabled
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top