Hello Sean
You make a very good point with your questions. If you have a situation where a single device will be receiving only one stream of UDP packets over an extended period of time, then yes, you would have a problem. And you are right, if this continued for over five minutes, the MAC address table entry would indeed expire, and the traffic would start being flooded. Having the MAC address table flushed continuously would simply make the problem even bigger.
The key here is in this statement:
The answer is yes. However, it is extremely rare that you would have a situation where a host will only receive data without sending a single frame over an extended period of time. Rene used the example of the backup, and you used the example of an IP camera, but these are two extreme examples that are highly unlikely but are used in order to describe the phenomenon.
In both of these situations, the backup device as well as the server receiving the IP camera feed will indeed have this unidirectional flow of data. However, these devices do have additional sessions that are taking place in which at least some frames will be sourced from them, allowing the switch to repopulate the MAC address table. If the phenomenon does take place, it will take place only for a few minutes.
In the unlikely event that you have such extreme cases, where a device simply receives data without sending any frames over an extended period of time, then the solution would be to enter a static MAC address table entry that never expires.
If we relied only on the multicast traffic, then you would be correct that after five minutes, the destination MAC of the receiving host would expire from the switchâs MAC address table, and would be flooded. HOwever, multicast uses IGMP to determine which hosts should receive which multicast streams. IGMP messages are periodically sent between multicast routers and multicast hosts, enabling a switch to renew the MAC address of the host in the MAC address table. Not only that, but IGMP snooping is a mechanism that continually updates the MAC address table with multicast MAC addresses which correspond to the ports where receivers are connected. So due to these mechanisms, the MAC address table is always up to date.
The bottom line is that over a period of five minutes, there is almost no chance that a network device will not send some frame so that the MAC address table can be updated. Over 15 seconds, however, this may be a problem and thatâs where PortFast can help in this phenomenonâŚ
I hope this has been helpful!
Laz