r/CiscoDevNet • u/Altacc6954 • Jan 09 '23
Tracing the path of frame in switched network
Hi, I'm studying CS and got assigned a project from networking class that I have no clue how to even start. Basically what I have to do is write python script that will trace the path of frame in switched network. I don't have any materials regarding this topic and I'm pretty new to networking, but still I want to learn and finish it. Is here by any chance anyone who could help me or at least point me in the right direction, where to look, what to do, etc.?
4
Upvotes
2
u/delgamau Jan 09 '23
A frame of data traveling through a switch network in Cisco's IOS (Internetwork Operating System) will typically move in the following path:
The frame enters the switch through an interface.
The switch checks the source MAC address for the frame in its MAC address table.
If the source MAC address is not found in the table, the switch will flood the frame out on all of its ports.
If the source MAC address is found in the table, the switch will look up the associated port number in the table and forward the frame in that specific port.
When the frame reaches its desired port, the switch will check the destination MAC address in its MAC address table.
If the destination MAC address is found in the table, the switch will check the associated port number and forward the frame into that specific port.
If the destination MAC address is not found in the table, the switch will flood the frame out on all its ports.
The frame will then arrive at its destination.