描述:
Ethtool是用于查询及设置网卡参数的命令。
概要:
ethtool ethX
ethtool –h
ethtool –i ethX
ethtool –d ethX
ethtool –r ethX
ethtool –S ethX
ethtool –s ethX [speed 10|100|1000]/
[duplex half|full]/
[autoneg on|off]/
[port tp|aui|bnc|mii]/
[phyad N]/
[xcvr internal|exteral]/
[wol p|u|m|b|a|g|s|d...]/
[sopass xx:yy:zz:aa:bb:cc]/
[msglvl N]
举例:
1)[root@linux /]# ethtool eth1
2)[root@linux /]# ethtool -i eth1
3)[root@linux /]# ethtool -S eth1