In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article will explain in detail about the use of linux's ethtool command to query and set network card parameters. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.
The ethtool command is used to query the basic settings of the ethX network port and to set the parameters of the network card.
Syntax format: ethtool [parameters]
Common parameters:
-I display the information driven by the network card-E modify the network card read-only memory bytes-K modify the status of the network card Offload query the basic settings of the ethx network port, where x is the number of the corresponding network card, such as eth0, eth2, etc.-s modify part of the configuration of the network card-t let the network card perform self-detection
Reference example
Query the basic settings of the network port:
[root@linuxcool ~] # ethtool eth0
Query the driver information of the network port:
[root@linuxcool ~] # ethtool-I eth0 driver: e1000version: 7.3.21-k8-NAPIfirmware-version:
Set the way the network port works:
[root@linuxcool ~] # ethtool-s eth0 autoneg off speed 100 duplex full [root@linuxcool ~] # ethtool eth0
Check the network card to see if there are any errors when receiving / sending data:
[root@linuxcool] # ethtool-S eth0
Stop the sending module TX of the network card:
[root@linuxcool ~] # ethtool-A tx off eth0 on using linux's ethtool command to query and set Nic parameters is shared here. I hope the above content can be helpful to you and learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.