Ethtool commands to turn auto-negotiation on or off
How to use the ethtool command to disable the auto-negotiation on Intel® Network Adapters
The ethtool –s command can be used to change the current settings by defining the values for “speed,” “duplex,” and “autoneg” in the following format:
sudo ethtool –s [device_name] speed [10/100/1000] duplex [half/full] autoneg [on/off]
Example
Set the speed for device eth0 at 1000Mb/s, the duplex mode to "full" and the auto-negotiation to "off" the command would be:
sudo ethtool –s eth0 speed 1000 duplex full autoneg off