Complex sentence: You can also set the policy that if a port gets too many MAC addresses, the default is to shut the port down, and write a log.
Split into simpler sentences: You can also set the policy if that port gets too many MAC addresses. The default is to shut the port down, and write a log.