{"id":3858,"date":"2019-07-21T23:46:04","date_gmt":"2019-07-21T15:46:04","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=3858"},"modified":"2019-07-21T23:46:04","modified_gmt":"2019-07-21T15:46:04","slug":"mii-tool","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/mii-tool","title":{"rendered":"mii-tool\u547d\u4ee4 – \u7f51\u7edc\u8bbe\u5907\u534f\u5546\u5de5\u5177"},"content":{"rendered":"\n

mii-tool\u547d\u4ee4\u662f\u7528\u4e8e\u67e5\u770b\u3001\u7ba1\u7406\u4ecb\u8d28\u7684\u7f51\u7edc\u63a5\u53e3\u7684\u72b6\u6001\uff0c\u6709\u65f6\u7f51\u5361\u9700\u8981\u914d\u7f6e\u534f\u5546\u65b9\u5f0f\uff0c\u6bd4\u598210\/100\/1000M\u7684\u7f51\u5361\u534a\u53cc\u5de5\u3001\u5168\u53cc\u5de5\u3001\u81ea\u52a8\u534f\u5546\u7684\u914d\u7f6e\u3002<\/p>\n\n\n\n

\u4f46\u5927\u591a\u6570\u7684\u7f51\u7edc\u8bbe\u5907\u662f\u4e0d\u7528\u6211\u4eec\u6765\u4fee\u6539\u534f\u5546\uff0c\u56e0\u4e3a\u5927\u591a\u6570\u7f51\u7edc\u8bbe\u7f6e\u63a5\u5165\u7684\u65f6\u5019\uff0c\u90fd\u91c7\u7528\u81ea\u52a8\u534f\u5546\u6765\u89e3\u51b3\u76f8\u4e92\u901a\u4fe1\u7684\u95ee\u9898\u3002\u4e0d\u8fc7\u81ea\u52a8\u534f\u5546\u4e5f\u4e0d\u662f\u4e07\u80fd\u7684\uff0c\u6709\u65f6\u4e5f\u4f1a\u51fa\u73b0\u9519\u8bef\uff0c\u6bd4\u5982\u4e22\u5305\u7387\u6bd4\u8f83\u9ad8\uff0c\u8fd9\u65f6\u5c31\u8981\u6211\u4eec\u6765\u6307\u5b9a\u7f51\u5361\u7684\u534f\u5546\u65b9\u5f0f\u3002mii-tool\u5c31\u662f\u80fd\u6307\u5b9a\u7f51\u5361\u7684\u534f\u5546\u65b9\u5f0f\u3002\u4e0b\u9762\u6211\u4eec\u8bf4\u4e00\u8bf4mii-tool\u7684\u7528\u6cd5\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>mii-tool [\u53c2\u6570] [\u8bbe\u5907\u63a5\u53e3]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n
-v<\/td>\u663e\u793a\u7f51\u7edc\u63a5\u53e3\u7684\u4fe1\u606f<\/td><\/tr>
-R<\/td>\u91cd\u8bbeMII\u5230\u5f00\u542f\u72b6\u6001<\/td><\/tr>
-r<\/td>\u91cd\u542f\u81ea\u52a8\u534f\u5546\u6a21\u5f0f<\/td><\/tr>
-w<\/td>\u67e5\u770b\u7f51\u7edc\u63a5\u53e3\u8fde\u63a5\u7684\u72b6\u6001\u53d8\u5316<\/td><\/tr>
-l<\/td>\u5199\u5165\u4e8b\u4ef6\u5230\u7cfb\u7edf\u65e5\u5fd7<\/td><\/tr>
-A<\/td>\u6307\u4ee4\u7279\u5b9a\u7684\u7f51\u7edc\u63a5\u53e3<\/td><\/tr>
-F<\/td>\u66f4\u6539\u7f51\u7edc\u63a5\u53e3\u534f\u5546\u65b9\u5f0f<\/td><\/tr><\/tbody><\/table>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u67e5\u770b\u7f51\u7edc\u63a5\u53e3\u7684\u534f\u5546\u72b6\u6001\uff1a <\/p>\n\n\n\n

[root@linuxcool ~]# mii-tool -v eth0<\/pre>\n\n\n\n

\u4f7f\u7528-F\u53c2\u6570\u628a\u7f51\u7edc\u63a5\u53e3eth0\u6539\u4e3a1000Mb\/s\u5168\u53cc\u5de5\u7684\u6a21\u5f0f\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# mii-tool -F 100baseTx-FD<\/pre>\n\n\n\n

\u4f7f\u7528 -r \u91cd\u542f\u81ea\u52a8\u534f\u5546\u6a21\u5f0f\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# mii-tool -r eth0<\/pre>\n","protected":false},"excerpt":{"rendered":"

mii-tool\u547d\u4ee4\u662f\u7528\u4e8e\u67e5\u770b\u3001\u7ba1\u7406\u4ecb\u8d28\u7684\u7f51\u7edc\u63a5\u53e3\u7684\u72b6\u6001\uff0c\u6709\u65f6\u7f51\u5361\u9700\u8981\u914d\u7f6e\u534f\u5546\u65b9\u5f0f\uff0c\u6bd4\u598210\/100\/1000 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[6],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3858"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=3858"}],"version-history":[{"count":5,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3858\/revisions"}],"predecessor-version":[{"id":4082,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3858\/revisions\/4082"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=3858"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=3858"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=3858"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}