for link up, you can use a script to disable it for a while (1mn?), to be sure the switch is "fully" Up. This script can be a Python process (15.7+) or CLI Scripting launched from autoexec.xsf, for example. If the script is static it's easy to do, if you need something more dynamic, and you know how to find what port should be disabled, that sounds doable without too many effort.