Ad Code

Responsive Advertisement

Ticker

6/recent/ticker-posts

How do I verify and change the speed of NIC on Linux?

Verify the speed of NIC on Linux?
"ethtool eth0 | grep Speed"

1. Turn off the automatic auto-negotiation setting of the network interface
ethtool -s eth0 autoneg off
ethtool -s eth1 autoneg off
2. Respecify the connection speed of the network interface as 1000Mb/s with Full Duplex, with the syntax as follows
ethtool -s eth0 speed 1000 duplex full
ethtool -s eth1 speed 1000 duplex full
 If you don't have the ethtool package on your computer, do "apt-get install ethtool" first























TS-482(SW) : 
en
config
interface range gi0/1-48
speed 1000