Final answer:
Configure Port Security on the switch is the measure that can protect against MAC Flood and MAC Spoofing attacks by restricting the MAC addresses permitted on a switch port.
Step-by-step explanation:
The security measure that can specifically protect against both MAC Flood and MAC Spoofing attacks is Configure Port Security on the switch. Port Security allows a network administrator to restrict the MAC addresses that are allowed to communicate on a particular port of a switch. By limiting the number of MAC addresses and defining which MAC addresses are permitted, it can prevent unauthorized access to the network and ensure that even if a device is copied or impersonated, it cannot access the network unless its MAC address is authorized.