- 论坛徽章:
- 0
|
只用mii-tool设置网卡时,发现有一个-A选项,帮助信息如下所示。
# mii-tool --help
usage: mii-tool [-VvRrwl] [-A media,... | -F media] [interface ...]
-A, --advertise=media,... advertise only specified media
media: 100baseT4, 100baseTx-FD, 100baseTx-HD, 10baseT-FD, 10baseT-HD,
(to advertise both HD and FD) 100baseTx, 10baseT
看了以后,还是不太理解它实现的是什么功能?使用了这个命令后,也没有发现网卡前后有什么变化?
------------------
# mii-tool -A 10baseT-HD eth0
restarting autonegotiation...
#
# mii-tool -v eth0
eth0: negotiated 100baseTx-FD, link ok
product info: vendor 00:50:43, model 10 rev 2
basic mode: autonegotiation enabled
basic status: autonegotiation complete, link ok
capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
advertising: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
link partner: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD |
|