ethtool 可用网络接口端口

ethtool 可用网络接口端口
# ethtool eth0
Settings for eth0:
    Supported ports: [ TP MII ]
    Supported link modes:   10baseT/Half 10baseT/Full 
                            100baseT/Half 100baseT/Full 
    Supports auto-negotiation: Yes
    Advertised link modes:  10baseT/Half 10baseT/Full 
                            100baseT/Half 100baseT/Full 
    Advertised auto-negotiation: Yes
    Speed: 10Mb/s
    Duplex: Full
    Port: MII
    PHYAD: 4
    Transceiver: internal
    Auto-negotiation: on
    Current message level: 0x00000000 (0)
    Link detected: yes

问题是 TP 是什么意思?我发现 MII 表示媒体独立接口。另外,我想知道为什么我不能更改端口的值:

# ethtool -s eth0 port tp
Cannot set new settings: Invalid argument
  not setting port

答案1

意思是双绞线。电缆和端口以绞合方法命名,该方法利用金属的化学/机械特性来减少多条电缆之间的串扰和干扰。

相关内容