欢迎来到天天文库
浏览记录
ID:12741264
大小:16.47 KB
页数:4页
时间:2018-07-18
《solaris查看网卡工作状态和速度》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、solaris查看网卡工作状态和速度1.察看网卡相关参数ndd-get/dev/bge0察看当前参数的值比如"ndd-get/dev/bge0adv_autoneg_cap"察看solaris中的网卡自适应是否开启。如果不知道参数名称可以使用指令"ndd-get/dev/bge0/?"察看所有的参数,其中readonly的参数是不能修改的。2.修改网卡参数对应的就是ndd-set/dev/bge0。比如关闭自适应"ndd-set/dev/bge0adv_1000fdx_cap0",关闭后网卡会中断,那就需要
2、手工修改下面个参数"adv_1000fdx_cap,adv_1000hdx_cap,adv_100T4_cap,adv_100fdx_cap,adv_100hdx_cap,adv_10fdx_cap,adv_10hdx_cap",这些参数对应的就是1000/100/10M的速率和fdx/hdx全/半双工。还可以查看网络是否连通"ndd-get/dev/bge0link_status",当前网卡传输速率"ndd-get/dev/bge0link_speed"等。当然,网卡的传输速率还与交换机端口,网线规格是否支持等有关,设置的不
3、对网络就中断掉了。.ndd,在不重新启动系统与配置内核的情况下设置网络参数:用法:a)ndd/dev/hme?查看/dev/hme设备可以修改的参数b)ndd/dev/hmelink_speed查看这个参数现有的值c)ndd-set/dev/hmelink_speed1设置这个参数的值2)ndd可以修改的设备/dev/arp/dev/icmp/dev/tcp/dev/ip/dev/hme......3)ndd,实例:[root@sol01/]#ndd/dev/hme??
4、 (readonly)transceiver_inuse (readonly)link_status (readonly)link_speed (readonly)link_mode (readonly)ipg1 (readandwrite)ipg2 (readandwrite)use_int_xcvr
5、 (readandwrite)pace_size (readandwrite)adv_autoneg_cap (readandwrite)adv_100T4_cap (readandwrite)adv_100fdx_cap (readandwrite)adv_100hdx_cap (readandwrite)adv_10fdx_cap
6、 (readandwrite)adv_10hdx_cap (readandwrite)autoneg_cap (readonly)100T4_cap (readonly)100fdx_cap (readonly)100hdx_cap (readonly)10fdx_cap (readonly)10hdx_
7、cap (readonly)lp_autoneg_cap (readonly)lp_100T4_cap (readonly)lp_100fdx_cap (readonly)lp_100hdx_cap (readonly)lp_10fdx_cap (readonly)lp_10hdx_cap (readonly
8、)instance (readandwrite)lance_mode (readandwrite)ipg0 (readandwrite) ndd-set
此文档下载收益归作者所有