星期三, 5月 08, 2013

Linux 網卡定速方法

[root@cm-mysql etc]# ethtool eth0

Settings for eth0:

        Supported ports: [ TP ]

        Supported link modes:   10baseT/Half 10baseT/Full

                                100baseT/Half 100baseT/Full

                                1000baseT/Half 1000baseT/Full

        Supports auto-negotiation: Yes

        Advertised link modes:  10baseT/Half 10baseT/Full

                                100baseT/Half 100baseT/Full

                                1000baseT/Half 1000baseT/Full

        Advertised auto-negotiation: Yes

        Speed: 100Mb/s

        Duplex: Full

        Port: Twisted Pair

        PHYAD: 1

        Transceiver: internal

        Auto-negotiation: on

        Supports Wake-on: g

        Wake-on: g

        Current message level: 0x000000ff (255)

        Link detected: yes

[root@cm-mysql etc]# ethtool -s eth0 speed 100 duplex full autoneg off

[root@cm-mysql etc]# ethtool eth0

Settings for eth0:

        Supported ports: [ TP ]

        Supported link modes:   10baseT/Half 10baseT/Full

                                100baseT/Half 100baseT/Full

                                1000baseT/Half 1000baseT/Full

        Supports auto-negotiation: Yes

        Advertised link modes:  Not reported

        Advertised auto-negotiation: No

        Speed: 100Mb/s

        Duplex: Full

        Port: Twisted Pair

        PHYAD: 1

        Transceiver: internal

        Auto-negotiation: off

        Supports Wake-on: g

        Wake-on: g

        Current message level: 0x000000ff (255)

        Link detected: yes

[root@cm-mysql etc]#

 

沒有留言:

LinkWithin-相關文件

Related Posts Plugin for WordPress, Blogger...