Linux常用命令ethtool怎么用
小编给大家分享一下Linux常用命令ethtool怎么用,希望大家阅读完这篇文章之后都有所收获,下面让我们一起去探讨吧!
Linux常用命令ethtool命令用于查询ethX网口基本设置、及设置网卡的参数
语法格式:ethtool [参数]
常用参数:
例1
[root@redhat~]#ethtooleth2#查询eth2网口基本设置[root@redhat~]#ethtool-ieth2#查询eth2网口相关信息[root@redhat~]#ethtool-Seth2#查询eth2网口收发包统计[root@redhat~]#ethtool-seth2autonegoffspeed100duplexfull#设置eth2网口速率
例2
root@c:~#ethtool-kbr-prv#显示网卡详细信息Featuresforbr-prv:Cannotgetdeviceudp-fragmentation-offloadsettings:Operationnotsupportedrx-checksumming:off[fixed]tx-checksumming:ontx-checksum-ipv4:off[fixed]tx-checksum-ip-generic:ontx-checksum-ipv6:off[fixed]tx-checksum-fcoe-crc:off[fixed]tx-checksum-sctp:off[fixed]scatter-gather:ontx-scatter-gather:ontx-scatter-gather-fraglist:ontcp-segmentation-offload:ontx-tcp-segmentation:ontx-tcp-ecn-segmentation:ontx-tcp-mangleid-segmentation:ontx-tcp6-segmentation:onudp-fragmentation-offload:offgeneric-segmentation-offload:ongeneric-receive-offload:onlarge-receive-offload:off[fixed]rx-vlan-offload:off[fixed]tx-vlan-offload:onntuple-filters:off[fixed]receive-hashing:off[fixed]highdma:onrx-vlan-filter:off[fixed]vlan-challenged:off[fixed]tx-lockless:on[fixed]netns-local:off[fixed]tx-gso-robust:off[fixed]tx-fcoe-segmentation:off[fixed]tx-gre-segmentation:ontx-gre-csum-segmentation:ontx-ipxip4-segmentation:ontx-ipxip6-segmentation:ontx-udp_tnl-segmentation:ontx-udp_tnl-csum-segmentation:ontx-gso-partial:off[fixed]tx-sctp-segmentation:ontx-esp-segmentation:off[fixed]fcoe-mtu:off[fixed]tx-nocache-copy:offloopback:off[fixed]rx-fcs:off[fixed]rx-all:off[fixed]tx-vlan-stag-hw-insert:onrx-vlan-stag-hw-parse:off[fixed]rx-vlan-stag-filter:off[fixed]l2-fwd-offload:off[fixed]hw-tc-offload:off[fixed]esp-hw-offload:off[fixed]esp-tx-csum-hw-offload:off[fixed]rx-udp_tunnel-port-offload:off[fixed]
看完了这篇文章,相信你对“Linux常用命令ethtool怎么用”有了一定的了解,如果想了解更多相关知识,欢迎关注亿速云行业资讯频道,感谢各位的阅读!
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。