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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Port span

Status
Not open for further replies.

gerbieIT

IS-IT--Management
Joined
Sep 23, 2003
Messages
197
Location
US
Does anyone know what the difference between Ingress and egress is?

Any help would be greatly apperciated!!
 
Hi

Ingress is the incoming data, so the ingress port would be monitored to see what data is coming in from an external device. The egress port is where data leaves the switch.

Inside the switch the processor takes data from an ingress queue, which is related to a port looks up where it is going to, and passes it to the appropriate egress queue, which is again related to a port.

So if you were looking at data coming from a PC on port 1, and going to a server on port 2, 1 would be ingress, 2 would be egress.

Hope that helps
EB
 
yes it does. Let me ask you this if you don't mind?

I need port 6 to read port 1. How would that look??

Thank you!!!!!!!!!
 
Gerbie

Try this:

conf t
monitor session 1 source interface fastethernet 0/6 rx
monitor session 1 destination interface fastethernet 0/1

That takes incoming (received) data, signified by 'rx', from port 6 and passes it to port 1. To see outgoing data replace 'rx' with 'tx', to see both, replace with 'both'

This assumes you have an IOS-based switch. for set-based switches like Cat 5000 see
The guide for 2950, which is typical of IOS-based switches is at
Happy reading
EB



"The most powerful command you will ever use is rtfm"
EB
 
Ok, Sorry for being slow but I need Port 6 to read the out going traffic on port1 (the traffic that is going to port 1 from the internal LAN needs to be read on port6). I hope that I am explaining this correctly.

Thank you for your help EB!!
 
OK

Try

conf t
monitor session 1 source interface fastethernet 0/1 rx
monitor session 1 destination interface fastethernet 0/6

This reads incoming (rx) traffic on port 1, and monitors it on port 6. You do this, then connect a PC on port 6 and you will see all that comes in to port 1.

If you want to read outgoing on port 1, and see it on port 6, then do:

conf t
monitor session 1 source interface fastethernet 0/1 tx
monitor session 1 destination interface fastethernet 0/6


To see all the traffic, both in and out of port 1, then do

conf t
monitor session 1 source interface fastethernet 0/1 both
monitor session 1 destination interface fastethernet 0/6


I hope that is what you want

EB
 
yes it!!

thanks you so very much!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top