在linux下disable 网卡
disable eth0 网卡ifconfig eth0 downenable eth0 网卡ifconfig eth0 up以下可以查看网卡连接的状态及速度 [root@sdb1 ~]# ethtool eth0Settings for eth0: Supported ports: [ TP ] Supported link modes
disable eth0 网卡
ifconfig eth0 down
enable eth0 网卡
ifconfig eth0 up
以下可以查看网卡连接的状态及速度
[root@sdb1 ~]# ethtool eth0
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 1000baseT/Full
10000baseT/Full
Supports auto-negotiation: No
Advertised link modes: Not reported
Advertised auto-negotiation: No
Speed: 10000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: off
Supports Wake-on: uag
Wake-on: d
Link detected: yes
更多推荐
所有评论(0)