said by The12thMan :
Lets say I have a PC called PC5 for example. I have just unplugged PC5 from its switchport.
It is my understanding that as soon as a pc is unplugged from a switchport the mac address associated with that pc on that port is automatically and instantly removed. Is this true ?
Removed from what? MAC address table?
In general, there is a timeout of how long MAC addresses are kept in a switch's MAC address table. If the switch does not see further activity past the timeout, the MAC address will be off the table.
said by The12thMan :
I heard something about mac address age time on Cisco switches, what is this ?
That is pretty much the timeout control. Check out the following link for more info.
»
www.cisco.com/en/US/docs ··· p1085773said by The12thMan :
Can someone explain to me what happens or post some links for further info on this topic that is EASY for me to understand. LOL not like the Cisco webpage
That will be tough. These kind of things need some times to understand, not to mention a lot of hand-on times on actual equipments. In other words, no easy way. Good luck
said by The12thMan :
What happens now for example if say PC1 sends something like a ping request to PC5 (just after I unplugged PC 5)
Are these and possible answers and if so then why ?
A. switch0 floods it out all ports except the port it came in on.
B. switch0 removes the PC5 entry from the mac table
C. All hosts of Switch0 respond with a 'not found message'
D. switch0 sends out a FFFF-FFFF-FFFF broadcast.
In regards of IP traffic, there will be involvement of routing table, ARP table, and MAC-address table if there is a switch in place. In general, here is what could happen (depending on a lot of things)
1. PC1 checks its routing table to find out how to reach out to PC5 in terms of IP address
2. Assuming PC1 and PC5 are within the same broadcast domain, PC1 will check its ARP table to find out what MAC address of the associated PC5's IP address.
3. Once PC1 has PC5's MAC address, PC1 send data to the PC5'S MAC address.
4. Assuming both PC1 and PC5 connect to the same switch, the switch will check its MAC address table to find out which switch port the PC5 connects to.
5. If the PC5's MAC address listed in the switch MAC address table is not yet timed out, then the switch soon finds out which switch port the PC5 connects to and then forward the traffic from the PC1 to the PC5's switch port.
6. Since the PC5 is disconnected (off the switch), the switch traffic forward to the PC5's switch port receives no responses.
7. Such no response makes the PC1 send out FFFF-FFFF-FFFF broadcast. Depending on how sophisticated the switch is, it could be possible that the switch itself send out the FFFF-FFFF-FFFF broadcast on behalf of PC1
8. When the switch and/or PC1 still can't find where the PC5 is, the switch will remove PC5's MAC address off its MAC address table. Similarly, the PC1 removes PC5's MAC address and IP address off its ARP table.
To answer your question, I believe the possible answers are A, B, and D.